summaryrefslogtreecommitdiff
path: root/apps/plugins/databox/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-09 11:22:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-09 11:22:36 +0000
commit0e419987e48b006104748118fa28161484b7dfa1 (patch)
tree45c1c1fe81309615e1e6d239183b677be90feb41 /apps/plugins/databox/Makefile
parentd2a10f5676a4ab53aec437bd5976e2aef6bde0a4 (diff)
downloadrockbox-0e419987e48b006104748118fa28161484b7dfa1.tar.gz
rockbox-0e419987e48b006104748118fa28161484b7dfa1.zip
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
simulator with the hope that once it works fine, we can remove the other two and only have one unified simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox/Makefile')
-rw-r--r--apps/plugins/databox/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/apps/plugins/databox/Makefile b/apps/plugins/databox/Makefile
index 12b211d527..78387fd6f1 100644
--- a/apps/plugins/databox/Makefile
+++ b/apps/plugins/databox/Makefile
@@ -56,6 +56,22 @@ else
56endif 56endif
57 57
58else # end of x11-simulator 58else # end of x11-simulator
59ifeq ($(SIMVER), sdl)
60###################################################
61# This is the SDL simulator version
62
63$(OUTPUT): $(OBJS)
64 @echo "LD $<"
65 @$(CC) $(CFLAGS) -shared $(OBJS) -L$(BUILDDIR) -lplugin -o $@
66ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
67# 'x' must be kept or you'll have "Win32 error 5"
68# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
69# #define ERROR_ACCESS_DENIED 5L
70else
71 @chmod -x $@
72endif
73
74else # end of sdl-simulator
59################################################### 75###################################################
60# This is the win32 simulator version 76# This is the win32 simulator version
61DLLTOOLFLAGS = --export-all 77DLLTOOLFLAGS = --export-all
@@ -74,7 +90,7 @@ else
74 @chmod -x $@ 90 @chmod -x $@
75endif 91endif
76endif # end of win32-simulator 92endif # end of win32-simulator
77 93endif
78endif # end of simulator section 94endif # end of simulator section
79 95
80 96