diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-11 16:44:12 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-08-11 16:44:12 +0000 |
commit | 25018c455b1297b72bb793a8eba7bc9426e28326 (patch) | |
tree | 438e57f78edd43f3b0e20142f5e25a94368544c4 /Makefile | |
parent | 1124712760b2dbcd73c67a8e7249b85d860668fc (diff) | |
download | netsurf-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-- | Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -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 |