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