include $(top_srcdir)/config/common.am AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES) EXTRA_DIST = tests/regfiles/biblio noinst_LTLIBRARIES = liblyxcontrollers.la SOURCEFILES = \ Dialog.cpp \ ButtonPolicy.cpp \ ControlCharacter.cpp \ ControlCitation.cpp \ ControlCommand.cpp \ ControlCommandBuffer.cpp \ ControlDocument.cpp \ ControlEmbeddedFiles.cpp \ ControlErrorList.cpp \ ControlExternal.cpp \ ControlGraphics.cpp \ ControlInclude.cpp \ ControlLog.cpp \ ControlViewSource.cpp \ ControlMath.cpp \ ControlParagraph.cpp \ ControlPrefs.cpp \ ControlPrint.cpp \ ControlSearch.cpp \ ControlSendto.cpp \ ControlSpellchecker.cpp \ ControlThesaurus.cpp \ ControlToc.cpp \ frontend_helpers.cpp HEADERFILES = \ ButtonPolicy.h \ ControlCharacter.h \ ControlCitation.h \ ControlCommand.h \ ControlCommandBuffer.h \ ControlDocument.h \ ControlErrorList.h \ ControlEmbeddedFiles.h \ ControlExternal.h \ ControlGraphics.h \ ControlInclude.h \ ControlLog.h \ ControlViewSource.h \ ControlMath.h \ ControlParagraph.h \ ControlPrefs.h \ ControlPrint.h \ ControlSearch.h \ ControlSendto.h \ ControlSpellchecker.h \ ControlThesaurus.h \ ControlToc.h \ frontend_helpers.h if MONOLITHIC_CONTROLLERS lyxcontrollers.cpp: @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@ BUILT_SOURCES = lyxcontrollers.cpp liblyxcontrollers_la_SOURCES = lyxcontrollers.cpp $(HEADERFILES) else EXTRA_DIST += pch.h BUILT_SOURCES = $(PCH_FILE) AM_CPPFLAGS += $(PCH_FLAGS) liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES) endif ################################# Tests ################################ EXTRA_DIST += tests/test_biblio TESTS = \ test_biblio check_PROGRAMS = \ biblio biblio_LDADD = $(BOOST_REGEX) biblio_SOURCES = \ tests/biblio.cpp \ tests/boost.cpp makeregfiles: ${check_PROGRAMS} for all in ${check_PROGRAMS} ; do \ ./$$all > ${srcdir}/regfiles/$$all ; \ done