summaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2006-03-02 03:24:20 +0000
committerSam Lantinga <slouken@libsdl.org>2006-03-02 03:24:20 +0000
commit57e208b928a5a8ce1382091668e30078a84d8ec7 (patch)
tree3f3af07b0e150aed93c3c1c36e525ab4b8c66bd0 /build-scripts
parenta4b20c800a91a1be9177915bd00c28d19ad72ca3 (diff)
Date: Wed, 01 Mar 2006 10:14:31 +0000
From: "alan buckley" Subject: Re: Updating SDL for RISC OS I've attached a zip file with three diffs to get SDL to build on RISC OS. configure.in.diff and makedeps.sh.diff have been modified so that they can build the assembler file in video/riscos. You may want to double check these as I don't know a lot about unix shell programming. (I've tested them cross-compiling on cygwin). sdlsysthread.diff is the changes required to SDL_systhread.c for RISC OS. As you suspected with these changes in place you can delete the RISC OS specific threading code in thread/riscos. I've also renamed SDL_riscosASM.s to SDL_riscosASM.S, but I'm never quite sure how to rename files in CVS, so if you could to this it would be appreciated. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401463
Diffstat (limited to 'build-scripts')
-rwxr-xr-xbuild-scripts/makedep.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-scripts/makedep.sh b/build-scripts/makedep.sh
index f9801fe3..ffea4bd2 100755
--- a/build-scripts/makedep.sh
+++ b/build-scripts/makedep.sh
@@ -69,6 +69,12 @@ __EOF__
__EOF__
;;
+ S) cat >>${output}.new <<__EOF__
+
+ \$(LIBTOOL) --mode=compile \$(CC) -c $src -o \$@
+
+__EOF__
+ ;;
*) echo "Unknown file extension: $ext";;
esac
echo "" >>${output}.new