summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-11-12 20:45:22 +0000
committerDave Chapman <dave@dchapman.com>2007-11-12 20:45:22 +0000
commitd9114816874bd50b29475ac424b2475a55e17427 (patch)
tree4063a8637c6bccbe72123c960030b5b68e69b002
parenta703930d84118928c669a5ef71344db85610e35f (diff)
downloadrockbox-d9114816874bd50b29475ac424b2475a55e17427.tar.gz
rockbox-d9114816874bd50b29475ac424b2475a55e17427.zip
Remove unused x11 and win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15602 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/mpegplayer/Makefile40
1 files changed, 1 insertions, 39 deletions
diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile
index 7f4e2e31aa..c43dde04bc 100644
--- a/apps/plugins/mpegplayer/Makefile
+++ b/apps/plugins/mpegplayer/Makefile
@@ -48,24 +48,6 @@ $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) $(BUILDDIR)/libmad-mpegplayer.a
48$(OUTPUT): $(OBJDIR)/mpegplayer.elf 48$(OUTPUT): $(OBJDIR)/mpegplayer.elf
49 $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ 49 $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@
50else 50else
51
52ifeq ($(SIMVER), x11)
53###################################################
54# This is the X11 simulator version
55
56$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
57 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -lmad-mpegplayer -o $@
58ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
59# 'x' must be kept or you'll have "Win32 error 5"
60# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
61# #define ERROR_ACCESS_DENIED 5L
62else
63 @chmod -x $@
64endif
65
66else # end of x11-simulator
67ifeq ($(SIMVER), sdl)
68###################################################
69# This is the SDL simulator version 51# This is the SDL simulator version
70 52
71$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a 53$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
@@ -78,27 +60,7 @@ else
78 @chmod -x $@ 60 @chmod -x $@
79endif 61endif
80 62
81else # end of sdl-simulator 63endif # end of sdl-simulator
82###################################################
83# This is the win32 simulator version
84DLLTOOLFLAGS = --export-all
85DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
86
87$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
88 $(call PRINTS,DLL $(@F))$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS)
89 $(SILENT)@$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \
90 $(BUILDDIR)/libplugin.a -o $@
91ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
92# 'x' must be kept or you'll have "Win32 error 5"
93# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
94# #define ERROR_ACCESS_DENIED 5L
95else
96 @chmod -x $@
97endif
98endif # end of win32-simulator
99endif
100endif # end of simulator section
101
102 64
103include $(TOOLSDIR)/make.inc 65include $(TOOLSDIR)/make.inc
104 66