]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
162053e1eaf6aaf5fe4280a1f748b554820b598f
[lyx.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 SUBDIRS = mathed insets graphics support frontends
3 DISTCLEANFILES= *.orig *.rej *~ *.bak core libintl.h config.h
4 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/config.h.in
5 bin_PROGRAMS = lyx
6 ## libfrontends is given twice on the link line because it needs stuff
7 ## from FRONTEND_GUILIB and inversely. If you do not like it, feel
8 ## free to provide another solution... Maybe signals would solve that
9 ## magically, but I do not understand them much (JMarc)
10 lyx_DEPENDENCIES = mathed/libmathed.la insets/libinsets.la \
11         graphics/libgraphics.la \
12         frontends/libfrontends.la @FRONTEND_GUILIB@ \
13         frontends/libfrontends.la support/libsupport.la @INCLUDED_SIGC@
14 lyx_LDADD = $(lyx_DEPENDENCIES) @INTLLIBS@ $(LYX_LIBS) $(SIGC_LIBS) \
15         $(PSPELL_LIBS) @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
16 #lyx_LDFLAGS=-Wl,-O1
17 EXTRA_DIST = config.h.in stamp-h.in cheaders
18 ETAGS_ARGS = --lang=c++
19 BOOST_INCLUDES = -I$(top_srcdir)/boost
20 INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES) @FRONTEND_INCLUDES@
21 localedir = $(datadir)/locale
22 lyx_SOURCES = \
23         BackStack.h \
24         BufferView.C \
25         BufferView.h \
26         BufferView2.C \
27         BufferView_pimpl.C \
28         BufferView_pimpl.h \
29         Bullet.C \
30         Bullet.h \
31         Chktex.C \
32         Chktex.h \
33         ColorHandler.C \
34         ColorHandler.h \
35         CutAndPaste.C \
36         CutAndPaste.h \
37         DepTable.C \
38         DepTable.h \
39         FloatList.C \
40         FloatList.h \
41         Floating.h \
42         FontInfo.C \
43         FontInfo.h \
44         FontLoader.C \
45         FontLoader.h \
46         ImportLaTeX.C \
47         ImportLaTeX.h \
48         ImportNoweb.C \
49         ImportNoweb.h \
50         LColor.C \
51         LColor.h \
52         LString.h \
53         LaTeX.C \
54         LaTeX.h \
55         LaTeXFeatures.C \
56         LaTeXFeatures.h \
57         LaTeXLog.C \
58         Lsstream.h \
59         LyXAction.C \
60         LyXAction.h \
61         LyXSendto.C \
62         LyXView.C \
63         LyXView.h \
64         Makefile.in \
65         MenuBackend.C \
66         MenuBackend.h \
67         Painter.C \
68         Painter.h \
69         PainterBase.C \
70         PainterBase.h \
71         PrinterParams.h \
72         Sectioning.h \
73         Sectioning.C \
74         Spacing.C \
75         Spacing.h \
76         TextCache.C \
77         TextCache.h \
78         Timeout.C \
79         Timeout.h \
80         ToolbarDefaults.C \
81         ToolbarDefaults.h \
82         UpdateInset.C \
83         UpdateInset.h \
84         Variables.C \
85         Variables.h \
86         WorkArea.C \
87         WorkArea.h \
88         bibforms.h \
89         bmtable.c \
90         bmtable.h \
91         broken_headers.h \
92         buffer.C \
93         buffer.h \
94         bufferlist.C \
95         bufferlist.h \
96         bufferparams.C \
97         bufferparams.h \
98         bufferview_funcs.C \
99         bufferview_funcs.h \
100         chset.C \
101         chset.h \
102         combox.C \
103         combox.h \
104         commandtags.h \
105         config.h.in \
106         converter.C \
107         converter.h \
108         counters.C \
109         counters.h \
110         credits.C \
111         credits.h \
112         credits_form.C \
113         credits_form.h \
114         debug.C \
115         debug.h \
116         encoding.C \
117         encoding.h \
118         exporter.C \
119         exporter.h \
120         ext_l10n.h \
121         figure.h \
122         filedlg.C \
123         filedlg.h \
124         font.C \
125         font.h \
126         form1.C \
127         form1.h \
128         gettext.C \
129         gettext.h \
130         include_form.h \
131         intl.C \
132         intl.h \
133         kbmap.C \
134         kbmap.h \
135         kbsequence.C \
136         kbsequence.h \
137         language.C \
138         language.h \
139         lastfiles.C \
140         lastfiles.h \
141         layout.C \
142         layout.h \
143         layout_forms.C \
144         layout_forms.h \
145         log_form.C \
146         log_form.h \
147         lyx.C \
148         lyx.h \
149         lyx_cb.C \
150         lyx_cb.h \
151         lyx_gui.C \
152         lyx_gui.h \
153         lyx_gui_misc.C \
154         lyx_gui_misc.h \
155         lyx_main.C \
156         lyx_main.h \
157         lyx_sendfax.C \
158         lyx_sendfax.h \
159         lyx_sendfax_main.C \
160         lyx_sty.C \
161         lyx_sty.h \
162         lyxcursor.C \
163         lyxcursor.h \
164         lyxfont.C \
165         lyxfont.h \
166         lyxfr0.C \
167         lyxfr0.h \
168         lyxfr1.C \
169         lyxfr1.h \
170         lyxfunc.C \
171         lyxfunc.h \
172         lyxlex.C \
173         lyxlex.h \
174         lyxlex_pimpl.C \
175         lyxlex_pimpl.h \
176         lyxlookup.C \
177         lyxlookup.h \
178         lyxparagraph.h \
179         lyxrc.C \
180         lyxrc.h \
181         lyxrow.C \
182         lyxrow.h \
183         lyxscreen.h \
184         lyxserver.C \
185         lyxserver.h \
186         lyxtext.h \
187         lyxvc.C \
188         lyxvc.h \
189         main.C \
190         minibuffer.C \
191         minibuffer.h \
192         nt_defines.h \
193         os2_defines.h \
194         os2_errortable.h \
195         paragraph.C \
196         print_form.C \
197         print_form.h \
198         screen.C \
199         sp_form.C \
200         sp_form.h \
201         spellchecker.C \
202         spellchecker.h \
203         stl_string_fwd.h \
204         tabular.C \
205         tabular.h \
206         tex-accent.C \
207         tex-accent.h \
208         tex-defs.h \
209         tex-strings.C \
210         tex-strings.h \
211         texrow.C \
212         texrow.h \
213         text.C \
214         text2.C \
215         tracer.C \
216         tracer.h \
217         trans.C \
218         trans.h \
219         trans_decl.h \
220         trans_mgr.C \
221         trans_mgr.h \
222         undo.C \
223         undo.h \
224         vc-backend.C \
225         vc-backend.h \
226         version.h \
227         vms_defines.h \
228         vspace.C \
229         vspace.h
230
231 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
232         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
233         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
234         lyxserver.h layout.h gettext.h kbmap.h 
235         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
236           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
237
238 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
239         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
240
241 dist-hook:
242         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`