From d6f32df425c3283780f6d258b51397f6b805139e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 10 Sep 2007 20:10:39 +0000 Subject: [PATCH] * Revert to 1172 --- Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 4fb33eb4..64b443f2 100644 --- a/Makefile +++ b/Makefile @@ -10,12 +10,7 @@ ifeq ($(COMPILE_PLATFORM),darwin) # Apple does some things a little differently... COMPILE_ARCH=$(shell uname -p | sed -e s/i.86/i386/) else - ifeq ($(COMPILE_PLATFORM),sunos) - # So does SunOS - COMPILE_ARCH=$(shell uname -p | sed -e s/i.86/i386/) - else - COMPILE_ARCH=$(shell uname -m | sed -e s/i.86/i386/) - endif + COMPILE_ARCH=$(shell uname -m | sed -e s/i.86/i386/) endif ifeq ($(COMPILE_PLATFORM),mingw32) @@ -167,7 +162,6 @@ LIB=lib INSTALL=install MKDIR=mkdir -GREP=grep ifeq ($(PLATFORM),linux) @@ -593,11 +587,9 @@ else # ifeq IRIX ifeq ($(PLATFORM),sunos) - CROSS_COMPILING=0 CC=gcc INSTALL=ginstall MKDIR=gmkdir - GREP=/usr/xpg4/bin/grep COPYDIR="/usr/local/share/games/quake3" ifneq (,$(findstring i86pc,$(shell uname -m))) @@ -639,7 +631,6 @@ ifeq ($(PLATFORM),sunos) BASE_CFLAGS += -DNO_VM_COMPILED endif - BASE_CFLAGS += -I$(SDL_DIR)/include DEBUG_CFLAGS = $(BASE_CFLAGS) -ggdb -O0 RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE) @@ -883,16 +874,15 @@ BASE_CFLAGS += -DMINSDL_MAJOR=$(MINSDL_MAJOR) \ -DMINSDL_PATCH=$(MINSDL_PATCH) libversioncheck: -ifneq ($(COMPILE_PLATFORM),sunos) @/bin/echo -e "#include \"SDL_version.h\"\n" \ "#if SDL_VERSION_ATLEAST(" \ "$(MINSDL_MAJOR),$(MINSDL_MINOR),$(MINSDL_PATCH)" \ ")\nMINSDL_PASSED\n#endif" | \ - $(CC) $(BASE_CFLAGS) -E - | $(GREP) -q MINSDL_PASSED || \ + $(CC) $(BASE_CFLAGS) -E - | grep -q MINSDL_PASSED || \ ( /bin/echo "SDL version" \ "$(MINSDL_MAJOR).$(MINSDL_MINOR).$(MINSDL_PATCH)" \ "or greater required" && exit 1 ) -endif + ############################################################################# # CLIENT/SERVER