]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
e8c02bc2abc884ed6d9ab97927b31217d6d4addc
[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         Bullet.C \
17         Bullet.h \
18         Chktex.C \
19         Chktex.h \
20         DepTable.C \
21         DepTable.h \
22         FontInfo.C \
23         FontInfo.h \
24         FontLoader.C \
25         FontLoader.h \
26         ImportLaTeX.C \
27         ImportLaTeX.h \
28         ImportNoweb.C \
29         ImportNoweb.h \
30         LString.h \
31         LaTeX.C \
32         LaTeX.h \
33         LaTeXFeatures.C \
34         LaTeXFeatures.h \
35         LaTeXLog.C \
36         Literate.C \
37         Literate.h \
38         LyXAction.C \
39         LyXAction.h \
40         LyXSendto.C \
41         LyXView.C \
42         LyXView.h \
43         Makefile.in \
44         PaperLayout.C \
45         ParagraphExtra.C \
46         Spacing.C \
47         Spacing.h \
48         TableLayout.C \
49         bibforms.h \
50         bmtable.c \
51         bmtable.h \
52         broken_headers.h \
53         buffer.C \
54         buffer.h \
55         bufferlist.C \
56         bufferlist.h \
57         bufferparams.C \
58         bufferparams.h \
59         bullet_forms.C \
60         bullet_forms.h \
61         bullet_forms_cb.C \
62         chset.C \
63         chset.h \
64         combox.C \
65         combox.h \
66         commandtags.h \
67         config.h.in \
68         credits.C \
69         credits.h \
70         credits_form.C \
71         credits_form.h \
72         debug.C \
73         debug.h \
74         figure.h \
75         filedlg.C \
76         filedlg.h \
77         form1.C \
78         form1.h \
79         gettext.h \
80         include_form.h \
81         intl.C \
82         intl.h \
83         kbmap.C \
84         kbmap.h \
85         lastfiles.C \
86         lastfiles.h \
87         latexoptions.C \
88         latexoptions.h \
89         layout.C \
90         layout.h \
91         layout_forms.C \
92         layout_forms.h \
93         lyx.C \
94         lyx.h \
95         lyx_cb.C \
96         lyx_cb.h \
97         lyx_gui.C \
98         lyx_gui.h \
99         lyx_gui_misc.C \
100         lyx_gui_misc.h \
101         lyx_main.C \
102         lyx_main.h \
103         lyx_sendfax.C \
104         lyx_sendfax.h \
105         lyx_sendfax_main.C \
106         lyx_sty.C \
107         lyx_sty.h \
108         lyxcursor.h \
109         lyxdraw.C \
110         lyxdraw.h \
111         lyxfont.C \
112         lyxfont.h \
113         lyxfr0.C \
114         lyxfr0.h \
115         lyxfr1.C \
116         lyxfr1.h \
117         lyxfunc.C \
118         lyxfunc.h \
119         lyxlex.C \
120         lyxlex.h \
121         lyxlookup.C \
122         lyxlookup.h \
123         lyxparagraph.h \
124         lyxrc.C \
125         lyxrc.h \
126         lyxrow.h \
127         lyxscreen.h \
128         lyxserver.C \
129         lyxserver.h \
130         lyxtext.h \
131         lyxvc.C \
132         lyxvc.h \
133         main.C \
134         menus.C \
135         menus.h \
136         minibuffer.C \
137         minibuffer.h \
138         nt_defines.h \
139         os2_defines.h \
140         os2_errortable.h \
141         paragraph.C \
142         print_form.C \
143         print_form.h \
144         screen.C \
145         sp_form.C \
146         sp_form.h \
147         spellchecker.C \
148         spellchecker.h \
149         stl_string_fwd.h \
150         table.C \
151         table.h \
152         tex-accent.C \
153         tex-accent.h \
154         tex-defs.h \
155         tex-strings.C \
156         tex-strings.h \
157         texoptions.C \
158         texrow.C \
159         texrow.h \
160         text.C \
161         text2.C \
162         toolbar.C \
163         toolbar.h \
164         trans.C \
165         trans.h \
166         trans_decl.h \
167         trans_mgr.C \
168         trans_mgr.h \
169         undo.C \
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 support/FileInfo.h lastfiles.h intl.h \
181         lyxserver.h layout.h gettext.h
182         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
183           -DTOP_SRCDIR=\"$(top_srcdir)\" -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) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
187
188 dist-hook:
189         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`