diff options
author | Stefan Gartner <stefang@aon.at> | 2010-01-03 23:35:13 +0300 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2010-01-03 23:35:13 +0300 |
commit | 1f33d574c2d18f0037f5e168dbd1a54d23dad6d7 (patch) | |
tree | f1e74363273795545fc9a07992838da273068b53 /intern | |
parent | c6e40798fbbd6996310630198261fec194a2109e (diff) |
OS X Makefiles:
* added some new variables (mostly the same as with scons):
- USE_COCOA: use Cocoa for ghost (defaults to true)
- MACOSX_ARCHITECTURE: can be ppc, ppc64, i386, x86_64. By default this is the host architecture
(ppc for PowerPC Macs, i386 for Intel Macs). In theory this allows to cross compile blender for
a different architecture, though cross compilation only works on Intel Macs, because makesdna
and makesrna are built for the target architecture.
For a 64 bit build, set MACOSX_ARCHITECTURE to x86_64 (Intel) or ppc64 (PowerPC).
- MACOSX_MIN_VERS: minimum OS X version to run blender on (10.4 for 32 bit builds, 10.5 for 64 bit builds)
- MACOSX_DEPLOYMENT_TARGET: needed by the linker to create an Application targeted for a specific
OS version (defaults to 10.4 for 32 bit builds, 10.5 for 64 bit builds)
- MACOSX_SDK: path to a specific SDK. currently not used
- USE_QTKIT: use QTKit instead of QuickTime (defaults to true for 64 bit builds, as using QTKit
is mandatory in that case))
* use the same compiler flags as scons
* default compiler now is gcc-4.0 when building for 10.4 and gcc-4.2 when building for 10.5
* extract $(LCGDIR)/release/python_$(MACOSX_ARCHITECTURE).zip to Application bundle. This might
break building on 10.4, to fix that, rename $(LCGDIR)/release/python.zip
When compiling blender, only MACOSX_ARCHITECTURE might be of interest, as it allows doing 64 bit
builds (or 32 bit PowerPC builds on Intel). All other variables are then set to reasonable defaults.
For current users of the Makefile system, this commit shouldn't change much.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/Makefile b/intern/ghost/intern/Makefile index a6392662c30..d9f2bfe7cde 100644 --- a/intern/ghost/intern/Makefile +++ b/intern/ghost/intern/Makefile @@ -42,7 +42,7 @@ CCSRCS += GHOST_NDOFManager.cpp ifeq ($(OS),$(findstring $(OS), "darwin")) ifeq ($(WITH_COCOA), true) - OCSRCS += $(wildcard *Cocoa.mm) + OCCSRCS += $(wildcard *Cocoa.mm) CPPFLAGS += -DGHOST_COCOA ifeq ($(WITH_QUICKTIME), true) CPPFLAGS += -DWITH_QUICKTIME |