]> git.lyx.org Git - lyx.git/blobdiff - src/Makefile.am
Account for old versions of Pygments
[lyx.git] / src / Makefile.am
index f3dd8700776cf263d1792788e3177c9eacd8cf63..5bf8f3bd5e3f19f4c0c18b208fc4a5327425f3a4 100644 (file)
@@ -4,7 +4,7 @@ include $(top_srcdir)/config/common.am
 
 AM_CPPFLAGS += -I$(top_srcdir)/src
 AM_CPPFLAGS += $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
-AM_CPPFLAGS += $(ENCHANT_CFLAGS) $(HUNSPELL_CFLAGS)
+AM_CPPFLAGS += $(ENCHANT_CFLAGS) $(HUNSPELL_CFLAGS) $(MYTHES_INCLUDES)
 AM_CPPFLAGS += $(QT_CPPFLAGS) $(QT_CORE_INCLUDES)
 
 if BUILD_CLIENT_SUBDIR
@@ -108,6 +108,7 @@ SOURCEFILESCORE = \
        Bullet.cpp \
        Changes.cpp \
        Chktex.cpp \
+       CiteEnginesList.cpp \
        CmdDef.cpp \
        Color.cpp \
        ConverterCache.cpp \
@@ -133,7 +134,6 @@ SOURCEFILESCORE = \
        FuncRequest.cpp \
        FuncStatus.cpp \
        Graph.cpp \
-       HSpace.cpp \
        IndicesList.cpp \
        InsetIterator.cpp \
        InsetList.cpp \
@@ -183,6 +183,7 @@ SOURCEFILESCORE = \
        TextClass.cpp \
        TextMetrics.cpp \
        TocBackend.cpp \
+       TocBuilder.cpp \
        Trans.cpp \
        Undo.cpp \
        VCBackend.cpp \
@@ -201,6 +202,7 @@ HEADERFILESCORE = \
        BufferView.h \
        Bullet.h \
        Citation.h \
+       CiteEnginesList.h \
        Changes.h \
        Chktex.h \
        CmdDef.h \
@@ -234,7 +236,6 @@ HEADERFILESCORE = \
        FuncRequest.h \
        FuncStatus.h \
        Graph.h \
-       HSpace.h \
        IndicesList.h \
        InsetIterator.h \
        InsetList.h \
@@ -288,6 +289,7 @@ HEADERFILESCORE = \
        TextMetrics.h \
        Toc.h \
        TocBackend.h \
+       TocBuilder.h \
        Trans.h \
        Undo.h \
        update_flags.h \
@@ -403,6 +405,7 @@ SOURCEFILESMATHED = \
        mathed/InsetMathCancelto.cpp \
        mathed/InsetMathCases.cpp \
        mathed/InsetMathChar.cpp \
+       mathed/InsetMathClass.cpp \
        mathed/InsetMathColor.cpp \
        mathed/InsetMathComment.cpp \
        mathed/InsetMathDecoration.cpp \
@@ -447,16 +450,18 @@ SOURCEFILESMATHED = \
        mathed/InsetMathXArrow.cpp \
        mathed/InsetMathXYMatrix.cpp \
        mathed/InsetMathDiagram.cpp \
+       mathed/MacroTable.cpp \
        mathed/MathAtom.cpp \
        mathed/MathAutoCorrect.cpp \
+       mathed/MathClass.cpp \
        mathed/MathData.cpp \
        mathed/MathExtern.cpp \
        mathed/MathFactory.cpp \
        mathed/MathMacro.cpp \
        mathed/MathMacroArgument.cpp \
-       mathed/MacroTable.cpp \
        mathed/MathMacroTemplate.cpp \
        mathed/MathParser.cpp \
+       mathed/MathRow.cpp \
        mathed/MathStream.cpp \
        mathed/MathSupport.cpp \
        mathed/TextPainter.cpp
@@ -473,6 +478,7 @@ HEADERFILESMATHED = \
        mathed/InsetMathCancelto.h \
        mathed/InsetMathCases.h \
        mathed/InsetMathChar.h \
+       mathed/InsetMathClass.h \
        mathed/InsetMathColor.h \
        mathed/InsetMathComment.h \
        mathed/InsetMathDelim.h \
@@ -518,6 +524,7 @@ HEADERFILESMATHED = \
        mathed/InsetMathDiagram.h \
        mathed/MathAtom.h \
        mathed/MathAutoCorrect.h \
+       mathed/MathClass.h \
        mathed/MathData.h \
        mathed/MathCompletionList.h \
        mathed/MathExtern.h \
@@ -528,6 +535,7 @@ HEADERFILESMATHED = \
        mathed/MathMacroTemplate.h \
        mathed/MathParser.h \
        mathed/MathParser_flags.h \
+       mathed/MathRow.h \
        mathed/ReplaceData.h \
        mathed/MathStream.h \
        mathed/MathSupport.h \
@@ -695,13 +703,16 @@ endif
 EXTRA_DIST += \
        tests/test_ExternalTransforms \
        tests/test_ListingsCaption \
