forked from bartvdbraak/blender
I went whole hog on the definitions each platform has its own block
and there is a block at the very end for platforms not specified above. (not all of the defintions are in the platform's for example there is no need for export NAN_IKSOLVER ?= $(LCGDIR)/iksolver to be repeated all over the place, all of the ones you'll probably want to change are in the platform specific blocks though) This allows all platforms to be overridden by env vars... Kent
This commit is contained in:
parent
3dbf2235e4
commit
fc0e924e0f
@ -42,10 +42,8 @@ all debug::
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# First generic defaults for all, some of which should be overruled
|
# First generic defaults for all platforms which should be constant.
|
||||||
# by platform dependent settings in the next section of this file.
|
|
||||||
# Note: ?= lets these defaults be overruled by environment variables,
|
# Note: ?= lets these defaults be overruled by environment variables,
|
||||||
# except those which are overruled in the platform section below.
|
|
||||||
|
|
||||||
export SRCHOME ?= $(NANBLENDERHOME)/source
|
export SRCHOME ?= $(NANBLENDERHOME)/source
|
||||||
export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
|
export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
|
||||||
@ -59,19 +57,6 @@ all debug::
|
|||||||
export LCGDIR = $(NAN_LIBDIR)/$(CONFIG_GUESS)
|
export LCGDIR = $(NAN_LIBDIR)/$(CONFIG_GUESS)
|
||||||
# Object Config_Guess DIRectory
|
# Object Config_Guess DIRectory
|
||||||
export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
|
export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
|
||||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
|
||||||
export NAN_PYTHON_VERSION ?= 2.0
|
|
||||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
|
||||||
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c 'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
|
||||||
export NAN_OPENAL ?= $(LCGDIR)/openal
|
|
||||||
export NAN_FMOD ?= $(LCGDIR)/fmod
|
|
||||||
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
|
||||||
export NAN_PNG ?= $(LCGDIR)/png
|
|
||||||
export NAN_SDL ?= $(LCGDIR)/sdl
|
|
||||||
export NAN_ODE ?= $(SRCHOME)/ode
|
|
||||||
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
|
||||||
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
|
||||||
export NAN_MESA ?= /usr/src/Mesa-3.1
|
|
||||||
export NAN_MOTO ?= $(LCGDIR)/moto
|
export NAN_MOTO ?= $(LCGDIR)/moto
|
||||||
export NAN_SOLID ?= $(SRCHOME)/sumo/SOLID-3.0
|
export NAN_SOLID ?= $(SRCHOME)/sumo/SOLID-3.0
|
||||||
export NAN_SUMO ?= $(SRCHOME)/gameengine/Physics/Sumo
|
export NAN_SUMO ?= $(SRCHOME)/gameengine/Physics/Sumo
|
||||||
@ -88,8 +73,32 @@ all debug::
|
|||||||
export NAN_IMG ?= $(LCGDIR)/img
|
export NAN_IMG ?= $(LCGDIR)/img
|
||||||
export NAN_GHOST ?= $(LCGDIR)/ghost
|
export NAN_GHOST ?= $(LCGDIR)/ghost
|
||||||
export NAN_TEST_VERBOSITY ?= 1
|
export NAN_TEST_VERBOSITY ?= 1
|
||||||
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
|
||||||
export NAN_BMFONT ?= $(LCGDIR)/bmfont
|
export NAN_BMFONT ?= $(LCGDIR)/bmfont
|
||||||
|
|
||||||
|
|
||||||
|
# Platform Dependent settings go below:
|
||||||
|
|
||||||
|
ifeq ($(OS),beos)
|
||||||
|
|
||||||
|
export ID = $(USER)
|
||||||
|
export HOST = $(HOSTNAME)
|
||||||
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
|
export NAN_PYTHON_VERSION ?= 2.0
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
# Uncomment the following line to use Mozilla inplace of netscape
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
# CPPFLAGS +=-DMOZ_NOT_NET
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
# Location of MOZILLA/Netscape header files...
|
# Location of MOZILLA/Netscape header files...
|
||||||
@ -97,83 +106,282 @@ all debug::
|
|||||||
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
# if this is not set.
|
# if this is not set.
|
||||||
export NAN_NSPR ?= $(LCGDIR)/nspr
|
|
||||||
export NAN_BUILDINFO = true
|
export NAN_BUILDINFO ?= true
|
||||||
# Be paranoid regarding library creation (do not update archives)
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
export NAN_PARANOID = true
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
# Platform Dependent settings go below. Defaults form the previous
|
|
||||||
# section can be overruled here. Note: don't use ?= here ;-)
|
|
||||||
# Also note that these cannot be overruled by environment variables
|
|
||||||
# anymore. (or we must put all global defaults in platform sections)
|
|
||||||
|
|
||||||
ifeq ($(OS),beos)
|
|
||||||
export ID = $(USER)
|
|
||||||
export HOST = $(HOSTNAME)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),darwin)
|
ifeq ($(OS),darwin)
|
||||||
|
|
||||||
export ID = $(shell whoami)
|
export ID = $(shell whoami)
|
||||||
export HOST = $(shell hostname -s)
|
export HOST = $(shell hostname -s)
|
||||||
# Override libraries locations to use fink installed libraries
|
export NAN_PYTHON ?= /sw
|
||||||
export NAN_OPENSSL = /sw
|
export NAN_PYTHON_VERSION ?= 2.2
|
||||||
export NAN_JPEG = /sw
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
export NAN_PNG = /sw
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
export NAN_ODE = $(LCGDIR)/ode
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
# Override common python settings so that the python that comes with
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
# OSX 10.2 in /usr/local/ is used.
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
export NAN_PYTHON = /sw
|
export NAN_JPEG ?= /sw
|
||||||
export NAN_PYTHON_VERSION = 2.2
|
export NAN_PNG ?= /sw
|
||||||
export NAN_PYTHON_BINARY = $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
export NAN_MXTEXTTOOLS = $(shell $(NAN_PYTHON_BINARY) -c 'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
endif
|
export NAN_OPENSSL ?= /sw
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),freebsd)
|
ifeq ($(OS),freebsd)
|
||||||
|
|
||||||
export ID = $(shell whoami)
|
export ID = $(shell whoami)
|
||||||
export HOST = $(shell hostname -s)
|
export HOST = $(shell hostname -s)
|
||||||
export NAN_PYTHON = /usr/local/include/python
|
export NAN_PYTHON ?= /usr/local/include/python
|
||||||
export NAN_PYTHON_VERSION = 2.2
|
export NAN_PYTHON_VERSION ?= 2.2
|
||||||
export NAN_PYTHON_BINARY =
|
export NAN_PYTHON_BINARY ?=
|
||||||
export NAN_MXTEXTTOOLS =
|
export NAN_MXTEXTTOOLS ?=
|
||||||
export NAN_OPENAL = /usr/local
|
export NAN_OPENAL ?= /usr/local
|
||||||
export NAN_JPEG = /usr/local
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
export NAN_PNG = /usr/local
|
export NAN_JPEG ?= /usr/local
|
||||||
export NAN_SDL = /usr/local
|
export NAN_PNG ?= /usr/local
|
||||||
export NAN_ODE = $(LCGDIR)/ode
|
export NAN_SDL ?= /usr/local
|
||||||
export NAN_OPENSSL = /usr
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
export NAN_ZLIB = /usr
|
export NAN_OPENSSL ?= /usr/local
|
||||||
export NAN_NSPR = /usr/local
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
endif
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= /usr
|
||||||
|
export NAN_NSPR ?= /usr/local
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),irix)
|
ifeq ($(OS),irix)
|
||||||
|
|
||||||
export ID = $(shell whoami)
|
export ID = $(shell whoami)
|
||||||
export HOST = $(shell /usr/bsd/hostname -s)
|
export HOST = $(shell /usr/bsd/hostname -s)
|
||||||
export NAN_PYTHON_VERSION = 2.1
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
export NAN_PYTHON_BINARY =
|
export NAN_PYTHON_VERSION ?= 2.1
|
||||||
export NAN_MXTEXTTOOLS =
|
export NAN_PYTHON_BINARY ?=
|
||||||
export NAN_ZLIB = /usr/freeware
|
export NAN_MXTEXTTOOLS ?=
|
||||||
export NAN_NSPR = /usr/local/apps/openblender/nspr/target/dist
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
endif
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= /usr/freeware
|
||||||
|
export NAN_NSPR ?= /usr/local/apps/openblender/nspr/target/dist
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),linux)
|
ifeq ($(OS),linux)
|
||||||
|
|
||||||
export ID = $(shell whoami)
|
export ID = $(shell whoami)
|
||||||
export HOST = $(shell hostname -s)
|
export HOST = $(shell hostname -s)
|
||||||
export NAN_ODE = $(LCGDIR)/ode
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
endif
|
export NAN_PYTHON_VERSION ?= 2.0
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),openbsd)
|
ifeq ($(OS),openbsd)
|
||||||
|
|
||||||
export ID = $(shell whoami)
|
export ID = $(shell whoami)
|
||||||
export HOST = $(shell hostname -s)
|
export HOST = $(shell hostname -s)
|
||||||
endif
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
|
export NAN_PYTHON_VERSION ?= 2.0
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),solaris)
|
ifeq ($(OS),solaris)
|
||||||
|
|
||||||
export ID = $(shell /usr/ucb/whoami)
|
export ID = $(shell /usr/ucb/whoami)
|
||||||
export HOST = $(shell hostname)
|
export HOST = $(shell hostname)
|
||||||
endif
|
export NAN_PYTHON ?= /usr/local
|
||||||
|
export NAN_PYTHON_VERSION ?= 2.2
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= /usr/local
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= /usr/local
|
||||||
|
export NAN_PNG ?= /usr/local
|
||||||
|
export NAN_SDL ?= /usr/local
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= /usr/local/ssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= /usr
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else
|
||||||
ifeq ($(OS),windows)
|
ifeq ($(OS),windows)
|
||||||
|
|
||||||
export ID = $(LOGNAME)
|
export ID = $(LOGNAME)
|
||||||
endif
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
|
export NAN_PYTHON_VERSION ?= 2.0
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
endif
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
|
||||||
|
else # Platform not listed above
|
||||||
|
|
||||||
|
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||||
|
export NAN_PYTHON_VERSION ?= 2.0
|
||||||
|
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||||
|
export NAN_MXTEXTTOOLS ?= $(shell $(NAN_PYTHON_BINARY) -c \
|
||||||
|
'import mx; print mx.__path__[0]')/TextTools/mxTextTools/mxTextTools.so
|
||||||
|
export NAN_OPENAL ?= $(LCGDIR)/openal
|
||||||
|
export NAN_FMOD ?= $(LCGDIR)/fmod
|
||||||
|
export NAN_JPEG ?= $(LCGDIR)/jpeg
|
||||||
|
export NAN_PNG ?= $(LCGDIR)/png
|
||||||
|
export NAN_SDL ?= $(LCGDIR)/sdl
|
||||||
|
export NAN_ODE ?= $(LCGDIR)/ode
|
||||||
|
export NAN_OPENSSL ?= $(LCGDIR)/openssl
|
||||||
|
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
|
||||||
|
export NAN_MESA ?= /usr/src/Mesa-3.1
|
||||||
|
export NAN_ZLIB ?= $(LCGDIR)/zlib
|
||||||
|
export NAN_NSPR ?= $(LCGDIR)/nspr
|
||||||
|
|
||||||
|
# Uncomment the following line to use Mozilla inplace of netscape
|
||||||
|
# CPPFLAGS +=-DMOZ_NOT_NET
|
||||||
|
# Location of MOZILLA/Netscape header files...
|
||||||
|
export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
|
||||||
|
export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
|
||||||
|
# Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
|
||||||
|
# if this is not set.
|
||||||
|
|
||||||
|
export NAN_BUILDINFO ?= true
|
||||||
|
# Be paranoid regarding library creation (do not update archives)
|
||||||
|
export NAN_PARANOID ?= true
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user