summaryrefslogtreecommitdiff
path: root/apps/plugins/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/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/Makefile')
-rw-r--r--apps/plugins/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 019a4590c8..98c66c6d46 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -86,6 +86,22 @@ else
86endif 86endif
87 87
88else # end of x11-simulator 88else # end of x11-simulator
89ifeq ($(SIMVER), sdl)
90###################################################
91# This is the SDL simulator version
92
93$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(BUILDDIR)/libplugin.a
94 @echo "LD "`basename $@`
95 @$(CC) $(CFLAGS) -shared $< -L$(BUILDDIR) $(CODECLIBS) -lplugin -o $@
96ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
97# 'x' must be kept or you'll have "Win32 error 5"
98# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
99# #define ERROR_ACCESS_DENIED 5L
100else
101 @chmod -x $@
102endif
103
104else # end of sdl-simulator
89################################################### 105###################################################
90# This is the win32 simulator version 106# This is the win32 simulator version
91DLLTOOLFLAGS = --export-all 107DLLTOOLFLAGS = --export-all
@@ -104,6 +120,7 @@ else
104 @chmod -x $@ 120 @chmod -x $@
105endif 121endif
106endif # end of win32-simulator 122endif # end of win32-simulator
123endif
107 124
108endif # end of simulator section 125endif # end of simulator section
109 126