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