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