]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Makefile.am
Hack to display section symbol
[lyx.git] / src / frontends / Makefile.am
index c9dbfa3c484870e56a56abcad8fe7bf89d8ab276..a8f233e25a74f6367f7765556653d95a2cdf8632 100644 (file)
@@ -1,41 +1,53 @@
 include $(top_srcdir)/config/common.am
 
-SUBDIRS = controllers $(FRONTENDS_SUBDIRS)
+SUBDIRS = $(FRONTENDS_SUBDIRS) .
 
-DIST_SUBDIRS = controllers qt4
+DIST_SUBDIRS = qt .
 
-EXTRA_DIST = pch.h
+noinst_LIBRARIES = liblyxfrontends.a
 
-BUILT_SOURCES = $(PCH_FILE)
+AM_CPPFLAGS += -I$(srcdir)/.. \
+       $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES) $(NOD_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 \
+       CaretGeometry.h \
        FontLoader.h \
        FontMetrics.h \
+       Delegates.h \
        KeyModifier.h \
        KeySymbol.h \
-       LyXView.cpp \
-       LyXView.h \
-       Painter.cpp \
+       NullPainter.h \
        Painter.h \
        Clipboard.h \
-       Gui.h \
        Selection.h \
-       WorkArea.cpp \
        WorkArea.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 = $(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