+       tests/test_layout \
+       tests/test_Length \
        tests/regfiles/ExternalTransforms \
        tests/regfiles/Length \
        tests/regfiles/ListingsCaption \
-       tests/test_layout \
-       tests/test_Length
+       tests/dummy_functions.cpp \
+       tests/boost.cpp
 
-TESTS = tests/test_ExternalTransforms tests/test_Length tests/test_ListingsCaption
+TESTS = tests/test_ExternalTransforms tests/test_ListingsCaption \
+       tests/test_layout tests/test_Length
 
 alltests: check alltests-recursive
 
@@ -727,58 +738,63 @@ if INSTALL_MACOSX
 ADD_FRAMEWORKS = -framework QtGui -framework QtCore -framework AppKit -framework ApplicationServices
 endif
 
-check_layout_CPPFLAGS = $(AM_CPPFLAGS)
-check_layout_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ \
+TESTS_LIBS = support/liblyxsupport.a \
+       $(LIBICONV) $(BOOST_LIBS) @LIBS@ \
        $(ICONV_LIBS) $(ZLIB_LIBS) $(QT_LIB) $(LIBSHLWAPI)
+
+check_layout_CPPFLAGS = $(AM_CPPFLAGS)
+check_layout_LDADD = $(check_layout_LYX_OBJS) $(TESTS_LIBS)
 check_layout_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
 check_layout_SOURCES = \
-       insets/InsetLayout.cpp \
-       Color.cpp \
-       Counters.cpp \
-       Floating.cpp \
-       FloatList.cpp \
-       FontInfo.cpp \
-       Layout.cpp \
-       LayoutFile.cpp \
-       Lexer.cpp \
-       ModuleList.cpp \
-       Spacing.cpp \
-       TextClass.cpp \
-       support/tests/dummy_functions.cpp \
-       tests/check_layout.cpp \
-       tests/boost.cpp
+       tests/check_layout.cpp
+check_layout_LYX_OBJS = \
+       insets/InsetLayout.o \
+       CiteEnginesList.o \
+       Color.o \
+       Counters.o \
+       Floating.o \
+       FloatList.o \
+       FontInfo.o \
+       Layout.o \
+       LayoutFile.o \
+       Lexer.o \
+       ModuleList.o \
+       Spacing.o \
+       TextClass.o \
+       tests/dummy_functions.o \
+       tests/boost.o
 
 check_ExternalTransforms_CPPFLAGS = $(AM_CPPFLAGS)
-check_ExternalTransforms_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ \
-       $(ICONV_LIBS) $(ZLIB_LIBS) $(QT_LIB) $(LIBSHLWAPI)
+check_ExternalTransforms_LDADD = $(check_ExternalTransforms_LYX_OBJS) $(TESTS_LIBS)
 check_ExternalTransforms_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
 check_ExternalTransforms_SOURCES = \
-       graphics/GraphicsParams.cpp \
-       insets/ExternalTransforms.cpp \
-       Length.cpp \
-       lengthcommon.cpp \
-       support/tests/dummy_functions.cpp \
-       tests/check_ExternalTransforms.cpp \
-       tests/boost.cpp
+       tests/check_ExternalTransforms.cpp
+check_ExternalTransforms_LYX_OBJS = \
+       tests/dummy_functions.o \
+       tests/boost.o \
+       graphics/GraphicsParams.o \
+       insets/ExternalTransforms.o \
+       Length.o \
+       lengthcommon.o
 
 check_Length_CPPFLAGS = $(AM_CPPFLAGS)
-check_Length_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ \
-       $(ICONV_LIBS) $(ZLIB_LIBS) $(QT_LIB) $(LIBSHLWAPI)
+check_Length_LDADD = $(check_Length_LYX_OBJS) $(TESTS_LIBS)
 check_Length_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
 check_Length_SOURCES = \
-       Length.cpp \
-       lengthcommon.cpp \
-       support/tests/dummy_functions.cpp \
-       tests/check_Length.cpp \
-       tests/boost.cpp
+       tests/check_Length.cpp
+check_Length_LYX_OBJS = \
+       tests/dummy_functions.o \
+       tests/boost.o \
+       Length.o \
+       lengthcommon.o
 
 check_ListingsCaption_CPPFLAGS = $(AM_CPPFLAGS)
-check_ListingsCaption_LDADD = support/liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) @LIBS@ \
-       $(ICONV_LIBS) $(ZLIB_LIBS) $(QT_LIB) $(LIBSHLWAPI)
+check_ListingsCaption_LDADD = $(check_ListingsCaption_LYX_OBJS) $(TESTS_LIBS)
 check_ListingsCaption_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS)
 check_ListingsCaption_SOURCES = \
-       support/tests/dummy_functions.cpp \
-       tests/check_ListingsCaption.cpp \
-       tests/boost.cpp
+       tests/check_ListingsCaption.cpp
+check_ListingsCaption_LYX_OBJS = \
+       tests/dummy_functions.o \
+       tests/boost.o
 
 .PHONY: alltests alltests-recursive updatetests