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