summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
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 /apps/plugins/mpegplayer
parenta703930d84118928c669a5ef71344db85610e35f (diff)
downloadrockbox-d9114816874bd50b29475ac424b2475a55e17427.zip
rockbox-d9114816874bd50b29475ac424b2475a55e17427.tar.gz
rockbox-d9114816874bd50b29475ac424b2475a55e17427.tar.bz2
rockbox-d9114816874bd50b29475ac424b2475a55e17427.tar.xz
Remove unused x11 and win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15602 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-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 7f4e2e3..c43dde0 100644
--- a/apps/plugins/mpegplayer/Makefile
+++ b/apps/plugins/mpegplayer/Makefile
@@ -48,24 +48,6 @@ $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) $(BUILDDIR)/libmad-mpegplayer.a
$(OUTPUT): $(OBJDIR)/mpegplayer.elf
$(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@
else
-
-ifeq ($(SIMVER), x11)
-###################################################
-# This is the X11 simulator version
-
-$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
- $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -lmad-mpegplayer -o $@
-ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
-# 'x' must be kept or you'll have "Win32 error 5"
-# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
-# #define ERROR_ACCESS_DENIED 5L
-else
- @chmod -x $@
-endif
-
-else # end of x11-simulator
-ifeq ($(SIMVER), sdl)
-###################################################
# This is the SDL simulator version
$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
@@ -78,27 +60,7 @@ else
@chmod -x $@
endif
-else # end of sdl-simulator
-###################################################
-# This is the win32 simulator version
-DLLTOOLFLAGS = --export-all
-DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
-
-$(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a
- $(call PRINTS,DLL $(@F))$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS)
- $(SILENT)@$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \
- $(BUILDDIR)/libplugin.a -o $@
-ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
-# 'x' must be kept or you'll have "Win32 error 5"
-# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
-# #define ERROR_ACCESS_DENIED 5L
-else
- @chmod -x $@
-endif
-endif # end of win32-simulator
-endif
-endif # end of simulator section
-
+endif # end of sdl-simulator
include $(TOOLSDIR)/make.inc