summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-12-07 22:34:37 +0000
committerDave Chapman <dave@dchapman.com>2007-12-07 22:34:37 +0000
commit06c405620c8300d90799e1ad962964ff7227d662 (patch)
tree52340d35f34956dff3fc9bbfa924ef98a11a2b60
parent2b5f979d75a3d1c85b498c87ba6ae4c98c3011bc (diff)
downloadrockbox-06c405620c8300d90799e1ad962964ff7227d662.tar.gz
rockbox-06c405620c8300d90799e1ad962964ff7227d662.zip
Remove X11/win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15893 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/sudoku/Makefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/apps/plugins/sudoku/Makefile b/apps/plugins/sudoku/Makefile
index ce3c2027af..bb1425c628 100644
--- a/apps/plugins/sudoku/Makefile
+++ b/apps/plugins/sudoku/Makefile
@@ -44,23 +44,6 @@ $(OBJDIR)/sudoku.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS)
44$(OUTPUT): $(OBJDIR)/sudoku.elf 44$(OUTPUT): $(OBJDIR)/sudoku.elf
45 $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ 45 $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@
46else 46else
47
48ifeq ($(SIMVER), x11)
49###################################################
50# This is the X11 simulator version
51
52$(OUTPUT): $(OBJS)
53 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -o $@
54ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
55# 'x' must be kept or you'll have "Win32 error 5"
56# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
57# #define ERROR_ACCESS_DENIED 5L
58else
59 @chmod -x $@
60endif
61
62else # end of x11-simulator
63ifeq ($(SIMVER), sdl)
64################################################### 47###################################################
65# This is the SDL simulator version 48# This is the SDL simulator version
66 49
@@ -74,25 +57,6 @@ else
74 @chmod -x $@ 57 @chmod -x $@
75endif 58endif
76 59
77else # end of sdl-simulator
78###################################################
79# This is the win32 simulator version
80DLLTOOLFLAGS = --export-all
81DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
82
83$(OUTPUT): $(OBJS)
84 $(call PRINTS,DLL $(@F))$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $(OBJS)
85 $(SILENT)$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $(OBJS) \
86 $(BUILDDIR)/libplugin.a $(BITMAPLIBS) -o $@
87ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
88# 'x' must be kept or you'll have "Win32 error 5"
89# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
90# #define ERROR_ACCESS_DENIED 5L
91else
92 @chmod -x $@
93endif
94endif # end of win32-simulator
95endif
96endif # end of simulator section 60endif # end of simulator section
97 61
98 62