]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
fix reading the author field.
[lyx.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-tmp
4
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
6
7 SUBDIRS = mathed insets graphics support frontends tex2lyx
8
9 EXTRA_DIST = config.h.in stamp-h.in version.C.in \
10         Sectioning.h \
11         Sectioning.C \
12         Variables.C \
13         Variables.h \
14         paper.h
15
16 LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
17         frontends/libfrontends.la
18
19 LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
20         graphics/libgraphics.la \
21         support/libsupport.la
22
23 if USE_INCLUDED_BOOST
24 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
25         ../boost/libs/signals/src/libboostsignals.la
26 else
27 BOOST_LIBS = -lboost_regex -lboost_signals
28 endif
29
30 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
31
32 bin_PROGRAMS = lyx
33 noinst_PROGRAMS = $(FRONTENDS_PROGS)
34 EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
35
36 lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
37         frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
38
39 lyx_xforms_SOURCES = main.C
40
41 lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
42         frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
43 lyx_qt_SOURCES = main.C
44
45 lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
46         frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
47 lyx_gtk_SOURCES = main.C
48
49 lyx$(EXEEXT): $(FRONTENDS_PROGS)
50         rm -f $@
51         $(LN_S) $< $@
52
53 #lyx_LDFLAGS=-Wl,-O1
54
55 INCLUDES = $(BOOST_INCLUDES)
56
57 BUILT_SOURCES = version.C
58
59 AM_CXXFLAGS = $(PCH_FLAGS)
60
61 lyx_SOURCES = \
62         Bidi.C \
63         Bidi.h \
64         BufferView.C \
65         BufferView.h \
66         BufferView_pimpl.C \
67         BufferView_pimpl.h \
68         Bullet.C \
69         Bullet.h \
70         BranchList.C \
71         BranchList.h \
72         Chktex.C \
73         Chktex.h \
74         CutAndPaste.C \
75         CutAndPaste.h \
76         DepTable.C \
77         DepTable.h \
78         FloatList.C \
79         FloatList.h \
80         Floating.C \
81         Floating.h \
82         FontIterator.C \
83         FontIterator.h \
84         FuncStatus.C \
85         FuncStatus.h \
86         InsetList.C \
87         InsetList.h \
88         LColor.C \
89         LColor.h \
90         LaTeX.C \
91         LaTeX.h \
92         LaTeXFeatures.C \
93         LaTeXFeatures.h \
94         LyXAction.C \
95         LyXAction.h \
96         MenuBackend.C \
97         MenuBackend.h \
98         ParagraphList_fwd.h \
99         ParagraphParameters.C \
100         ParagraphParameters.h \
101         PrinterParams.C \
102         PrinterParams.h \
103         RowList_fwd.h \
104         ShareContainer.h \
105         Spacing.C \
106         Spacing.h \
107         Thesaurus.C \
108         Thesaurus.h \
109         ToolbarBackend.C \
110         ToolbarBackend.h \
111         WordLangTuple.h \
112         aspell.C \
113         aspell_local.h \
114         author.C \
115         author.h \
116         boost.C \
117         box.h \
118         box.C \
119         broken_headers.h \
120         buffer.C \
121         buffer.h \
122         buffer_funcs.C \
123         buffer_funcs.h \
124         bufferlist.C \
125         bufferlist.h \
126         bufferparams.C \
127         bufferparams.h \
128         bufferview_funcs.C \
129         bufferview_funcs.h \
130         changes.C \
131         changes.h \
132         chset.C \
133         chset.h \
134         config.h.in \
135         converter.C \
136         converter.h \
137         counters.C \
138         counters.h \
139         coordcache.C \
140         coordcache.h \
141         cursor.C \
142         cursor.h \
143         cursor_slice.C \
144         cursor_slice.h \
145         debug.C \
146         debug.h \
147         dimension.C \
148         dimension.h \
149         dociterator.C \
150         dociterator.h \
151         dispatchresult.h \
152         encoding.C \
153         encoding.h \
154         errorlist.C \
155         errorlist.h \
156         exporter.C \
157         exporter.h \
158         gettext.C \
159         gettext.h \
160         factory.h \
161         factory.C \
162         format.C \
163         format.h \
164         funcrequest.h \
165         funcrequest.C \
166         graph.C \
167         graph.h \
168         importer.C \
169         importer.h \
170         intl.C \
171         intl.h \
172         insetiterator.C \
173         insetiterator.h \
174         kbmap.C \
175         kbmap.h \
176         kbsequence.C \
177         kbsequence.h \
178         language.C \
179         language.h \
180         lastfiles.C \
181         lastfiles.h \
182         layout.h \
183         lengthcommon.C \
184         lengthcommon.h \
185         lfuns.h \
186         lyx_cb.C \
187         lyx_cb.h \
188         lyx_main.C \
189         lyx_main.h \
190         lyx_sty.C \
191         lyx_sty.h \
192         lyxfont.C \
193         lyxfont.h \
194         lyxfind.C \
195         lyxfind.h \
196         lyxfunc.C \
197         lyxfunc.h \
198         lyxgluelength.C \
199         lyxgluelength.h \
200         lyxlayout.C \
201         lyxlayout.h \
202         lyxlayout_ptr_fwd.h \
203         lyxlength.C \
204         lyxlength.h \
205         lyxlex.C \
206         lyxlex.h \
207         lyxlex_pimpl.C \
208         lyxlex_pimpl.h \
209         lyxrc.C \
210         lyxrc.h \
211         lyxrow.C \
212         lyxrow.h \
213         lyxrow_funcs.C \
214         lyxrow_funcs.h \
215         lyxserver.C \
216         lyxserver.h \
217         lyxsocket.C \
218         lyxsocket.h \
219         lyxtext.h \
220         lyxtextclass.C \
221         lyxtextclass.h \
222         lyxtextclasslist.C \
223         lyxtextclasslist.h \
224         lyxvc.C \
225         lyxvc.h \
226         messages.C \
227         messages.h \
228         metricsinfo.C \
229         metricsinfo.h \
230         output.C \
231         output.h \
232         outputparams.C \
233         outputparams.h \
234         output_docbook.C \
235         output_docbook.h \
236         output_latex.C \
237         output_latex.h \
238         output_linuxdoc.C \
239         output_linuxdoc.h \
240         output_plaintext.C \
241         output_plaintext.h \
242         paper.h \
243         paragraph.C \
244         paragraph.h \
245         paragraph_funcs.C \
246         paragraph_funcs.h \
247         paragraph_pimpl.C \
248         paragraph_pimpl.h \
249         pariterator.C \
250         pariterator.h \
251         SpellBase.h \
252         ispell.C \
253         ispell.h \
254         pspell.C \
255         pspell.h \
256         rowpainter.C \
257         rowpainter.h \
258         sgml.C \
259         sgml.h \
260         tabular.C \
261         tabular.h \
262         tex-accent.C \
263         tex-accent.h \
264         tex-strings.C \
265         tex-strings.h \
266         texrow.C \
267         texrow.h \
268         text.C \
269         text2.C \
270         text3.C \
271         toc.C \
272         toc.h \
273         trans.C \
274         trans.h \
275         trans_decl.h \
276         trans_mgr.C \
277         trans_mgr.h \
278         undo.C \
279         undo.h \
280         vc-backend.C \
281         vc-backend.h \
282         version.C \
283         version.h \
284         vspace.C \
285         vspace.h
286
287 dist_noinst_DATA = \
288         cheaders/ChangeLog \
289         cheaders/cassert \
290         cheaders/cctype \
291         cheaders/cerrno \
292         cheaders/climits \
293         cheaders/clocale \
294         cheaders/cmath \
295         cheaders/csignal \
296         cheaders/cstdarg \
297         cheaders/cstddef \
298         cheaders/cstdio \
299         cheaders/cstdlib \
300         cheaders/cstring \
301         cheaders/ctime
302
303 version.C: stamp-version
304         @:
305
306 stamp-version: version.C-tmp
307         if cmp -s $< version.C ; then \
308                 : ;\
309         else \
310                 rm -f version.C ;\
311                 cp $< version.C ;\
312         fi
313         echo timestamp > $@