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.
This commit is contained in:
Amar Takhar 2008-03-11 05:45:45 +00:00
parent 02abe1f0f8
commit 311b78afec

View file

@ -90,6 +90,12 @@ AUTO3_LUA = auto4_auto3.cpp
aegisub_LDADD += -L$(srcdir)/../auto3 -laegisub-auto3 aegisub_LDADD += -L$(srcdir)/../auto3 -laegisub-auto3
endif 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 if HAVE_HUNSPELL
noinst_LIBRARIES += libmisc_hunspell.a noinst_LIBRARIES += libmisc_hunspell.a
@ -230,7 +236,6 @@ aegisub_SOURCES = \
mkv_wrap.cpp \ mkv_wrap.cpp \
mythes.cxx \ mythes.cxx \
options.cpp \ options.cpp \
plugin_manager.cpp \
scintilla_text_ctrl.cpp \ scintilla_text_ctrl.cpp \
spellchecker.cpp \ spellchecker.cpp \
spline.cpp \ spline.cpp \