X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FMakefile.am;h=862613a67f51964dded997125b30f6fcd9cac155;hb=0dd3311dd42996f9aede7d8c58b27937ebb48b54;hp=a8b4a6024ac473ffa214c4bab7f72054aa531e49;hpb=50016ccf3a1c010756427be49d376099e085d71c;p=lyx.git diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index a8b4a6024a..862613a67f 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,45 +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) -noinst_LTLIBRARIES = libfrontends.la - -AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) - -libfrontends_la_SOURCES = \ - Alert.cpp \ - Alert.h \ - Alert_pimpl.h \ - Application.cpp \ +liblyxfrontends_a_SOURCES = \ + alert.h \ Application.h \ - NoGuiFontLoader.h \ - NoGuiFontMetrics.h \ - Dialogs.cpp \ - Dialogs.h \ - FileDialog.h \ FontLoader.h \ FontMetrics.h \ + Delegates.h \ + KeyModifier.h \ KeySymbol.h \ - KeySymbolFactory.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