Add PREFIX support to makefiles.
This commit is contained in:
@@ -296,6 +296,7 @@ ifndef CONFIG_GUESS
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= /usr/local
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
@@ -334,6 +335,8 @@ ifndef CONFIG_GUESS
|
||||
export HOST = $(shell /usr/bsd/hostname -s)
|
||||
#export NAN_NO_KETSJI=true
|
||||
export NAN_JUST_BLENDERDYNAMIC=true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
ifeq ($(IRIX_USE_GCC), true)
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python_gcc
|
||||
@@ -392,6 +395,7 @@ ifndef CONFIG_GUESS
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= /usr
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
@@ -458,6 +462,7 @@ ifndef CONFIG_GUESS
|
||||
export HOST = $(shell hostname -s)
|
||||
export FREEDESKTOP ?= true
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
@@ -494,6 +499,8 @@ ifndef CONFIG_GUESS
|
||||
|
||||
export ID = $(shell /usr/ucb/whoami)
|
||||
export HOST = $(shell hostname)
|
||||
|
||||
export BF_PREFIX ?= /usr/local
|
||||
export NAN_PYTHON ?= $(LCGDIR)/python
|
||||
export NAN_PYTHON_VERSION ?= 3.1
|
||||
export NAN_PYTHON_BINARY ?= $(NAN_PYTHON)/bin/python$(NAN_PYTHON_VERSION)
|
||||
|
@@ -71,4 +71,4 @@ CPPFLAGS += -I..
|
||||
CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I../../../source/blender/imbuf
|
||||
CPPFLAGS += -I../../../source/blender/makesdna
|
||||
|
||||
CPPFLAGS += -DPREFIX=\"$(BF_PREFIX)\"
|
||||
|
Reference in New Issue
Block a user