summaryrefslogtreecommitdiff
path: root/os/macosx/Makefile.setup
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-12-28 01:24:00 +0000
committerbjarni <bjarni@openttd.org>2006-12-28 01:24:00 +0000
commit13f2a34396c88d2f60a370628dd42c8b658b47e8 (patch)
tree66e900d8deb29aa0bacebfc628e5f38a10041449 /os/macosx/Makefile.setup
parentfbec15ab1d3b51b261898b0724ffd58ed16c2d83 (diff)
downloadopenttd-13f2a34396c88d2f60a370628dd42c8b658b47e8.tar.xz
(svn r7588) -Change: [OSX] removed the flag JAGUAR since it didn't work anyway
Also removed all the Makefile code regarding this flag since it's no longer needed Removed documentation about special limitations regarding running the game on OSX 10.2 OpenTTD now officially needs OSX 10.3.9 to work correctly (the trunk needed that for months)
Diffstat (limited to 'os/macosx/Makefile.setup')
-rw-r--r--os/macosx/Makefile.setup21
1 files changed, 6 insertions, 15 deletions
diff --git a/os/macosx/Makefile.setup b/os/macosx/Makefile.setup
index 8057baf1f..38565ced3 100644
--- a/os/macosx/Makefile.setup
+++ b/os/macosx/Makefile.setup
@@ -38,6 +38,10 @@ endif
ifeq ($(shell uname), Darwin)
# it's a hardware mac, not crosscompiling
+ ifeq ($(shell uname -r), 6.8)
+ # OSX 10.2.8 uses Darwin 6.8, so we better set JAGUAR so we avoid the stuff that was added in 10.3 or later
+$(error OpenTTD can not run or compile on MacOS X 10.2. 10.3.9 or newer is needed)
+ endif
NATIVE_OSX:=1
endif
@@ -85,26 +89,13 @@ ifdef OTTD_PPC970
endif
endif
-ifdef JAGUAR
- CFLAGS += -isysroot /Developer/SDKs/MacOSX10.2.8.sdk
- LDFLAGS += -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
- OTTD_PPC:=1
-endif
-
# setting up flags to make a binary, that fits the system it builds on
ifdef NATIVE_OSX
ifndef UNIVERSAL_BINARY
# we are not crosscompiling for other macs
- ifndef JAGUAR
- # the next line fails if it got whitespace in front of it
+ # the next line fails if it got whitespace in front of it
$(shell $(CC) os/macosx/G5_detector.c -o os/macosx/G5_detector)
- IS_G5:=$(shell os/macosx/G5_detector)
- ifeq ($(shell uname -r), 6.8)
- # OSX 10.2.8 uses Darwin 6.8, so we better set JAGUAR so we avoid the stuff that was added in 10.3 or later
- JAGUAR:=1
- OTTD_PPC:=1
- endif
- endif
+ IS_G5:=$(shell os/macosx/G5_detector)
endif
endif