X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FMakefile.am;h=862613a67f51964dded997125b30f6fcd9cac155;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=4387df58537e352c3815d03d8e017587ee9f2eca;hpb=456524da4536c512af624934d7f52d2c10d71e7a;p=lyx.git diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index 4387df5853..862613a67f 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -1,40 +1,25 @@ 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 = 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 \ - Painter.cpp \ Painter.h \ Clipboard.h \ - Gui.h \ Selection.h \ - WorkArea.cpp \ WorkArea.h \ WorkAreaManager.cpp \ WorkAreaManager.h \ @@ -42,20 +27,25 @@ liblyxfrontends_la_SOURCES = \ ################################# Tests ################################ -EXTRA_DIST += tests/test_biblio +EXTRA_DIST = \ + CMakeLists.txt \ + tests/CMakeLists.txt \ + tests/test_biblio.cmake \ + tests/test_biblio \ + tests/regfiles/biblio TESTS = \ - test_biblio + tests/test_biblio check_PROGRAMS = \ biblio -biblio_LDADD = $(BOOST_REGEX) +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}/regfiles/$$all ; \ + ./$$all > ${srcdir}/tests/regfiles/$$all ; \ done