summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-11 16:44:12 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-11 16:44:12 +0000
commit25018c455b1297b72bb793a8eba7bc9426e28326 (patch)
tree438e57f78edd43f3b0e20142f5e25a94368544c4 /Makefile
parent1124712760b2dbcd73c67a8e7249b85d860668fc (diff)
downloadnetsurf-25018c455b1297b72bb793a8eba7bc9426e28326.tar.gz
netsurf-25018c455b1297b72bb793a8eba7bc9426e28326.tar.bz2
Make nsgtk compile on Mac OS X.
svn path=/trunk/netsurf/; revision=5031
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 15 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index a207877bf..262891aa0 100644
--- a/Makefile
+++ b/Makefile
@@ -60,12 +60,6 @@ else
# Haiku implements the BeOS API
HOST := beos
endif
- ifeq ($(HOST),AmigaOS)
- HOST := amiga
- ifeq ($(TARGET),)
- TARGET := amiga
- endif
- endif
ifeq ($(HOST),beos)
# Build happening on BeOS platform, default target is BeOS backend
ifeq ($(TARGET),)
@@ -74,9 +68,21 @@ else
# BeOS still uses gcc2
GCCVER := 2
else
- # Build happening on non-RO platform, default target is GTK backend
- ifeq ($(TARGET),)
- TARGET := gtk
+ ifeq ($(HOST),AmigaOS)
+ HOST := amiga
+ ifeq ($(TARGET),)
+ TARGET := amiga
+ endif
+ GCCVER := 2
+ else
+ ifeq ($(HOST),Darwin)
+ HOST := macosx
+ endif
+
+ # Default target is GTK backend
+ ifeq ($(TARGET),)
+ TARGET := gtk
+ endif
endif
endif
endif