(svn r3276) reverted the last two commits. OSX 10.2 kept finding new stuff to prevent it from running OpenTTD, so now it's not supported anymore

This commit is contained in:
bjarni
2005-12-09 13:17:31 +00:00
parent 6cfdfcc4ba
commit 26a5e120e8
6 changed files with 9 additions and 57 deletions

View File

@@ -29,29 +29,16 @@ $(warning Compiling a release build, that is a debug build)
endif
endif
ifdef JAGUAR
ifdef FAT_BINARY
$(error FAT_BINARY and JAGUAR can't be used at the same time)
endif
endif
# setup flags if none are defined
ifndef CFLAGS_JAGUAR
CFLAGS_JAGUAR:= -isysroot /Developer/SDKs/MacOSX10.2.8.sdk
endif
ifndef LDFLAGS_JAGUAR
LDFLAGS_JAGUAR:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
endif
ifndef PPC_CC
PPC_CC:=powerpc-apple-darwin8-gcc-4.0.0
endif
ifndef CFLAGS_PPC
CFLAGS_PPC:= -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
endif
ifndef LDFLAGS_PPC
LDFLAGS_PPC:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk
endif
ifndef PPC_CC
PPC_CC:=powerpc-apple-darwin8-gcc-4.0.0
endif
ifndef CFLAGS_x86
CFLAGS_x86:= -isysroot /Developer/SDKs/MacOSX10.4u.sdk
endif
@@ -128,14 +115,3 @@ $(error no x86 SDL lib found)
LDFLAGS:= $(LDFLAGS_PPC)
endif
endif
ifdef JAGUAR
CFLAGS:=$(CFLAGS_JAGUAR)
LDFLAGS:=$(LDFLAGS_JAGUAR)
# network support is broken is jaguar (OSX 10.2)
WITH_NETWORK:=
# crosscompiling for jaguar should always be static
STATIC:=1
# libpng appears to break it too
WITH_PNG:=
endif