From: Rudolf Polzer Date: Sun, 28 Mar 2010 17:17:58 +0000 (+0200) Subject: some minor fixes for the osxnetradiant changes X-Git-Tag: xonotic-v0.5.0~277^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a3cfcb0acdcb21bc23a2166c442a3bd0dbd18349;p=xonotic%2Fnetradiant.git some minor fixes for the osxnetradiant changes --- diff --git a/Makefile b/Makefile index 14cfac91..17e2b663 100644 --- a/Makefile +++ b/Makefile @@ -193,7 +193,7 @@ ifeq ($(OS),Darwin) DLL = dylib MWINDOWS = MACVERSION ?= 16 - CPPFLAGS += -DMACVERSION="$(MACVERSION)" + CPPFLAGS_COMMON += -DMACVERSION="$(MACVERSION)" # workaround for weird prints ECHO_NOLF = /bin/echo -n diff --git a/Makefile.conf b/Makefile.conf index ef1d5bfc..0f5fa924 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -1,20 +1 @@ -# Makefile.conf template - -## OS X: -BUILD=debug -RADIANT_ABOUTMSG=OSX NetRadiant Custom build -EXE=ub -### Snow Leopard 16, Leopard 15, Tiger 14, Panther 13 -MACVERSION=16 -# -## MacPorts: -CPPFLAGS=-I/opt/local/include/ -I/usr/X11R6/include/ -LDFLAGS=-L/opt/local/lib -L/usr/X11R6/lib -MACLIBDIR=/opt/local/lib - -## Fink -## (-arch ppc can combined with -arch 386, I read somewhere. However does work fine like this on OSX 10.6) -# LDFLAGS=-arch i386 -# CFLAGS=-arch i386 -# TARGET_ARCH=-arch i386 -# MACLIBDIR=/sw/lib +# empty Makefile.conf template diff --git a/install-dylibs.sh b/install-dylibs.sh index fd70339a..798a7d14 100644 --- a/install-dylibs.sh +++ b/install-dylibs.sh @@ -47,7 +47,7 @@ cp -L "$MACLIBDIR"/../etc/fonts/fonts.dtd "$INSTALLDIR" cp -L "$MACLIBDIR"/../etc/gtk-2.0/gdk-pixbuf.loaders "$INSTALLDIR" cp -L "$MACLIBDIR"/../etc/pango/pangorc "$INSTALLDIR" -$CAT > $INSTALLDIR/../netradiant.sh < "$INSTALLDIR/../netradiant.sh" <