summaryrefslogtreecommitdiff
path: root/make-macosx.sh
diff options
context:
space:
mode:
authorZachary Slater <zachary@ioquake.org>2011-11-24 23:19:04 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:13:59 +0000
commit821d806be093085aa1d2a6e731eac7758211fcdf (patch)
tree2409391d7aa35df3acab7d0f1aff1318e94a70c3 /make-macosx.sh
parentedf9f43e2a99e183b54011b42a1b0444a1aeb6d9 (diff)
Fixed that, still do not run this. I'm not sure why but the video mode handling doesn't work today in Mac OS X 10.7 and recovering is difficult.
Diffstat (limited to 'make-macosx.sh')
-rwxr-xr-xmake-macosx.sh36
1 files changed, 18 insertions, 18 deletions
diff --git a/make-macosx.sh b/make-macosx.sh
index e3535e9d..c3ed5347 100755
--- a/make-macosx.sh
+++ b/make-macosx.sh
@@ -1,34 +1,34 @@
#!/bin/sh
APPBUNDLE=ioquake3.app
-BINARY=ioquake3.x64
-DEDBIN=ioq3ded.x64
+BINARY=ioquake3.x86_64
+DEDBIN=ioq3ded.x86_64
PKGINFO=APPLIOQ3
ICNS=misc/quake3.icns
-DESTDIR=build/release-darwin-x64
+DESTDIR=build/release-darwin-x86_64
BASEDIR=baseq3
MPACKDIR=missionpack
-RENDERDIR=build/release-darwin-x64
+RENDERDIR=build/release-darwin-x86_64
BIN_OBJ="
- build/release-darwin-x64/ioquake3.x64
+ build/release-darwin-x86_64/ioquake3.x86_64
"
BIN_DEDOBJ="
- build/release-darwin-x64/ioq3ded.x64
+ build/release-darwin-x86_64/ioq3ded.x86_64
"
BASE_OBJ="
- build/release-darwin-x64/$BASEDIR/cgamex64.dylib
- build/release-darwin-x64/$BASEDIR/uix64.dylib
- build/release-darwin-x64/$BASEDIR/qagamex64.dylib
+ build/release-darwin-x86_64/$BASEDIR/cgamex86_64.dylib
+ build/release-darwin-x86_64/$BASEDIR/uix86_64.dylib
+ build/release-darwin-x86_64/$BASEDIR/qagamex86_64.dylib
"
MPACK_OBJ="
- build/release-darwin-x64/$MPACKDIR/cgamex64.dylib
- build/release-darwin-x64/$MPACKDIR/uix64.dylib
- build/release-darwin-x64/$MPACKDIR/qagamex64.dylib
+ build/release-darwin-x86_64/$MPACKDIR/cgamex86_64.dylib
+ build/release-darwin-x86_64/$MPACKDIR/uix86_64.dylib
+ build/release-darwin-x86_64/$MPACKDIR/qagamex86_64.dylib
"
RENDER_OBJ="
- build/release-darwin-x64/renderer_opengl1_smp_x64.dylib
- build/release-darwin-x64/renderer_opengl1_x64.dylib
+ build/release-darwin-x86_64/renderer_opengl1_smp_x86_64.dylib
+ build/release-darwin-x86_64/renderer_opengl1_x86_64.dylib
"
cd `dirname $0`
@@ -49,7 +49,7 @@ unset X86_CFLAGS
unset X86_LDFLAGS
if [ -d /Developer/SDKs/MacOSX10.5.sdk ]; then
X86_SDK=/Developer/SDKs/MacOSX10.5.sdk
- X86_CFLAGS="-arch x64 -isysroot /Developer/SDKs/MacOSX10.5.sdk \
+ X86_CFLAGS="-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk \
-DMAC_OS_X_VERSION_MIN_REQUIRED=1050"
X86_LDFLAGS=" -mmacosx-version-min=10.5"
fi
@@ -67,10 +67,10 @@ NCPU=`sysctl -n hw.ncpu`
# intel client and server
-if [ -d build/release-darwin-x64 ]; then
- rm -r build/release-darwin-x64
+if [ -d build/release-darwin-x86_64 ]; then
+ rm -r build/release-darwin-x86_64
fi
-(ARCH=x64 CFLAGS=$X86_CFLAGS LDFLAGS=$X86_LDFLAGS make -j$NCPU) || exit 1;
+(ARCH=x86_64 CFLAGS=$X86_CFLAGS LDFLAGS=$X86_LDFLAGS make -j$NCPU) || exit 1;
echo "Creating .app bundle $DESTDIR/$APPBUNDLE"
if [ ! -d $DESTDIR/$APPBUNDLE/Contents/MacOS/$BASEDIR ]; then