DC: Sync legacy makefile with recent changes

svn-id: r55173
This commit is contained in:
Marcus Comstedt 2011-01-08 20:51:25 +00:00
parent 59945ac2d0
commit 910e2f0760

View File

@ -21,8 +21,8 @@ DEPDIR = .deps
CXX_UPDATE_DEP_FLAG = -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP
PLUGIN_PREFIX =
PLUGIN_SUFFIX = .plg
PLUGIN_EXTRA_DEPS = plugin.x plugin.syms scummvm.elf
PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,-Tplugin.x,--just-symbols,scummvm.elf,--retain-symbols-file,plugin.syms -L$(ronindir)/lib
PLUGIN_EXTRA_DEPS = plugin.x plugin.syms scummvm.elf plugin_head.o
PLUGIN_LDFLAGS = -nostartfiles -Wl,-q,-Tplugin.x,--just-symbols,scummvm.elf,--retain-symbols-file,plugin.syms -L$(ronindir)/lib plugin_head.o
MKDIR = mkdir -p
RM = rm -f
RM_REC = rm -rf
@ -81,7 +81,9 @@ SCUMMVM.BIN : scummvm.bin
plugin_dist : plugins
for p in $(PLUGINS); do \
sh-elf-strip -g -o "`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`" "$$p"; \
t="`basename \"$$p\" | LC_CTYPE=C tr '[:lower:]' '[:upper:]'`"; \
sh-elf-strip -g -o "$$t" "$$p"; \
./check_plugin_symbols "$$t"; \
done
dist : SCUMMVM.BIN plugin_dist