]> git.lyx.org Git - lyx.git/blob - src/Makefile.am
fix bug 580: reading of some ill-formed tables
[lyx.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += config.h libintl.h version.cpp stamp-version version.cpp-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.cpp.in \
14         Section.h \
15         Section.cpp \
16         Variables.cpp \
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) $(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.cpp
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.cpp
47
48 AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
49
50 if USE_ASPELL
51 ASPELL = ASpell.cpp ASpell_local.h
52 endif
53 if USE_PSPELL
54 PSPELL = PSpell.cpp PSpell.h
55 endif
56 if USE_ISPELL
57 ISPELL = ISpell.cpp ISpell.h
58 endif
59
60
61
62 lyx_SOURCES = \
63         $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
64         Author.cpp \
65         Author.h \
66         Bidi.cpp \
67         Bidi.h \
68         boost.cpp \
69         Box.cpp \
70         Box.h \
71         BranchList.cpp \
72         BranchList.h \
73         Buffer.cpp \
74         buffer_funcs.cpp \
75         buffer_funcs.h \
76         Buffer.h \
77         BufferList.cpp \
78         BufferList.h \
79         BufferParams.cpp \
80         BufferParams.h \
81         BufferView.cpp \
82         bufferview_funcs.cpp \
83         bufferview_funcs.h \
84         BufferView.h \
85         Bullet.cpp \
86         Bullet.h \
87         Changes.cpp \
88         Changes.h \
89         Chktex.cpp \
90         Chktex.h \
91         Color.cpp \
92         Color.h \
93         config.h.in \
94         ConverterCache.cpp \
95         ConverterCache.h \
96         Converter.cpp \
97         Converter.h \
98         CoordCache.cpp \
99         CoordCache.h \
100         Counters.cpp \
101         Counters.h \
102         Cursor.cpp \
103         Cursor.h \
104         CursorSlice.cpp \
105         CursorSlice.h \
106         CutAndPaste.cpp \
107         CutAndPaste.h \
108         debug.cpp \
109         debug.h \
110         DepTable.cpp \
111         DepTable.h \
112         Dimension.cpp \
113         Dimension.h \
114         DispatchResult.h \
115         DocIterator.cpp \
116         DocIterator.h \
117         Encoding.cpp \
118         Encoding.h \
119         ErrorList.cpp \
120         ErrorList.h \
121         Exporter.cpp \
122         Exporter.h \
123         factory.cpp \
124         factory.h \
125         Floating.cpp \
126         Floating.h \
127         FloatList.cpp \
128         FloatList.h \
129         Font.cpp \
130         Font.h \
131         FontIterator.cpp \
132         FontIterator.h \
133         Format.cpp \
134         Format.h \
135         FuncRequest.cpp \
136         FuncRequest.h \
137         FuncStatus.cpp \
138         FuncStatus.h \
139         gettext.cpp \
140         gettext.h \
141         Graph.cpp \
142         Graph.h \
143         Importer.cpp \
144         Importer.h \
145         InsetIterator.cpp \
146         InsetIterator.h \
147         InsetList.cpp \
148         InsetList.h \
149         Intl.cpp \
150         Intl.h \
151         KeyMap.cpp \
152         KeyMap.h \
153         KeySequence.cpp \
154         KeySequence.h \
155         Language.cpp \
156         Language.h \
157         LaTeX.cpp \
158         LaTeXFeatures.cpp \
159         LaTeXFeatures.h \
160         LaTeX.h \
161         Layout.cpp \
162         Layout.h \
163         Length.cpp \
164         Length.h \
165         lengthcommon.cpp \
166         lengthcommon.h \
167         Lexer.cpp \
168         Lexer.h \
169         lfuns.h \
170         LyXAction.cpp \
171         LyXAction.h \
172         callback.cpp \
173         callback.h \
174         LyX.cpp \
175         lyxfind.cpp \
176         lyxfind.h \
177         LyXFunc.cpp \
178         LyXFunc.h \
179         LyX.h \
180         lyxlayout_ptr_fwd.h \
181         LyXRC.cpp \
182         LyXRC.h \
183         Server.cpp \
184         Server.h \
185         ServerSocket.cpp \
186         ServerSocket.h \
187         LyXVC.cpp \
188         LyXVC.h \
189         MenuBackend.cpp \
190         MenuBackend.h \
191         Messages.cpp \
192         Messages.h \
193         MetricsInfo.cpp \
194         MetricsInfo.h \
195         Mover.cpp \
196         Mover.h \
197         output.cpp \
198         output_docbook.cpp \
199         output_docbook.h \
200         output.h \
201         output_latex.cpp \
202         output_latex.h \
203         OutputParams.cpp \
204         OutputParams.h \
205         output_plaintext.cpp \
206         output_plaintext.h \
207         paper.h \
208         Paragraph.cpp \
209         paragraph_funcs.cpp \
210         paragraph_funcs.h \
211         Paragraph.h \
212         ParagraphList.h \
213         ParagraphMetrics.cpp \
214         ParagraphMetrics.h \
215         ParagraphParameters.cpp \
216         ParagraphParameters.h \
217         ParIterator.cpp \
218         ParIterator.h \
219         PrinterParams.cpp \
220         PrinterParams.h \
221         Row.cpp \
222         Row.h \
223         rowpainter.cpp \
224         rowpainter.h \
225         Session.cpp \
226         Session.h \
227         sgml.cpp \
228         sgml.h \
229         Spacing.cpp \
230         Spacing.h \
231         SpellBase.h \
232         TexRow.cpp \
233         TexRow.h \
234         Text.h \
235         Text.cpp \
236         Text2.cpp \
237         Text3.cpp \
238         TextClass.cpp \
239         TextClass.h \
240         TextClassList.cpp \
241         TextClassList.h \
242         TextMetrics.cpp \
243         TextMetrics.h \
244         Thesaurus.cpp \
245         Thesaurus.h \
246         TocBackend.cpp \
247         TocBackend.h \
248         toc.cpp \
249         toc.h \
250         ToolbarBackend.cpp \
251         ToolbarBackend.h \
252         Trans.cpp \
253         Trans.h \
254         Undo.cpp \
255         Undo.h \
256         update_flags.h \
257         VCBackend.cpp \
258         VCBackend.h \
259         version.cpp \
260         version.h \
261         WordLangTuple.h \
262         VSpace.cpp \
263         VSpace.h
264
265 version.cpp: stamp-version
266         @:
267
268 stamp-version: version.cpp-tmp
269         if cmp -s $< version.cpp ; then \
270                 : ;\
271         else \
272                 rm -f version.cpp ;\
273                 cp $< version.cpp ;\
274         fi
275         echo timestamp > $@