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