]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
mathed42.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         intl.C \
127         intl.h \
128         kbmap.C \
129         kbmap.h \
130         kbsequence.C \
131         kbsequence.h \
132         language.C \
133         language.h \
134         lastfiles.C \
135         lastfiles.h \
136         layout.C \
137         layout.h \
138         lyx.C \
139         lyx.h \
140         lyx_cb.C \
141         lyx_cb.h \
142         lyx_gui.C \
143         lyx_gui.h \
144         lyx_gui_misc.C \
145         lyx_gui_misc.h \
146         lyx_main.C \
147         lyx_main.h \
148         lyx_sty.C \
149         lyx_sty.h \
150         lyxcursor.C \
151         lyxcursor.h \
152         lyxfont.C \
153         lyxfont.h \
154         lyxfind.C \
155         lyxfind.h \
156         lyxfunc.C \
157         lyxfunc.h \
158         lyxlex.C \
159         lyxlex.h \
160         lyxlex_pimpl.C \
161         lyxlex_pimpl.h \
162         lyxlookup.C \
163         lyxlookup.h \
164         lyxparagraph.h \
165         lyxrc.C \
166         lyxrc.h \
167         lyxrow.C \
168         lyxrow.h \
169         lyxscreen.h \
170         lyxserver.C \
171         lyxserver.h \
172         lyxtext.h \
173         lyxvc.C \
174         lyxvc.h \
175         main.C \
176         minibuffer.C \
177         minibuffer.h \
178         nt_defines.h \
179         os2_defines.h \
180         os2_errortable.h \
181         paragraph.C \
182         print_form.C \
183         print_form.h \
184         screen.C \
185         sp_form.C \
186         sp_form.h \
187         spellchecker.C \
188         spellchecker.h \
189         stl_string_fwd.h \
190         tabular.C \
191         tabular.h \
192         tabular-old.C \
193         tex-accent.C \
194         tex-accent.h \
195         tex-defs.h \
196         tex-strings.C \
197         tex-strings.h \
198         texrow.C \
199         texrow.h \
200         text.C \
201         text2.C \
202         tracer.C \
203         tracer.h \
204         trans.C \
205         trans.h \
206         trans_decl.h \
207         trans_mgr.C \
208         trans_mgr.h \
209         undo.C \
210         undo.h \
211         vc-backend.C \
212         vc-backend.h \
213         version.h \
214         vms_defines.h \
215         vspace.C \
216         vspace.h
217
218 lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
219         lyx_gui_misc.h lyxrc.h support/path.h support/filetools.h \
220         bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
221         lyxserver.h layout.h gettext.h kbmap.h commandtags.h
222         $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
223           -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
224
225 main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h
226         $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
227
228 dist-hook:
229         cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`