X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FMakefile.am;h=862613a67f51964dded997125b30f6fcd9cac155;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=4ca77284f3eaf28059241e69171ff820e0e8a86d;hpb=63ad5449fb99abae131dec98fe508322a2a31320;p=lyx.git diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index 4ca77284f3..862613a67f 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,48 +1,51 @@ include $(top_srcdir)/config/common.am -SUBDIRS = controllers $(FRONTENDS_SUBDIRS) +SUBDIRS = $(FRONTENDS_SUBDIRS) . -DIST_SUBDIRS = controllers qt3 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 \ - Dialogs.C \ - Dialogs.h \ - FileDialog.h \ - LyXKeySym.h \ - LyXKeySymFactory.h \ - LyXView.C \ - LyXView.h \ - Menubar.h \ - Painter.C \ + FontLoader.h \ + FontMetrics.h \ + 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 \ - font_metrics.h \ - guiapi.h \ - guiapi.C \ - key_state.h \ - lyx_gui.C \ - lyx_gui.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