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