Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorHans Lambermont <hans@lambermont.dyndns.org>2003-01-04 01:51:49 +0300
committerHans Lambermont <hans@lambermont.dyndns.org>2003-01-04 01:51:49 +0300
commit5fda04dfdc9d3d5f56150f71410f1fde429f85ba (patch)
tree9ff1d42d0deff8e37d14cb8abdab91f485d4251c /source
parent0a51feab36350c79f3247de13f5e7998288d3011 (diff)
Start using platform default locations of libraries that used to be in
lib/ and came from extern/ (which isn't in the new repository at all) So use stuff like: ifeq ($(OS),freebsd) export NAN_OPENSSL ?= /usr else export NAN_OPENSSL ?= $(LCGDIR)/openssl endif Hans
Diffstat (limited to 'source')
-rw-r--r--source/nan_definitions.mk22
1 files changed, 16 insertions, 6 deletions
diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk
index 6d640a1b908..6fbaaccab79 100644
--- a/source/nan_definitions.mk
+++ b/source/nan_definitions.mk
@@ -42,12 +42,24 @@ all debug::
endif
endif
export SRCHOME ?= $(NANBLENDERHOME)/source
+
+ export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
+ export OS := $(shell echo ${CONFIG_GUESS} | sed -e 's/-.*//')
+ export OS_VERSION := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-//' -e 's/-[^-]*//')
+ export CPU := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-[^-]*-//')
+ export MAKE_START := $(shell date "+%H:%M:%S %d-%b-%Y")
+
export NAN_LIBDIR ?= $(NANBLENDERHOME)/lib
export NAN_OBJDIR ?= $(NANBLENDERHOME)/obj
export NAN_PYTHON ?= $(LCGDIR)/python
export NAN_PYTHON_VERSION ?= 2.0
+ ifeq ($(OS),freebsd)
+ export NAN_PYTHON_BINARY ?=
+ export NAN_MXTEXTTOOLS ?=
+ else
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
+ endif
export NAN_OPENAL ?= $(LCGDIR)/openal
export NAN_FMOD ?= $(LCGDIR)/fmod
export NAN_JPEG ?= $(LCGDIR)/jpeg
@@ -60,7 +72,11 @@ all debug::
export NAN_SUMO ?= $(SRCHOME)/gameengine/Physics/Sumo
export NAN_FUZZICS ?= $(SRCHOME)/gameengine/Physics/Sumo/Fuzzics
export NAN_ODE ?= $(SRCHOME)/ode
+ ifeq ($(OS),freebsd)
+ export NAN_OPENSSL ?= /usr
+ else
export NAN_OPENSSL ?= $(LCGDIR)/openssl
+ endif
export NAN_BLENKEY ?= $(LCGDIR)/blenkey
export NAN_DECIMATION ?= $(LCGDIR)/decimation
export NAN_GUARDEDALLOC ?= $(LCGDIR)/guardedalloc
@@ -95,12 +111,6 @@ all debug::
# Object Config_Guess DIRectory
export OCGDIR = $(NAN_OBJDIR)/$(CONFIG_GUESS)
- export CONFIG_GUESS := $(shell ${SRCHOME}/tools/guess/guessconfig)
- export OS := $(shell echo ${CONFIG_GUESS} | sed -e 's/-.*//')
- export OS_VERSION := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-//' -e 's/-[^-]*//')
- export CPU := $(shell echo ${CONFIG_GUESS} | sed -e 's/^[^-]*-[^-]*-//')
- export MAKE_START := $(shell date "+%H:%M:%S %d-%b-%Y")
-
ifeq ($(OS),beos)
ID = $(USER)
HOST = $(HOSTNAME)