X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FMakefile.am;h=ffb999b38e85417d816dfcc521bd4e4b0b28c540;hb=e093f9212b5fbb09811d2a27aa381105136e9cc5;hp=ebb42d13f0679a64bcea4ce339b18e1594aa9e4f;hpb=12b09d52517972bdc91ba23917e6687c100e6b42;p=lyx.git diff --git a/src/frontends/controllers/Makefile.am b/src/frontends/controllers/Makefile.am index ebb42d13f0..ffb999b38e 100644 --- a/src/frontends/controllers/Makefile.am +++ b/src/frontends/controllers/Makefile.am @@ -1,103 +1,69 @@ include $(top_srcdir)/config/common.am -EXTRA_DIST = pch.h BCView.tmpl +AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES) -BUILT_SOURCES = $(PCH_FILE) - -pkglib_LTLIBRARIES = liblyxcontrollers.la +EXTRA_DIST = tests/regfiles/biblio -AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES) +noinst_LTLIBRARIES = liblyxcontrollers.la -liblyxcontrollers_la_SOURCES= \ +SOURCEFILES = \ Dialog.cpp \ - Dialog.h \ - Kernel.cpp \ - Kernel.h \ - BCView.h \ - BCView.cpp \ - ButtonController.cpp \ - ButtonController.h \ ButtonPolicy.cpp \ - ButtonPolicy.h \ - ControlAboutlyx.cpp \ - ControlAboutlyx.h \ - ControlBibtex.cpp \ - ControlBibtex.h \ - ControlBox.cpp \ - ControlBox.h \ - ControlBranch.cpp \ - ControlBranch.h \ - ControlCharacter.cpp \ - ControlCharacter.h \ - ControlChanges.cpp \ - ControlChanges.h \ - ControlCitation.cpp \ - ControlCitation.h \ ControlCommand.cpp \ - ControlCommand.h \ ControlCommandBuffer.cpp \ - ControlCommandBuffer.h \ ControlDocument.cpp \ - ControlDocument.h \ - ControlErrorList.cpp \ - ControlErrorList.h \ - ControlERT.cpp \ - ControlERT.h \ ControlExternal.cpp \ - ControlExternal.h \ - ControlFloat.cpp \ - ControlFloat.h \ ControlGraphics.cpp \ - ControlGraphics.h \ - ControlInclude.cpp \ - ControlListings.h \ - ControlListings.cpp \ - ControlInclude.h \ - ControlLog.cpp \ - ControlLog.h \ - ControlViewSource.cpp \ - ControlViewSource.h \ ControlMath.cpp \ - ControlMath.h \ - ControlNote.cpp \ - ControlNote.h \ ControlParagraph.cpp \ - ControlParagraph.h \ ControlPrefs.cpp \ - ControlPrefs.h \ ControlPrint.cpp \ - ControlPrint.h \ - ControlRef.cpp \ - ControlRef.h \ ControlSearch.cpp \ - ControlSearch.h \ ControlSendto.cpp \ - ControlSendto.h \ - ControlShowFile.cpp \ - ControlShowFile.h \ - ControlSpellchecker.cpp \ - ControlSpellchecker.h \ - ControlTabular.cpp \ - ControlTabular.h \ - ControlTabularCreate.cpp \ - ControlTabularCreate.h \ - ControlTexinfo.cpp \ - ControlTexinfo.h \ ControlThesaurus.cpp \ - ControlThesaurus.h \ ControlToc.cpp \ + frontend_helpers.cpp + +HEADERFILES = \ + ButtonPolicy.h \ + ControlCommand.h \ + ControlCommandBuffer.h \ + ControlDocument.h \ + ControlExternal.h \ + ControlGraphics.h \ + ControlMath.h \ + ControlParagraph.h \ + ControlPrefs.h \ + ControlPrint.h \ + ControlSearch.h \ + ControlSendto.h \ + ControlThesaurus.h \ ControlToc.h \ - ControlVSpace.cpp \ - ControlVSpace.h \ - ControlWrap.cpp \ - ControlWrap.h \ - frontend_helpers.cpp \ 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 += test_biblio +EXTRA_DIST += tests/test_biblio TESTS = \ test_biblio