]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
Account for old versions of Pygments
[lyx.git] / src / frontends / Makefile.am
index 3e9b14ac00c864784f536bd568c3cbbaf6c287aa..862613a67f51964dded997125b30f6fcd9cac155 100644 (file)
@@ -1,45 +1,51 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
 
-DIST_SUBDIRS = controllers xforms qt2 gnome gtk
+DIST_SUBDIRS = qt4 .
 
-noinst_LTLIBRARIES = libfrontends.la
+noinst_LIBRARIES = liblyxfrontends.a
 
-INCLUDES = -I$(srcdir)/..  $(BOOST_INCLUDES)
+AM_CPPFLAGS += -I$(srcdir)/.. \
+       $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
 
-AM_CXXFLAGS = $(PCH_FLAGS)
-
-libfrontends_la_DEPENDENCIES = $(PCH_FILE)
-
-libfrontends_la_SOURCES = \
-       Alert.C \
-       Alert.h \
-       Alert_pimpl.h \
-       Dialogs.C \
-       Dialogs.h \
-       FileDialog.h \
-       LyXKeySym.h \
-       LyXKeySymFactory.h \
-       LyXScreenFactory.h \
-       LyXView.C \
-       LyXView.h \
-       Menubar.h \
-       Painter.C \
+liblyxfrontends_a_SOURCES = \
+       alert.h \
+       Application.h \
+       FontLoader.h \
+       FontMetrics.h \
+       Delegates.h \
+       KeyModifier.h \
+       KeySymbol.h \
        Painter.h \
-       Timeout.C \
-       Timeout.h \
-       Toolbars.C \
-       Toolbars.h \
+       Clipboard.h \
+       Selection.h \
        WorkArea.h \
-       WorkAreaFactory.h \
-       font_metrics.h \
-       guiapi.h \
-       guiapi.C \
-       key_state.h \
-       lyx_gui.h \
-       mouse_state.h \
-       nullpainter.C \
-       nullpainter.h \
-       screen.C \
-       screen.h
+       WorkAreaManager.cpp \
+       WorkAreaManager.h \
+       mouse_state.h
+
+################################# Tests ################################
+
+EXTRA_DIST = \
+       CMakeLists.txt \
+       tests/CMakeLists.txt \
+       tests/test_biblio.cmake \
+       tests/test_biblio \
+       tests/regfiles/biblio
+
+TESTS = \
+       tests/test_biblio
+
+check_PROGRAMS = \
+       biblio
+
+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}/tests/regfiles/$$all ; \
+       done