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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-12-14 01:36:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-14 01:36:10 +0300
commit960ace98dbf5d9cc9b77672d9b47474a9bd801fd (patch)
tree2b862ed8d8321238e2a0eb9e9ff0de85bdc77159
parent04dcd34883c258d2df661b4526c8a5e12605997d (diff)
made guessconfig add use bash (not sh) and return a CPU as i386-32 or i386-64 (was just i386)
default python to 2.5
-rw-r--r--source/nan_compile.mk3
-rw-r--r--source/nan_definitions.mk8
-rw-r--r--source/nan_link.mk6
3 files changed, 10 insertions, 7 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk
index 192528aa5a6..620c57dcd84 100644
--- a/source/nan_compile.mk
+++ b/source/nan_compile.mk
@@ -184,7 +184,8 @@ ifeq ($(OS),solaris)
REL_CFLAGS += -O1
REL_CCFLAGS += -O1
NAN_DEPEND = true
- ifeq ($(CPU),sparc)
+ #ifeq ($(CPU),sparc)
+ ifeq ($(CPU),$(findstring $(CPU), "sparc"))
OPENGL_HEADERS = /usr/openwin/share/include
CPPFLAGS += -DSUN_OGL_NO_VERTEX_MACROS
JAVA_HEADERS = /usr/java/include
diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk
index 39479dfccf1..73c0d83713d 100644
--- a/source/nan_definitions.mk
+++ b/source/nan_definitions.mk
@@ -142,7 +142,9 @@ endif
endif
else
ifeq ($(OS), solaris)
- export NAN_OPENEXR ?= /usr/local
+ # this only exists at the moment for i386-64 CPU Types at the moment
+ export NAN_OPENEXR ?= $(LCGDIR)/openexr
+
export NAN_OPENEXR_LIBS ?= $(NAN_OPENEXR)/lib/libIlmImf.a $(NAN_OPENEXR)/lib/libHalf.a $(NAN_OPENEXR)/lib/libIex.a $(NAN_OPENEXR)/lib/libIlmThread.a -lrt
else
export NAN_OPENEXR ?= /usr/local
@@ -469,8 +471,8 @@ endif
export ID = $(shell /usr/ucb/whoami)
export HOST = $(shell hostname)
- export NAN_PYTHON ?= /usr/local
- export NAN_PYTHON_VERSION ?= 2.3
+ export NAN_PYTHON ?= $(LCGDIR)/python
+ export NAN_PYTHON_VERSION ?= 2.5
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
export NAN_PYTHON_LIB ?= $(NAN_PYTHON)/lib/python$(NAN_PYTHON_VERSION)/config/libpython$(NAN_PYTHON_VERSION).a
export NAN_OPENAL ?= $(LCGDIR)/openal
diff --git a/source/nan_link.mk b/source/nan_link.mk
index 35a0a9d0070..235827c9a7b 100644
--- a/source/nan_link.mk
+++ b/source/nan_link.mk
@@ -117,9 +117,9 @@ ifeq ($(OS),openbsd)
endif
ifeq ($(OS),solaris)
- ifeq ($(CPU), i386)
- LLIBS = -L/usr/X11/lib
- endif
+ ifeq (i386, $(findstring i386, $(CPU)))
+ LLIBS = -L/usr/X11/lib -lrt
+ endif
LLIBS += -lGLU -lGL -lXmu -lXext -lXi -lX11 -lc -lm -ldl -lsocket -lnsl
DYNLDFLAGS = -shared $(LDFLAGS)
endif