diff options
author | Marcus Comstedt | 2009-03-21 15:15:29 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-03-21 15:15:29 +0000 |
commit | 760133e8caea4872ebdb379f90193755b36336fa (patch) | |
tree | 4ab3557506867a92436f31068032219bd1c03ac3 /configure | |
parent | c3bac3d851c25a0a1389d97fc24f8f1c56d6d87a (diff) | |
download | scummvm-rg350-760133e8caea4872ebdb379f90193755b36336fa.tar.gz scummvm-rg350-760133e8caea4872ebdb379f90193755b36336fa.tar.bz2 scummvm-rg350-760133e8caea4872ebdb379f90193755b36336fa.zip |
Added support for dynamic plugins on Dreamcast to the configure script.
svn-id: r39587
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1410,6 +1410,22 @@ PRE_OBJS_FLAGS := -Wl,--whole-archive POST_OBJS_FLAGS := -Wl,--export-all-symbols -Wl,--no-whole-archive -Wl,--out-implib,./libscummvm.a ' ;; + dreamcast) +_def_plugin=' +#define PLUGIN_PREFIX "" +#define PLUGIN_SUFFIX ".plg" +' +_mak_plugins=' +DYNAMIC_MODULES := 1 +PLUGIN_PREFIX := +PLUGIN_SUFFIX := .plg +PLUGIN_EXTRA_DEPS = $(srcdir)/backends/platform/dc/plugin.x $(srcdir)/backends/platform/dc/plugin.syms $(EXECUTABLE) +CXXFLAGS += -DDYNAMIC_MODULES +PLUGIN_LDFLAGS = -ml -m4-single-only -nostartfiles -Wl,-q,-T$(srcdir)/backends/platform/dc/plugin.x,--just-symbols,$(EXECUTABLE),--retain-symbols-file,$(srcdir)/backends/platform/dc/plugin.syms -L$(ronindir)/lib +PRE_OBJS_FLAGS := -Wl,--whole-archive +POST_OBJS_FLAGS := -Wl,--no-whole-archive +' + ;; *) _dynamic_modules=no _mak_plugins= |