From 311b78afecbb4706c1510addce91e8b77bb3f81d Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 11 Mar 2008 05:45:45 +0000 Subject: [PATCH] Put plugin_manager.cpp into it's own library, since it needs to be sent all CFLAGS for any enabled automation. (this is temp until we have actual working plugins) Originally committed to SVN as r2013. --- aegisub/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aegisub/Makefile.am b/aegisub/Makefile.am index 8f155d079..cb41c7bc4 100644 --- a/aegisub/Makefile.am +++ b/aegisub/Makefile.am @@ -90,6 +90,12 @@ AUTO3_LUA = auto4_auto3.cpp aegisub_LDADD += -L$(srcdir)/../auto3 -laegisub-auto3 endif +if HAVE_AUTOMATION +noinst_LIBRARIES += libmisc_automanager.a +libmisc_automanager_a_SOURCES = plugin_manager.cpp +aegisub_LDADD += libmisc_automanager.a +libmisc_automanager_a_CPPFLAGS = @PERL_CFLAGS@ @RUBY_CFLAGS@ @LUA50_CPPFLAGS@ @LUA_CPPFLAGS@ +endif if HAVE_HUNSPELL noinst_LIBRARIES += libmisc_hunspell.a @@ -230,7 +236,6 @@ aegisub_SOURCES = \ mkv_wrap.cpp \ mythes.cxx \ options.cpp \ - plugin_manager.cpp \ scintilla_text_ctrl.cpp \ spellchecker.cpp \ spline.cpp \