X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FMakefile.am;h=862613a67f51964dded997125b30f6fcd9cac155;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=52f12db20a8e04d55ecc39665a83619e32b508c4;hpb=67e61a395698fdfc8a50d2af593b1c2dd89ac018;p=lyx.git diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index 52f12db20a..862613a67f 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,44 +1,51 @@ include $(top_srcdir)/config/common.am -SUBDIRS = controllers $(FRONTENDS_SUBDIRS) +SUBDIRS = $(FRONTENDS_SUBDIRS) . -DIST_SUBDIRS = controllers 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) -pkglib_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.cpp \ - LyXView.h \ - Menubar.h \ - Painter.cpp \ Painter.h \ - Timeout.cpp \ - Timeout.h \ - Toolbars.cpp \ - Toolbars.h \ Clipboard.h \ - Gui.h \ Selection.h \ - WorkArea.cpp \ WorkArea.h \ - key_state.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