]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
Account for old versions of Pygments
[lyx.git] / src / frontends / Makefile.am
index c67e83a72b46a4599f0d1f2acc209a07c6e9d2e1..862613a67f51964dded997125b30f6fcd9cac155 100644 (file)
@@ -4,34 +4,21 @@ SUBDIRS = $(FRONTENDS_SUBDIRS) .
 
 DIST_SUBDIRS = qt4 .
 
-EXTRA_DIST = pch.h
+noinst_LIBRARIES = liblyxfrontends.a
 
-BUILT_SOURCES = $(PCH_FILE)
+AM_CPPFLAGS += -I$(srcdir)/.. \
+       $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
 
-noinst_LTLIBRARIES = liblyxfrontends.la
-
-AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/..  $(BOOST_INCLUDES)
-
-liblyxfrontends_la_SOURCES = \
-       alert.cpp \
+liblyxfrontends_a_SOURCES = \
        alert.h \
-       Alert_pimpl.h \
-       Application.cpp \
        Application.h \
-       NoGuiFontLoader.h \
-       NoGuiFontMetrics.h \
-       Dialogs.cpp \
-       Dialogs.h \
-       FileDialog.h \
        FontLoader.h \
        FontMetrics.h \
+       Delegates.h \
        KeyModifier.h \
        KeySymbol.h \
-       LyXView.h \
-       Painter.cpp \
        Painter.h \
        Clipboard.h \
-       Gui.h \
        Selection.h \
        WorkArea.h \
        WorkAreaManager.cpp \
@@ -40,20 +27,25 @@ liblyxfrontends_la_SOURCES = \
 
 ################################# Tests ################################
 
-EXTRA_DIST += tests/test_biblio
+EXTRA_DIST = \
+       CMakeLists.txt \
+       tests/CMakeLists.txt \
+       tests/test_biblio.cmake \
+       tests/test_biblio \
+       tests/regfiles/biblio
 
 TESTS = \
-       test_biblio
+       tests/test_biblio
 
 check_PROGRAMS = \
        biblio
 
-biblio_LDADD = $(BOOST_REGEX)
+biblio_LDADD = $(BOOST_LIBS) $(ICONV_LIBS) $(ZLIB_LIBS)
 biblio_SOURCES = \
        tests/biblio.cpp \
        tests/boost.cpp
 
 makeregfiles: ${check_PROGRAMS}
        for all in ${check_PROGRAMS} ; do \
-               ./$$all > ${srcdir}/regfiles/$$all ; \
+               ./$$all > ${srcdir}/tests/regfiles/$$all ; \
        done