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