]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
small patch from Dekel, begin introducing the real boost framework, get rid of the...
[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         Literate.C \
59         Literate.h \
60         Lsstream.h \
61         LyXAction.C \
62         LyXAction.h \
63         LyXSendto.C \
64         LyXView.C \
65         LyXView.h \
66         Makefile.in \
67         MenuBackend.C \
68         MenuBackend.h \
69         Painter.C \
70         Painter.h \
71         PainterBase.C \
72         PainterBase.h \
73         PrinterParams.h \
74         Sectioning.h \
75         Sectioning.C \
76         Spacing.C \
77         Spacing.h \
78         TextCache.C \
79         TextCache.h \
80         Timeout.C \
81         Timeout.h \
82         ToolbarDefaults.C \
83         ToolbarDefaults.h \
84         UpdateInset.C \
85         UpdateInset.h \
86         Variables.C \
87         Variables.h \
88         WorkArea.C \
89         WorkArea.h \
90         bibforms.h \
91         bmtable.c \
92         bmtable.h \
93         broken_headers.h \
94         buffer.C \
95         buffer.h \
96         bufferlist.C \
97         bufferlist.h \
98         bufferparams.C \
99         bufferparams.h \
100         bufferview_funcs.C \
101         bufferview_funcs.h \
102         chset.C \
103         chset.h \
104         combox.C \
105         combox.h \
106         commandtags.h \
107         config.h.in \
108         converter.C \
109         converter.h \
110         counters.C \
111         counters.h \
112         credits.C \
113         credits.h \
114         credits_form.C \
115         credits_form.h \
116         debug.C \
117         debug.h \
118         encoding.C \
119         encoding.h \
120         exporter.C \
121         exporter.h \
122         ext_l10n.h \
123         figure.h \
124         filedlg.C \
125         filedlg.h \
126         font.C \
127         font.h \
128         form1.C \
129         form1.h \
130         gettext.h \
131         include_form.h \
132         intl.C \
133         intl.h \
134         kbmap.C \
135         kbmap.h \
136         kbsequence.C \
137         kbsequence.h \
138         language.C \
139         language.h \
140         lastfiles.C \
141         lastfiles.h \
142         layout.C \
143         layout.h \
144         layout_forms.C \
145         layout_forms.h \
146         log_form.C \
147         log_form.h \
148         lyx.C \
149         lyx.h \
150         lyx_cb.C \
151         lyx_cb.h \
152         lyx_gui.C \
153         lyx_gui.h \
154         lyx_gui_misc.C \
155         lyx_gui_misc.h \
156         lyx_main.C \
157         lyx_main.h \
158         lyx_sendfax.C \
159         lyx_sendfax.h \
160         lyx_sendfax_main.C \
161         lyx_sty.C \
162         lyx_sty.h \
163         lyxcursor.C \
164         lyxcursor.h \
165         lyxfont.C \
166         lyxfont.h \
167         lyxfr0.C \
168         lyxfr0.h \
169         lyxfr1.C \
170         lyxfr1.h \
171         lyxfunc.C \
172         lyxfunc.h \
173         lyxlex.C \
174         lyxlex.h \
175         lyxlex_pimpl.C \
176         lyxlex_pimpl.h \
177         lyxlookup.C \
178         lyxlookup.h \
179         lyxparagraph.h \
180         lyxrc.C \
181         lyxrc.h \
182         lyxrow.C \
183         lyxrow.h \
184         lyxscreen.h \
185         lyxserver.C \
186         lyxserver.h \
187         lyxtext.h \
188         lyxvc.C \
189         lyxvc.h \
190         main.C \
191         minibuffer.C \
192         minibuffer.h \
193         nt_defines.h \
194         os2_defines.h \
195         os2_errortable.h \
196         paragraph.C \
197         print_form.C \
198         print_form.h \
199         screen.C \
200         sp_form.C \
201         sp_form.h \
202         spellchecker.C \
203         spellchecker.h \
204         stl_string_fwd.h \
205         tabular.C \
206         tabular.h \
207         tex-accent.C \
208         tex-accent.h \
209         tex-defs.h \
210         tex-strings.C \
211         tex-strings.h \
212         texrow.C \
213         texrow.h \
214         text.C \
215         text2.C \
216         tracer.C \
217         tracer.h \
218         trans.C \
219         trans.h \
220         trans_decl.h \
221         trans_mgr.C \
222         trans_mgr.h \
223         undo.C \
224         undo.h \
225         vc-backend.C \
226         vc-backend.h \
227         version.h \
228         vms_defines.h \
229         vspace.C \
230         vspace.h
231
232 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
233         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
234         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
235         lyxserver.h layout.h gettext.h kbmap.h 
236         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
237           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
238
239 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
240         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
241
242 dist-hook:
243         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`