]> git.lyx.org Git - features.git/blob - src/Makefile.am
Add cmake files to autoconf's dist
[features.git] / src / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 ############################### Core  ##############################
4
5 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES) $(ENCHANT_CFLAGS) $(HUNSPELL_CFLAGS)
6 AM_CPPFLAGS += $(QT_CPPFLAGS) $(QT_CORE_INCLUDES)
7
8 if BUILD_CLIENT_SUBDIR
9 CLIENT = client
10 endif
11
12 SUBDIRS = support frontends . $(CLIENT) tex2lyx
13
14 EXTRA_DIST = pch.h \
15         CMakeLists.txt \
16         graphics/CMakeLists.txt \
17         insets/CMakeLists.txt \
18         mathed/CMakeLists.txt \
19         tests/CMakeLists.txt
20
21 OTHERLIBS = $(BOOST_LIBS) $(MYTHES_LIBS) $(ENCHANT_LIBS) $(HUNSPELL_LIBS) \
22             @LIBS@ $(SOCKET_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
23
24 noinst_LIBRARIES = liblyxcore.a
25 bin_PROGRAMS = lyx
26
27 lyx_LDADD = \
28         liblyxcore.a \
29         liblyxmathed.a \
30         liblyxinsets.a \
31         frontends/liblyxfrontends.a \
32         frontends/qt4/liblyxqt4.a \
33         liblyxgraphics.a \
34         support/liblyxsupport.a \
35         $(OTHERLIBS) \
36         $(QT_LDFLAGS) \
37         $(QT_LIB)
38
39 if LYX_WIN_RESOURCE
40 .rc.o:
41         cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
42         windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
43 endif
44
45 if INSTALL_MACOSX
46 lyx_LDFLAGS = -framework AppKit -framework ApplicationServices
47 endif
48
49 #lyx_LDFLAGS=-Wl,-O1
50
51 BUILT_SOURCES = $(PCH_FILE)
52
53 if INSTALL_MACOSX
54 APPLESPELL = AppleSpellChecker.cpp AppleSpellChecker.h
55 endif
56
57 if USE_ASPELL
58 ASPELL = AspellChecker.cpp AspellChecker.h
59 PWL = PersonalWordList.cpp PersonalWordList.h
60 endif
61
62 if USE_ENCHANT
63 ENCHANT = EnchantChecker.cpp EnchantChecker.h
64 PWL = PersonalWordList.cpp PersonalWordList.h
65 endif
66
67 if USE_HUNSPELL
68 HUNSPELL = HunspellChecker.cpp HunspellChecker.h
69 PWL = PersonalWordList.cpp PersonalWordList.h
70 endif
71
72 # These four objects are linked as object files as they are not
73 # referenced within the core and therefore are not picked up
74 # by the linker without looping over libs. We do not want that,
75 # and in fact libtools seems not able to do that.
76 lyx_SOURCES = \
77         main.cpp \
78         $(APPLESPELL) \
79         $(ASPELL) \
80         BiblioInfo.h \
81         BiblioInfo.cpp \
82         Box.cpp \
83         Box.h \
84         Compare.cpp \
85         Compare.h \
86         Dimension.cpp \
87         Dimension.h \
88         $(ENCHANT) \
89         $(HUNSPELL) \
90         $(PWL) \
91         LaTeXFonts.cpp \
92         LaTeXFonts.h \
93         PrinterParams.cpp \
94         PrinterParams.h \
95         Thesaurus.cpp \
96         Thesaurus.h
97
98 if LYX_WIN_RESOURCE
99 lyx_SOURCES += lyxwinres.rc
100 endif
101
102 SOURCEFILESCORE = \
103         Author.cpp \
104         Bidi.cpp \
105         boost.cpp \
106         BranchList.cpp \
107         Buffer.cpp \
108         buffer_funcs.cpp \
109         BufferList.cpp \
110         BufferParams.cpp \
111         BufferView.cpp \
112         Bullet.cpp \
113         Changes.cpp \
114         Chktex.cpp \
115         CmdDef.cpp \
116         Color.cpp \
117         ConverterCache.cpp \
118         Converter.cpp \
119         CoordCache.cpp \
120         Counters.cpp \
121         Cursor.cpp \
122         CursorSlice.cpp \
123         CutAndPaste.cpp \
124         DepTable.cpp \
125         DocIterator.cpp \
126         Encoding.cpp \
127         BufferEncodings.cpp \
128         ErrorList.cpp \
129         Exporter.cpp \
130         factory.cpp \
131         Floating.cpp \
132         FloatList.cpp \
133         FontInfo.cpp \
134         FontList.cpp \
135         Font.cpp \
136         Format.cpp \
137         FuncRequest.cpp \
138         FuncStatus.cpp \
139         Graph.cpp \
140         HSpace.cpp \
141         IndicesList.cpp \
142         InsetIterator.cpp \
143         InsetList.cpp \
144         Intl.cpp \
145         KeyMap.cpp \
146         KeySequence.cpp \
147         Language.cpp \
148         LaTeX.cpp \
149         LaTeXFeatures.cpp \
150         LaTeXPackages.cpp \
151         LayoutFile.cpp \
152         LayoutModuleList.cpp \
153         Length.cpp \
154         lengthcommon.cpp \
155         Lexer.cpp \
156         LyX.cpp \
157         LyXAction.cpp \
158         lyxfind.cpp \
159         LyXRC.cpp \
160         LyXVC.cpp \
161         MetricsInfo.cpp \
162         ModuleList.cpp \
163         Mover.cpp \
164         output_docbook.cpp \
165         output.cpp \
166         output_latex.cpp \
167         output_xhtml.cpp \
168         OutputParams.cpp \
169         output_plaintext.cpp \
170         Paragraph.cpp \
171         ParagraphMetrics.cpp \
172         ParagraphParameters.cpp \
173         ParIterator.cpp \
174         PDFOptions.cpp \
175         Row.cpp \
176         RowPainter.cpp \
177         Server.cpp \
178         ServerSocket.cpp \
179         sgml.cpp \
180         Session.cpp \
181         Spacing.cpp \
182         TexRow.cpp \
183         Text.cpp \
184         Text2.cpp \
185         Text3.cpp \
186         TextClass.cpp \
187         TextMetrics.cpp \
188         TocBackend.cpp \
189         Trans.cpp \
190         Undo.cpp \
191         VCBackend.cpp \
192         version.cpp \
193         VSpace.cpp \
194         WordList.cpp
195
196 HEADERFILESCORE = \
197         Author.h \
198         Bidi.h \
199         BranchList.h \
200         buffer_funcs.h \
201         Buffer.h \
202         BufferEncodings.h \
203         BufferList.h \
204         BufferParams.h \
205         BufferView.h \
206         Bullet.h \
207         Citation.h \
208         Changes.h \
209         Chktex.h \
210         CmdDef.h \
211         ColorCode.h \
212         Color.h \
213         ColorSet.h \
214         CompletionList.h \
215         ConverterCache.h \
216         Converter.h \
217         CoordCache.h \
218         Counters.h \
219         Cursor.h \
220         CursorSlice.h \
221         CutAndPaste.h \
222         DepTable.h \
223         DispatchResult.h \
224         DocIterator.h \
225         DocumentClassPtr.h \
226         Encoding.h \
227         ErrorList.h \
228         Exporter.h \
229         factory.h \
230         Floating.h \
231         FloatList.h \
232         Font.h \
233         FontEnums.h \
234         FontInfo.h \
235         FontList.h \
236         Format.h \
237         FuncCode.h \
238         FuncRequest.h \
239         FuncStatus.h \
240         Graph.h \
241         HSpace.h \
242         IndicesList.h \
243         InsetIterator.h \
244         InsetList.h \
245         Intl.h \
246         KeyMap.h \
247         KeySequence.h \
248         Language.h \
249         LaTeXFeatures.h \
250         LaTeXPackages.h \
251         LaTeX.h \
252         Layout.h \
253         LayoutEnums.h \
254         LayoutFile.h \
255         LayoutModuleList.h \
256         Length.h \
257         Lexer.h \
258         LyXAction.h \
259         lyxfind.h \
260         LyX.h \
261         LyXRC.h \
262         LyXVC.h \
263         MetricsInfo.h \
264         ModuleList.h \
265         Mover.h \
266         output_docbook.h \
267         output.h \
268         OutputEnums.h \
269         output_latex.h \
270         output_xhtml.h \
271         OutputParams.h \
272         output_plaintext.h \
273         paper.h \
274         Paragraph.h \
275         ParagraphList.h \
276         ParagraphMetrics.h \
277         ParagraphParameters.h \
278         ParIterator.h \
279         PDFOptions.h \
280         Row.h \
281         RowPainter.h \
282         Server.h \
283         ServerSocket.h \
284         Session.h \
285         sgml.h \
286         Spacing.h \
287         SpellChecker.h \
288         TexRow.h \
289         Text.h \
290         TextClass.h \
291         TextMetrics.h \
292         TocBackend.h \
293         Trans.h \
294         Undo.h \
295         update_flags.h \
296         VCBackend.h \
297         version.h \
298         VSpace.h \
299         WordLangTuple.h \
300         WordList.h
301
302 STANDALONEFILES = \
303         Layout.cpp
304
305
306 lyxcore.cpp:
307         @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
308
309 if MONOLITHIC_CORE
310
311 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
312 CLEANFILES += lyxcore.cpp
313
314 liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
315
316 else
317
318 liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
319
320 endif
321
322 #########################  Qt stuff  ##############################
323
324 MOCHEADER = Compare.h
325
326 if INSTALL_WINDOWS
327
328 MOCHEADER += Server.h
329 MOCFLAG = -D_WIN32
330
331 endif
332
333 MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
334
335 BUILT_SOURCES += $(MOCEDFILES)
336 CLEANFILES += $(MOCEDFILES)
337
338 moc_%.cpp: %.h
339         $(QT_MOC) $(MOCFLAG) -o $@ $<
340
341 liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
342
343 ############################### Graphics ##############################
344
345 noinst_LIBRARIES += liblyxgraphics.a
346
347 liblyxgraphics_a_SOURCES = \
348         graphics/epstools.h \
349         graphics/epstools.cpp \
350         graphics/GraphicsCache.h \
351         graphics/GraphicsCache.cpp \
352         graphics/GraphicsCacheItem.h \
353         graphics/GraphicsCacheItem.cpp \
354         graphics/GraphicsConverter.h \
355         graphics/GraphicsConverter.cpp \
356         graphics/GraphicsImage.h \
357         graphics/GraphicsLoader.h \
358         graphics/GraphicsLoader.cpp \
359         graphics/GraphicsParams.cpp \
360         graphics/GraphicsParams.h \
361         graphics/GraphicsTypes.h \
362         graphics/PreviewImage.h \
363         graphics/PreviewImage.cpp \
364         graphics/PreviewLoader.h \
365         graphics/PreviewLoader.cpp
366
367
368 ############################### Mathed  ##############################
369
370 noinst_LIBRARIES += liblyxmathed.a
371
372 SOURCEFILESMATHED = \
373         mathed/CommandInset.cpp \
374         mathed/InsetMathAMSArray.cpp \
375         mathed/InsetMathArray.cpp \
376         mathed/InsetMathBig.cpp \
377         mathed/InsetMathBoldSymbol.cpp \
378         mathed/InsetMathBox.cpp \
379         mathed/InsetMathBrace.cpp \
380         mathed/InsetMath.cpp \
381         mathed/InsetMathCases.cpp \
382         mathed/InsetMathChar.cpp \
383         mathed/InsetMathColor.cpp \
384         mathed/InsetMathComment.cpp \
385         mathed/InsetMathDecoration.cpp \
386         mathed/InsetMathDecoration.h \
387         mathed/InsetMathDelim.cpp \
388         mathed/InsetMathDiff.cpp \
389         mathed/InsetMathDots.cpp \
390         mathed/InsetMathEnsureMath.cpp \
391         mathed/InsetMathEnv.cpp \
392         mathed/InsetMathExFunc.cpp \
393         mathed/InsetMathExInt.cpp \
394         mathed/InsetMathFont.cpp \
395         mathed/InsetMathFontOld.cpp \
396         mathed/InsetMathFrac.cpp \
397         mathed/InsetMathGrid.cpp \
398         mathed/InsetMathHull.cpp \
399         mathed/InsetMathKern.cpp \
400         mathed/InsetMathLefteqn.cpp \
401         mathed/InsetMathLim.cpp \
402         mathed/InsetMathCancel.cpp \
403         mathed/InsetMathCancelto.cpp \
404         mathed/InsetMathMatrix.cpp \
405         mathed/InsetMathNest.cpp \
406         mathed/InsetMathNumber.cpp \
407         mathed/InsetMathOverset.cpp \
408         mathed/InsetMathPar.cpp \
409         mathed/InsetMathPhantom.cpp \
410         mathed/InsetMathRef.cpp \
411         mathed/InsetMathRoot.cpp \
412         mathed/InsetMathScript.cpp \
413         mathed/InsetMathSideset.cpp \
414         mathed/InsetMathSize.cpp \
415         mathed/InsetMathSpace.cpp \
416         mathed/InsetMathSpecialChar.cpp \
417         mathed/InsetMathSplit.cpp \
418         mathed/InsetMathSqrt.cpp \
419         mathed/InsetMathStackrel.cpp \
420         mathed/InsetMathString.cpp \
421         mathed/InsetMathSubstack.cpp \
422         mathed/InsetMathSymbol.cpp \
423         mathed/InsetMathTabular.cpp \
424         mathed/InsetMathUnderset.cpp \
425         mathed/InsetMathUnknown.cpp \
426         mathed/InsetMathXArrow.cpp \
427         mathed/InsetMathXYMatrix.cpp \
428         mathed/InsetMathDiagram.cpp \
429         mathed/MathAtom.cpp \
430         mathed/MathAutoCorrect.cpp \
431         mathed/MathData.cpp \
432         mathed/MathExtern.cpp \
433         mathed/MathFactory.cpp \
434         mathed/MathMacro.cpp \
435         mathed/MathMacroArgument.cpp \
436         mathed/MacroTable.cpp \
437         mathed/MathMacroTemplate.cpp \
438         mathed/MathParser.cpp \
439         mathed/MathStream.cpp \
440         mathed/MathSupport.cpp \
441         mathed/TextPainter.cpp
442
443 HEADERFILESMATHED = \
444         mathed/CommandInset.h \
445         mathed/InsetMathAMSArray.h \
446         mathed/InsetMathArray.h \
447         mathed/InsetMathBig.h \
448         mathed/InsetMathBoldSymbol.h \
449         mathed/InsetMathBox.h \
450         mathed/InsetMathBrace.h \
451         mathed/InsetMathCancel.h \
452         mathed/InsetMathCancelto.h \
453         mathed/InsetMathCases.h \
454         mathed/InsetMathChar.h \
455         mathed/InsetMathColor.h \
456         mathed/InsetMathComment.h \
457         mathed/InsetMathDelim.h \
458         mathed/InsetMathDiff.h \
459         mathed/InsetMathDots.h \
460         mathed/InsetMathEnsureMath.h \
461         mathed/InsetMathEnv.h \
462         mathed/InsetMathExFunc.h \
463         mathed/InsetMathExInt.h \
464         mathed/InsetMathFont.h \
465         mathed/InsetMathFontOld.h \
466         mathed/InsetMathFrac.h \
467         mathed/InsetMathGrid.h \
468         mathed/InsetMath.h \
469         mathed/InsetMathHull.h \
470         mathed/InsetMathKern.h \
471         mathed/InsetMathLefteqn.h \
472         mathed/InsetMathLim.h \
473         mathed/InsetMathMatrix.h \
474         mathed/InsetMathNest.h \
475         mathed/InsetMathNumber.h \
476         mathed/InsetMathOverset.h \
477         mathed/InsetMathPar.h \
478         mathed/InsetMathPhantom.h \
479         mathed/InsetMathRef.h \
480         mathed/InsetMathRoot.h \
481         mathed/InsetMathScript.h \
482         mathed/InsetMathSideset.h \
483         mathed/InsetMathSize.h \
484         mathed/InsetMathSpace.h \
485         mathed/InsetMathSpecialChar.h \
486         mathed/InsetMathSplit.h \
487         mathed/InsetMathSqrt.h \
488         mathed/InsetMathStackrel.h \
489         mathed/InsetMathString.h \
490         mathed/InsetMathSubstack.h \
491         mathed/InsetMathSymbol.h \
492         mathed/InsetMathTabular.h \
493         mathed/InsetMathUnderset.h \
494         mathed/InsetMathUnknown.h \
495         mathed/InsetMathXArrow.h \
496         mathed/InsetMathXYMatrix.h \
497         mathed/InsetMathDiagram.h \
498         mathed/MathAtom.h \
499         mathed/MathAutoCorrect.h \
500         mathed/MathData.h \
501         mathed/MathCompletionList.h \
502         mathed/MathExtern.h \
503         mathed/MathFactory.h \
504         mathed/MathMacro.h \
505         mathed/MathMacroArgument.h \
506         mathed/MacroTable.h \
507         mathed/MathMacroTemplate.h \
508         mathed/MathParser.h \
509         mathed/MathParser_flags.h \
510         mathed/ReplaceData.h \
511         mathed/MathStream.h \
512         mathed/MathSupport.h \
513         mathed/TextPainter.h
514
515 lyxmathed.cpp:
516         @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
517
518 if MONOLITHIC_MATHED
519
520 BUILT_SOURCES += lyxmathed.cpp
521 CLEANFILES += lyxmathed.cpp
522
523 liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
524
525 else
526
527 liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
528
529 endif
530
531 ############################### Insets  ##############################
532
533 noinst_LIBRARIES += liblyxinsets.a
534
535 SOURCEFILESINSETS = \
536         insets/ExternalSupport.cpp \
537         insets/ExternalTemplate.cpp \
538         insets/ExternalTransforms.cpp \
539         insets/RenderButton.cpp \
540         insets/RenderGraphic.cpp \
541         insets/RenderPreview.cpp \
542         insets/Inset.cpp \
543         insets/InsetArgument.cpp \
544         insets/InsetBibitem.cpp \
545         insets/InsetBibtex.cpp \
546         insets/InsetBox.cpp \
547         insets/InsetBranch.cpp \
548         insets/InsetCaption.cpp \
549         insets/InsetCitation.cpp \
550         insets/InsetCollapsable.cpp \
551         insets/InsetCommand.cpp \
552         insets/InsetCommandParams.cpp \
553         insets/InsetERT.cpp \
554         insets/InsetExternal.cpp \
555         insets/InsetFlex.cpp \
556         insets/InsetFloat.cpp \
557         insets/InsetFloatList.cpp \
558         insets/InsetFoot.cpp \
559         insets/InsetFootlike.cpp \
560         insets/InsetGraphicsParams.cpp \
561         insets/InsetGraphics.cpp \
562         insets/InsetHyperlink.cpp \
563         insets/InsetInclude.cpp \
564         insets/InsetIndex.cpp \
565         insets/InsetInfo.cpp \
566         insets/InsetIPA.cpp \
567         insets/InsetIPAMacro.cpp \
568         insets/InsetLabel.cpp \
569         insets/InsetLayout.cpp \
570         insets/InsetLine.cpp \
571         insets/InsetListings.cpp \
572         insets/InsetListingsParams.cpp \
573         insets/InsetMarginal.cpp \
574         insets/InsetNewline.cpp \
575         insets/InsetNewpage.cpp \
576         insets/InsetNomencl.cpp \
577         insets/InsetNote.cpp \
578         insets/InsetPhantom.cpp \
579         insets/InsetPreview.cpp \
580         insets/InsetQuotes.cpp \
581         insets/InsetRef.cpp \
582         insets/InsetScript.cpp \
583         insets/InsetSeparator.cpp \
584         insets/InsetSpace.cpp \
585         insets/InsetSpecialChar.cpp \
586         insets/InsetTabular.cpp \
587         insets/InsetText.cpp \
588         insets/InsetTOC.cpp \
589         insets/InsetVSpace.cpp \
590         insets/InsetWrap.cpp
591
592 HEADERFILESINSETS = \
593         insets/ExternalSupport.h \
594         insets/ExternalTemplate.h \
595         insets/ExternalTransforms.h \
596         insets/RenderBase.h \
597         insets/RenderButton.h \
598         insets/RenderGraphic.h \
599         insets/RenderPreview.h \
600         insets/Inset.h \
601         insets/InsetArgument.h \
602         insets/InsetBibitem.h \
603         insets/InsetBibtex.h \
604         insets/InsetBox.h \
605         insets/InsetBranch.h \
606         insets/InsetCaption.h \
607         insets/InsetCitation.h \
608         insets/InsetCode.h \
609         insets/InsetCollapsable.h \
610         insets/InsetCommand.h \
611         insets/InsetCommandParams.h \
612         insets/InsetERT.h \
613         insets/InsetExternal.h \
614         insets/InsetFlex.h \
615         insets/InsetFloat.h \
616         insets/InsetFoot.h \
617         insets/InsetFloatList.h \
618         insets/InsetFootlike.h \
619         insets/InsetGraphicsParams.h \
620         insets/InsetGraphics.h \
621         insets/InsetHyperlink.h \
622         insets/InsetInclude.h \
623         insets/InsetIndex.h \
624         insets/InsetInfo.h \
625         insets/InsetIPA.h \
626         insets/InsetIPAMacro.h \
627         insets/InsetPreview.h \
628         insets/InsetLabel.h \
629         insets/InsetLayout.h \
630         insets/InsetLine.h \
631         insets/InsetListings.h \
632         insets/InsetListingsParams.h \
633         insets/InsetMarginal.h \
634         insets/InsetNewline.h \
635         insets/InsetNewpage.h \
636         insets/InsetNomencl.h \
637         insets/InsetNote.h \
638         insets/InsetPhantom.h \
639         insets/InsetQuotes.h \
640         insets/InsetRef.h \
641         insets/InsetScript.h \
642         insets/InsetSeparator.h \
643         insets/InsetSpace.h \
644         insets/InsetSpecialChar.h \
645         insets/InsetTabular.h \
646         insets/InsetText.h \
647         insets/InsetTOC.h \
648         insets/InsetVSpace.h \
649         insets/InsetWrap.h
650
651 #       insets/InsetList.cpp \
652 #       insets/InsetList.h \
653 #       insets/InsetSection.h \
654 #       insets/InsetSection.cpp
655
656 lyxinsets.cpp:
657         @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
658
659 if MONOLITHIC_INSETS
660
661 BUILT_SOURCES += lyxinsets.cpp
662 CLEANFILES += lyxinsets.cpp
663
664 liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
665
666 else
667
668 liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)
669
670 endif
671
672
673 ############################## Tests ##################################
674
675 EXTRA_DIST += \
676         tests/test_layout CMakeLists.txt
677
678 alltests: check alltests-recursive
679
680 alltests-recursive: check_layout
681         @srcdir=$(srcdir) $(srcdir)/tests/test_layout; \
682         if test $$? -eq 0; then \
683                 echo -e "====================\nlayout tests passed.\n===================="; \
684         else \
685                 echo -e "====================\nlayout tests failed.\n===================="; \
686         fi
687         cd tex2lyx; $(MAKE) alltests-recursive
688
689 updatetests:
690         cd tex2lyx; $(MAKE) updatetests
691
692 check_PROGRAMS = \
693         check_layout
694
695 if INSTALL_MACOSX
696 ADD_FRAMEWORKS = -framework QtGui -framework QtCore -framework AppKit -framework ApplicationServices
697 endif
698
699 check_layout_CPPFLAGS = $(AM_CPPFLAGS)
700 check_layout_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ $(QT_CORE_LIBS) $(LIBSHLWAPI)
701 check_layout_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
702 check_layout_SOURCES = \
703         insets/InsetLayout.cpp \
704         Color.cpp \
705         Counters.cpp \
706         Floating.cpp \
707         FloatList.cpp \
708         FontInfo.cpp \
709         Layout.cpp \
710         LayoutFile.cpp \
711         Lexer.cpp \
712         ModuleList.cpp \
713         Spacing.cpp \
714         TextClass.cpp \
715         tests/check_layout.cpp \
716         tests/boost.cpp \
717         tests/dummy_functions.cpp
718
719 .PHONY: alltests alltests-recursive updatetests