X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FMakefile.am;h=862613a67f51964dded997125b30f6fcd9cac155;hb=c0a1893008bd13650d470afff16f56720b65c87c;hp=c61e779d6e795b79f896d9aa85404f0bce25955c;hpb=a63cddf51cf08011cd19ee4cdd8070e139741acb;p=lyx.git diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index c61e779d6e..862613a67f 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,49 +1,51 @@ include $(top_srcdir)/config/common.am -SUBDIRS = controllers $(FRONTENDS_SUBDIRS) +SUBDIRS = $(FRONTENDS_SUBDIRS) . -DIST_SUBDIRS = controllers gtk qt4 +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 = libfrontends.la - -AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) - -libfrontends_la_SOURCES = \ - Alert.C \ - Alert.h \ - Alert_pimpl.h \ - Application.C \ +liblyxfrontends_a_SOURCES = \ + alert.h \ Application.h \ - NoGuiFontLoader.h \ - NoGuiFontMetrics.h \ - Dialogs.C \ - Dialogs.h \ - FileDialog.h \ FontLoader.h \ FontMetrics.h \ - LyXKeySym.h \ - LyXKeySymFactory.h \ - LyXView.C \ - LyXView.h \ - Menubar.h \ - Painter.C \ + Delegates.h \ + KeyModifier.h \ + KeySymbol.h \ Painter.h \ - Timeout.C \ - Timeout.h \ - Toolbars.C \ - Toolbars.h \ Clipboard.h \ - Gui.h \ Selection.h \ - WorkArea.C \ WorkArea.h \ - guiapi.h \ - guiapi.C \ - key_state.h \ - mouse_state.h \ - nullpainter.C \ - nullpainter.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