]> git.lyx.org Git - features.git/blob - src/Makefile.am
make the static version link again
[features.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 ############################### Core  ##############################
4
5 DISTCLEANFILES += config.h libintl.h
6
7 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
8
9 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES)
10
11 SUBDIRS = support frontends .
12
13 EXTRA_DIST = config.h.in \
14         Section.h \
15         Section.cpp \
16         Variables.cpp \
17         Variables.h \
18         paper.h \
19         pch.h
20
21 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
22
23 pkglib_LTLIBRARIES = liblyxcore.la
24 noinst_PROGRAMS = $(FRONTENDS_PROGS)
25 EXTRA_PROGRAMS = lyx-qt4
26
27 lyx_qt4_LDADD = \
28         liblyxcore.la \
29         liblyxmathed.la \
30         liblyxinsets.la \
31         frontends/liblyxfrontends.la \
32         frontends/qt4/liblyxqt4.la \
33         frontends/controllers/liblyxcontrollers.la \
34         liblyxgraphics.la \
35         support/liblyxsupport.la \
36         $(OTHERLIBS) \
37         $(QT4_LIB) 
38
39 lyx$(EXEEXT): $(FRONTENDS_PROGS)
40         rm -f $@
41         $(LN_S) $< $@
42
43 #lyx_LDFLAGS=-Wl,-O1
44
45 BUILT_SOURCES = $(PCH_FILE)
46
47 if USE_ASPELL
48 ASPELL = ASpell.cpp ASpell_local.h
49 endif
50 if USE_PSPELL
51 PSPELL = PSpell.cpp PSpell.h
52 endif
53 if USE_ISPELL
54 ISPELL = ISpell.cpp ISpell.h
55 endif
56
57 lyx_qt4_SOURCES = \
58         main.cpp \
59         $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
60         Box.cpp \
61         Box.h \
62         Dimension.cpp \
63         Dimension.h \
64         PrinterParams.cpp \
65         PrinterParams.h \
66         Thesaurus.cpp \
67         Thesaurus.h
68
69 liblyxcore_la_SOURCES = \
70         Author.cpp \
71         Author.h \
72         Bidi.cpp \
73         Bidi.h \
74         boost.cpp \
75         BranchList.cpp \
76         BranchList.h \
77         Buffer.cpp \
78         buffer_funcs.cpp \
79         buffer_funcs.h \
80         Buffer.h \
81         BufferList.cpp \
82         BufferList.h \
83         BufferParams.cpp \
84         BufferParams.h \
85         BufferView.cpp \
86         bufferview_funcs.cpp \
87         bufferview_funcs.h \
88         BufferView.h \
89         Bullet.cpp \
90         Bullet.h \
91         Changes.cpp \
92         Changes.h \
93         Chktex.cpp \
94         Chktex.h \
95         Color.cpp \
96         Color.h \
97         config.h.in \
98         ConverterCache.cpp \
99         ConverterCache.h \
100         Converter.cpp \
101         Converter.h \
102         CoordCache.cpp \
103         CoordCache.h \
104         Counters.cpp \
105         Counters.h \
106         Cursor.cpp \
107         Cursor.h \
108         CursorSlice.cpp \
109         CursorSlice.h \
110         CutAndPaste.cpp \
111         CutAndPaste.h \
112         debug.cpp \
113         debug.h \
114         DepTable.cpp \
115         DepTable.h \
116         DispatchResult.h \
117         DocIterator.cpp \
118         DocIterator.h \
119         Encoding.cpp \
120         Encoding.h \
121         ErrorList.cpp \
122         ErrorList.h \
123         Exporter.cpp \
124         Exporter.h \
125         factory.cpp \
126         factory.h \
127         Floating.cpp \
128         Floating.h \
129         FloatList.cpp \
130         FloatList.h \
131         Font.cpp \
132         Font.h \
133         FontIterator.cpp \
134         FontIterator.h \
135         Format.cpp \
136         Format.h \
137         FuncRequest.cpp \
138         FuncRequest.h \
139         FuncStatus.cpp \
140         FuncStatus.h \
141         gettext.cpp \
142         gettext.h \
143         Graph.cpp \
144         Graph.h \
145         Importer.cpp \
146         Importer.h \
147         InsetIterator.cpp \
148         InsetIterator.h \
149         InsetList.cpp \
150         InsetList.h \
151         Intl.cpp \
152         Intl.h \
153         KeyMap.cpp \
154         KeyMap.h \
155         KeySequence.cpp \
156         KeySequence.h \
157         Language.cpp \
158         Language.h \
159         LaTeX.cpp \
160         LaTeXFeatures.cpp \
161         LaTeXFeatures.h \
162         LaTeX.h \
163         Layout.cpp \
164         Layout.h \
165         Length.cpp \
166         Length.h \
167         lengthcommon.cpp \
168         lengthcommon.h \
169         Lexer.cpp \
170         Lexer.h \
171         lfuns.h \
172         LyXAction.cpp \
173         LyXAction.h \
174         callback.cpp \
175         callback.h \
176         LyX.cpp \
177         lyxfind.cpp \
178         lyxfind.h \
179         LyXFunc.cpp \
180         LyXFunc.h \
181         LyX.h \
182         lyxlayout_ptr_fwd.h \
183         LyXRC.cpp \
184         LyXRC.h \
185         Server.cpp \
186         Server.h \
187         ServerSocket.cpp \
188         ServerSocket.h \
189         LyXVC.cpp \
190         LyXVC.h \
191         MenuBackend.cpp \
192         MenuBackend.h \
193         Messages.cpp \
194         Messages.h \
195         MetricsInfo.cpp \
196         MetricsInfo.h \
197         Mover.cpp \
198         Mover.h \
199         output.cpp \
200         output_docbook.cpp \
201         output_docbook.h \
202         output.h \
203         output_latex.cpp \
204         output_latex.h \
205         OutputParams.cpp \
206         OutputParams.h \
207         output_plaintext.cpp \
208         output_plaintext.h \
209         paper.h \
210         Paragraph.cpp \
211         paragraph_funcs.cpp \
212         paragraph_funcs.h \
213         Paragraph.h \
214         ParagraphList.h \
215         ParagraphMetrics.cpp \
216         ParagraphMetrics.h \
217         ParagraphParameters.cpp \
218         ParagraphParameters.h \
219         ParIterator.cpp \
220         ParIterator.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         TexStream.cpp \
235         TexStream.h \
236         Text.h \
237         Text.cpp \
238         Text2.cpp \
239         Text3.cpp \
240         TextClass.cpp \
241         TextClass.h \
242         TextClassList.cpp \
243         TextClassList.h \
244         TextMetrics.cpp \
245         TextMetrics.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 ############################### Graphics ##############################
265
266 pkglib_LTLIBRARIES += liblyxgraphics.la
267
268 liblyxgraphics_la_SOURCES = \
269         graphics/GraphicsCache.h \
270         graphics/GraphicsCache.cpp \
271         graphics/GraphicsCacheItem.h \
272         graphics/GraphicsCacheItem.cpp \
273         graphics/GraphicsConverter.h \
274         graphics/GraphicsConverter.cpp \
275         graphics/GraphicsImage.h \
276         graphics/GraphicsImage.cpp \
277         graphics/GraphicsLoader.h \
278         graphics/GraphicsLoader.cpp \
279         graphics/GraphicsParams.cpp \
280         graphics/GraphicsParams.h \
281         graphics/LoaderQueue.h \
282         graphics/LoaderQueue.cpp \
283         graphics/GraphicsTypes.h \
284         graphics/GraphicsTypes.cpp \
285         graphics/PreviewImage.h \
286         graphics/PreviewImage.cpp \
287         graphics/PreviewLoader.h \
288         graphics/PreviewLoader.cpp \
289         graphics/Previews.h \
290         graphics/Previews.cpp
291
292
293 ############################### Mathed  ##############################
294
295 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
296
297 pkglib_LTLIBRARIES += liblyxmathed.la
298
299 liblyxmathed_la_SOURCES = \
300         mathed/InsetMathAMSArray.cpp \
301         mathed/InsetMathAMSArray.h \
302         mathed/InsetMathArray.cpp \
303         mathed/InsetMathArray.h \
304         mathed/InsetMathBig.cpp \
305         mathed/InsetMathBig.h \
306         mathed/InsetMathBinom.cpp \
307         mathed/InsetMathBinom.h \
308         mathed/InsetMathBoldSymbol.cpp \
309         mathed/InsetMathBoldSymbol.h \
310         mathed/InsetMathBox.cpp \
311         mathed/InsetMathBoxed.cpp \
312         mathed/InsetMathBoxed.h \
313         mathed/InsetMathBox.h \
314         mathed/InsetMathBrace.cpp \
315         mathed/InsetMathBrace.h \
316         mathed/InsetMath.cpp \
317         mathed/InsetMathCases.cpp \
318         mathed/InsetMathCases.h \
319         mathed/InsetMathChar.cpp \
320         mathed/InsetMathChar.h \
321         mathed/InsetMathColor.cpp \
322         mathed/InsetMathColor.h \
323         mathed/CommandInset.cpp \
324         mathed/CommandInset.h \
325         mathed/InsetMathComment.cpp \
326         mathed/InsetMathComment.h \
327         mathed/InsetMathDecoration.cpp \
328         mathed/InsetMathDecoration.h \
329         mathed/InsetMathDelim.cpp \
330         mathed/InsetMathDelim.h \
331         mathed/InsetMathDFrac.cpp \
332         mathed/InsetMathDFrac.h \
333         mathed/InsetMathDiff.cpp \
334         mathed/InsetMathDiff.h \
335         mathed/InsetMathDots.cpp \
336         mathed/InsetMathDots.h \
337         mathed/InsetMathEnv.cpp \
338         mathed/InsetMathEnv.h \
339         mathed/InsetMathExFunc.cpp \
340         mathed/InsetMathExFunc.h \
341         mathed/InsetMathExInt.cpp \
342         mathed/InsetMathExInt.h \
343         mathed/InsetMathFBox.cpp \
344         mathed/InsetMathFBox.h \
345         mathed/InsetMathFont.cpp \
346         mathed/InsetMathFont.h \
347         mathed/InsetMathFontOld.cpp \
348         mathed/InsetMathFontOld.h \
349         mathed/InsetMathFracBase.cpp \
350         mathed/InsetMathFracBase.h \
351         mathed/InsetMathFrac.cpp \
352         mathed/InsetMathFrac.h \
353         mathed/InsetMathFrameBox.cpp \
354         mathed/InsetMathFrameBox.h \
355         mathed/InsetMathGrid.cpp \
356         mathed/InsetMathGrid.h \
357         mathed/InsetMath.h \
358         mathed/InsetMathHull.cpp \
359         mathed/InsetMathHull.h \
360         mathed/InsetMathKern.cpp \
361         mathed/InsetMathKern.h \
362         mathed/InsetMathLefteqn.cpp \
363         mathed/InsetMathLefteqn.h \
364         mathed/InsetMathLim.cpp \
365         mathed/InsetMathLim.h \
366         mathed/MathMacro.cpp \
367         mathed/MathMacro.h \
368         mathed/InsetMathMakebox.cpp \
369         mathed/InsetMathMakebox.h \
370         mathed/InsetMathMatrix.cpp \
371         mathed/InsetMathMatrix.h \
372         mathed/InsetMathNest.cpp \
373         mathed/InsetMathNest.h \
374         mathed/InsetMathNumber.cpp \
375         mathed/InsetMathNumber.h \
376         mathed/InsetMathOverset.cpp \
377         mathed/InsetMathOverset.h \
378         mathed/InsetMathPar.cpp \
379         mathed/InsetMathPar.h \
380         mathed/InsetMathPhantom.cpp \
381         mathed/InsetMathPhantom.h \
382         mathed/InsetMathRef.cpp \
383         mathed/InsetMathRef.h \
384         mathed/InsetMathRoot.cpp \
385         mathed/InsetMathRoot.h \
386         mathed/InsetMathScript.cpp \
387         mathed/InsetMathScript.h \
388         mathed/InsetMathSize.cpp \
389         mathed/InsetMathSize.h \
390         mathed/InsetMathSpace.cpp \
391         mathed/InsetMathSpace.h \
392         mathed/InsetMathSplit.cpp \
393         mathed/InsetMathSplit.h \
394         mathed/InsetMathSqrt.cpp \
395         mathed/InsetMathSqrt.h \
396         mathed/InsetMathStackrel.cpp \
397         mathed/InsetMathStackrel.h \
398         mathed/InsetMathString.cpp \
399         mathed/InsetMathString.h \
400         mathed/InsetMathSubstack.cpp \
401         mathed/InsetMathSubstack.h \
402         mathed/InsetMathSymbol.cpp \
403         mathed/InsetMathSymbol.h \
404         mathed/InsetMathTabular.cpp \
405         mathed/InsetMathTabular.h \
406         mathed/InsetMathTFrac.cpp \
407         mathed/InsetMathTFrac.h \
408         mathed/InsetMathUnderset.cpp \
409         mathed/InsetMathUnderset.h \
410         mathed/InsetMathUnknown.cpp \
411         mathed/InsetMathUnknown.h \
412         mathed/InsetMathXArrow.cpp \
413         mathed/InsetMathXArrow.h \
414         mathed/InsetMathXYMatrix.cpp \
415         mathed/InsetMathXYMatrix.h \
416         mathed/MathAtom.cpp \
417         mathed/MathAtom.h \
418         mathed/MathAutoCorrect.cpp \
419         mathed/MathAutoCorrect.h \
420         mathed/MathData.cpp \
421         mathed/MathData.h \
422         mathed/MathExtern.cpp \
423         mathed/MathExtern.h \
424         mathed/MathFactory.cpp \
425         mathed/MathFactory.h \
426         mathed/MathGridInfo.h \
427         mathed/MathMacroArgument.cpp \
428         mathed/MathMacroArgument.h \
429         mathed/MacroTable.cpp \
430         mathed/MacroTable.h \
431         mathed/MathMacroTemplate.cpp \
432         mathed/MathMacroTemplate.h \
433         mathed/MathParser.cpp \
434         mathed/MathParser.h \
435         mathed/ReplaceData.h \
436         mathed/MathStream.cpp \
437         mathed/MathStream.h \
438         mathed/MathSupport.cpp \
439         mathed/MathSupport.h \
440         mathed/TextPainter.cpp \
441         mathed/TextPainter.h 
442 #       mathed/InsetMathMBox.cpp
443 #       mathed/InsetMathMBox.h
444
445 ############################### Insets  ##############################
446
447 pkglib_LTLIBRARIES += liblyxinsets.la
448
449 EXTRA_DIST += \
450         insets/InsetTheorem.cpp \
451         insets/InsetTheorem.h
452
453 liblyxinsets_la_SOURCES = \
454         insets/MailInset.cpp \
455         insets/MailInset.h \
456         insets/ExternalSupport.cpp \
457         insets/ExternalSupport.h \
458         insets/ExternalTemplate.cpp \
459         insets/ExternalTemplate.h \
460         insets/ExternalTransforms.cpp \
461         insets/ExternalTransforms.h \
462         insets/RenderBase.h \
463         insets/RenderButton.cpp \
464         insets/RenderButton.h \
465         insets/RenderGraphic.cpp \
466         insets/RenderGraphic.h \
467         insets/RenderPreview.cpp \
468         insets/RenderPreview.h \
469         insets/Inset.h \
470         insets/Inset.cpp \
471         insets/InsetBibitem.cpp \
472         insets/InsetBibitem.h \
473         insets/InsetBibtex.cpp \
474         insets/InsetBibtex.h \
475         insets/InsetBox.cpp \
476         insets/InsetBox.h \
477         insets/InsetBranch.cpp \
478         insets/InsetBranch.h \
479         insets/InsetCaption.cpp \
480         insets/InsetCaption.h \
481         insets/InsetCharStyle.cpp \
482         insets/InsetCharStyle.h \
483         insets/InsetCitation.cpp \
484         insets/InsetCitation.h \
485         insets/InsetCollapsable.cpp \
486         insets/InsetCollapsable.h \
487         insets/InsetCommand.cpp \
488         insets/InsetCommand.h \
489         insets/InsetCommandParams.cpp \
490         insets/InsetCommandParams.h \
491         insets/InsetEnvironment.cpp \
492         insets/InsetEnvironment.h \
493         insets/InsetERT.cpp \
494         insets/InsetERT.h \
495         insets/InsetExternal.cpp \
496         insets/InsetExternal.h \
497         insets/InsetFloat.h \
498         insets/InsetFloat.cpp \
499         insets/InsetFloatList.cpp \
500         insets/InsetFloatList.h \
501         insets/InsetFoot.cpp \
502         insets/InsetFoot.h \
503         insets/InsetFootlike.cpp \
504         insets/InsetFootlike.h \
505         insets/InsetGraphicsParams.h \
506         insets/InsetGraphicsParams.cpp \
507         insets/InsetGraphics.cpp \
508         insets/InsetGraphics.h \
509         insets/InsetHFill.cpp \
510         insets/InsetHFill.h \
511         insets/InsetInclude.cpp \
512         insets/InsetInclude.h \
513         insets/InsetIndex.cpp \
514         insets/InsetIndex.h \
515         insets/InsetLabel.cpp \
516         insets/InsetLabel.h \
517         insets/InsetLine.cpp \
518         insets/InsetLine.h \
519         insets/InsetListings.h \
520         insets/InsetListings.cpp \
521         insets/InsetListingsParams.h \
522         insets/InsetListingsParams.cpp \
523         insets/InsetMarginal.h \
524         insets/InsetMarginal.cpp \
525         insets/InsetNewline.cpp \
526         insets/InsetNewline.h \
527         insets/InsetNomencl.cpp \
528         insets/InsetNomencl.h \
529         insets/InsetNote.cpp \
530         insets/InsetNote.h \
531         insets/InsetOptArg.cpp \
532         insets/InsetOptArg.h \
533         insets/InsetPagebreak.cpp \
534         insets/InsetPagebreak.h \
535         insets/InsetQuotes.cpp \
536         insets/InsetQuotes.h \
537         insets/InsetRef.cpp \
538         insets/InsetRef.h \
539         insets/InsetSpace.cpp \
540         insets/InsetSpace.h \
541         insets/InsetSpecialChar.cpp \
542         insets/InsetSpecialChar.h \
543         insets/InsetTabular.cpp \
544         insets/InsetTabular.h \
545         insets/InsetText.cpp \
546         insets/InsetText.h \
547         insets/InsetTOC.cpp \
548         insets/InsetTOC.h \
549         insets/InsetUrl.cpp \
550         insets/InsetUrl.h \
551         insets/InsetVSpace.cpp \
552         insets/InsetVSpace.h \
553         insets/InsetWrap.h \
554         insets/InsetWrap.cpp
555
556 #       insets/insetlist.C \
557 #       insets/insetlist.h \
558 #       insets/insetsection.h \
559 #       insets/insetsection.C \
560 #       insets/InsetTheorem.cpp \
561 #       insets/InsetTheorem.h
562