]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
6a9afa79c65cec6a59418f1d365add15124925c8
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets support
3 DISTCLEANFILES = libintl.h config.h
4 MAINTAINERCLEANFILES = Makefile.in config.h.in
5 bin_PROGRAMS = lyx
6 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la support/libsupport.la
7 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS)
8 EXTRA_DIST = config.h.in stamp-h.in cheaders
9 ETAGS_ARGS = --c++
10 INCLUDES = -I${top_srcdir}/images
11 localedir = $(datadir)/locale
12 lyx_SOURCES = \
13         BackStack.h \
14         BufferView.C \
15         BufferView.h \
16         BufferView2.C \
17         Bullet.C \
18         Bullet.h \
19         Chktex.C \
20         Chktex.h \
21         DepTable.C \
22         DepTable.h \
23         FontInfo.C \
24         FontInfo.h \
25         FontLoader.C \
26         FontLoader.h \
27         ImportLaTeX.C \
28         ImportLaTeX.h \
29         ImportNoweb.C \
30         ImportNoweb.h \
31         LColor.C \
32         LColor.h \
33         LString.h \
34         LaTeX.C \
35         LaTeX.h \
36         LaTeXFeatures.C \
37         LaTeXFeatures.h \
38         LaTeXLog.C \
39         Literate.C \
40         Literate.h \
41         LyXAction.C \
42         LyXAction.h \
43         LyXSendto.C \
44         LyXView.C \
45         LyXView.h \
46         Makefile.in \
47         Painter.C \
48         Painter.h \
49         PainterBase.C \
50         PainterBase.h \
51         PaperLayout.C \
52         ParagraphExtra.C \
53         Spacing.C \
54         Spacing.h \
55         TableLayout.C \
56         TextCache.C \
57         TextCache.h \
58         UpdateInset.C \
59         UpdateInset.h \
60         WorkArea.C \
61         WorkArea.h \
62         bibforms.h \
63         bmtable.c \
64         bmtable.h \
65         broken_headers.h \
66         buffer.C \
67         buffer.h \
68         bufferlist.C \
69         bufferlist.h \
70         bufferparams.C \
71         bufferparams.h \
72         bullet_forms.C \
73         bullet_forms.h \
74         bullet_forms_cb.C \
75         chset.C \
76         chset.h \
77         combox.C \
78         combox.h \
79         commandtags.h \
80         config.h.in \
81         credits.C \
82         credits.h \
83         credits_form.C \
84         credits_form.h \
85         debug.C \
86         debug.h \
87         direction.h \
88         figure.h \
89         filedlg.C \
90         filedlg.h \
91         form1.C \
92         form1.h \
93         gettext.h \
94         include_form.h \
95         intl.C \
96         intl.h \
97         kbmap.C \
98         kbmap.h \
99         kbsequence.C \
100         kbsequence.h \
101         lastfiles.C \
102         lastfiles.h \
103         latexoptions.C \
104         latexoptions.h \
105         layout.C \
106         layout.h \
107         layout_forms.C \
108         layout_forms.h \
109         lyx.C \
110         lyx.h \
111         lyx_cb.C \
112         lyx_cb.h \
113         lyx_gui.C \
114         lyx_gui.h \
115         lyx_gui_misc.C \
116         lyx_gui_misc.h \
117         lyx_main.C \
118         lyx_main.h \
119         lyx_sendfax.C \
120         lyx_sendfax.h \
121         lyx_sendfax_main.C \
122         lyx_sty.C \
123         lyx_sty.h \
124         lyxcursor.h \
125         lyxfont.C \
126         lyxfont.h \
127         lyxfr0.C \
128         lyxfr0.h \
129         lyxfr1.C \
130         lyxfr1.h \
131         lyxfunc.C \
132         lyxfunc.h \
133         lyxlex.C \
134         lyxlex.h \
135         lyxlookup.C \
136         lyxlookup.h \
137         lyxparagraph.h \
138         lyxrc.C \
139         lyxrc.h \
140         lyxrow.h \
141         lyxscreen.h \
142         lyxserver.C \
143         lyxserver.h \
144         lyxtext.h \
145         lyxvc.C \
146         lyxvc.h \
147         main.C \
148         menus.C \
149         menus.h \
150         minibuffer.C \
151         minibuffer.h \
152         nt_defines.h \
153         os2_defines.h \
154         os2_errortable.h \
155         paragraph.C \
156         print_form.C \
157         print_form.h \
158         screen.C \
159         sp_form.C \
160         sp_form.h \
161         spellchecker.C \
162         spellchecker.h \
163         stl_string_fwd.h \
164         table.C \
165         table.h \
166         tex-accent.C \
167         tex-accent.h \
168         tex-defs.h \
169         tex-strings.C \
170         tex-strings.h \
171         texoptions.C \
172         texrow.C \
173         texrow.h \
174         text.C \
175         text2.C \
176         toolbar.C \
177         toolbar.h \
178         trans.C \
179         trans.h \
180         trans_decl.h \
181         trans_mgr.C \
182         trans_mgr.h \
183         undo.C \
184         undo.h \
185         vc-backend.C \
186         vc-backend.h \
187         version.h \
188         vms_defines.h \
189         vspace.C \
190         vspace.h
191
192 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
193         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
194         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
195         lyxserver.h layout.h gettext.h kbmap.h
196         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
197           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
198
199 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
200         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
201
202 dist-hook:
203         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`