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 03:35:01 +0300
committerHans Lambermont <hans@lambermont.dyndns.org>2003-01-04 03:35:01 +0300
commit7ff3f0553f9c816fd9a7982b0f58dc87c89157ee (patch)
treeebd4bc99f573d54c08bee60233f3e2ed990b3a65 /source
parentb506bdb2b719cff5b06bdf1e50b34fadb49df7f3 (diff)
start using platform default locations for FreeBSD.
try not to break anything for other platforms.
Diffstat (limited to 'source')
-rw-r--r--source/nan_definitions.mk41
1 files changed, 40 insertions, 1 deletions
diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk
index 6fbaaccab79..0f489be7a41 100644
--- a/source/nan_definitions.mk
+++ b/source/nan_definitions.mk
@@ -51,8 +51,15 @@ all debug::
export NAN_LIBDIR ?= $(NANBLENDERHOME)/lib
export NAN_OBJDIR ?= $(NANBLENDERHOME)/obj
+
+ ifeq ($(OS),freebsd)
+ export NAN_PYTHON ?= /usr/local/include/python
+ export NAN_PYTHON_VERSION ?= 2.2
+ else
export NAN_PYTHON ?= $(LCGDIR)/python
export NAN_PYTHON_VERSION ?= 2.0
+ endif
+
ifeq ($(OS),freebsd)
export NAN_PYTHON_BINARY ?=
export NAN_MXTEXTTOOLS ?=
@@ -60,11 +67,33 @@ all debug::
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
+
+ ifeq ($(OS),freebsd)
+ export NAN_OPENAL ?= /usr/local
+ else
export NAN_OPENAL ?= $(LCGDIR)/openal
+ endif
+
export NAN_FMOD ?= $(LCGDIR)/fmod
+
+ ifeq ($(OS),freebsd)
+ export NAN_JPEG ?= /usr/local
+ else
export NAN_JPEG ?= $(LCGDIR)/jpeg
+ endif
+
+ ifeq ($(OS),freebsd)
+ export NAN_PNG ?= /usr/local
+ else
export NAN_PNG ?= $(LCGDIR)/png
+ endif
+
+ ifeq ($(OS),freebsd)
+ export NAN_SDL ?= /usr/local
+ else
export NAN_SDL ?= $(LCGDIR)/sdl
+ endif
+
export NAN_TERRAPLAY ?= $(LCGDIR)/terraplay
export NAN_MESA ?= /usr/src/Mesa-3.1
export NAN_MOTO ?= $(LCGDIR)/moto
@@ -89,7 +118,13 @@ all debug::
export NAN_IMG ?= $(LCGDIR)/img
export NAN_GHOST ?= $(LCGDIR)/ghost
export NAN_TEST_VERBOSITY ?= 1
+
+ ifeq ($(OS),freebsd)
+ export NAN_ZLIB ?= /usr
+ else
export NAN_ZLIB ?= $(LCGDIR)/zlib
+ endif
+
export NAN_BMFONT ?= $(LCGDIR)/bmfont
# Uncomment the following line to use Mozilla inplace of netscape
# CPPFLAGS +=-DMOZ_NOT_NET
@@ -98,7 +133,11 @@ all debug::
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.
+ ifeq ($(OS),freebsd)
+ export NAN_NSPR ?= /usr/local
+ else
export NAN_NSPR ?= $(LCGDIR)/nspr
+ endif
export NAN_BUILDINFO = true
@@ -123,7 +162,7 @@ all debug::
export NAN_JPEG = /sw
export NAN_PNG = /sw
export NAN_ODE = $(LCGDIR)/ode
- # Override common python settings so that the python that comes with
+ # Override common python settings so that the python that comes with
# OSX 10.2 in /usr/local/ is used.
export NAN_PYTHON = /usr/local
export NAN_PYTHON_VERSION = 2.2