diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-12 22:26:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-12 22:26:35 +0400 |
commit | d80d6e28127dcfb83b11d88c993595f846ffbb02 (patch) | |
tree | c147380634b0214cbaf47a1f778403563fc930ca /build_files/make/example_scripts | |
parent | 3b81c67353b9b0b9539fe7befbba0d7e449e912b (diff) |
re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config
Diffstat (limited to 'build_files/make/example_scripts')
3 files changed, 91 insertions, 0 deletions
diff --git a/build_files/make/example_scripts/linux_nanmakefiles.sh b/build_files/make/example_scripts/linux_nanmakefiles.sh new file mode 100755 index 00000000000..aa8d8820681 --- /dev/null +++ b/build_files/make/example_scripts/linux_nanmakefiles.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +# +# This is an example script to build things with the Nan Makefiles +# +# + +rm -f /tmp/.nanguess +export MAKE=make +export NANBLENDERHOME=`pwd` +export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory" +export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake" + +export NAN_PYTHON=/soft/python-2.2.2b1/progeny1 +export NAN_PYTHON_VERSION=2.2 +export NAN_OPENAL=/usr/local +export NAN_JPEG=/usr/local +export NAN_PNG=/usr/local +export NAN_SDL=/usr/local +export NAN_ODE=/usr/local +export NAN_ZLIB=/usr/local +export NAN_FREETYPE=/usr/local + +export NAN_MOZILLA_INC=/usr/local/include/mozilla-1.0.1/ +export NAN_MOZILLA_LIB=/usr/local/lib/mozilla-1.0.1/ +#export NAN_NSPR=/scratch/irulan/mein/nspr-4.2.2/mozilla/nsprpub/dist/ +export CPPFLAGS="$CPPFLAGS" +export CFLAGS="$CFLAGS" +export INTERNATIONAL=true + +$HMAKE -C intern/ +if [ $? -eq 0 ]; then + $HMAKE -C source/ +fi +$HMAKE -C release + +#cd release +#make diff --git a/build_files/make/example_scripts/macos_nanmakefiles.sh b/build_files/make/example_scripts/macos_nanmakefiles.sh new file mode 100755 index 00000000000..d2cce204a53 --- /dev/null +++ b/build_files/make/example_scripts/macos_nanmakefiles.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +rm -f /tmp/.nanguess +export MAKE=make +export NANBLENDERHOME=`pwd` +export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory" +export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake" +echo +echo NANBLENDERHOME : ${NANBLENDERHOME} + +export NAN_PYTHON=/sw + +$HMAKE -C intern/ +if [ $? -eq 0 ]; then + $HMAKE -C source/ +fi +cd release +make diff --git a/build_files/make/example_scripts/sunos_nanmakefiles.sh b/build_files/make/example_scripts/sunos_nanmakefiles.sh new file mode 100755 index 00000000000..25dd17bebb1 --- /dev/null +++ b/build_files/make/example_scripts/sunos_nanmakefiles.sh @@ -0,0 +1,35 @@ +#!/bin/sh +# This is an example build script for SunOS5.8 + +rm -f /tmp/.nanguess +export MAKE=make +export NANBLENDERHOME=`pwd` +export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory" +export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake" + +export NAN_PYTHON=/soft/python-2.2.2b1/SunOS5.8 +export NAN_PYTHON_VERSION=2.2 +export NAN_OPENAL=/usr/local +export NAN_JPEG=/usr/local +export NAN_PNG=/usr/local +export NAN_SDL=/usr/local +export NAN_ODE=/usr/local +export NAN_OPENSSL=/soft/ssl/openssl-0.9.6e +export NAN_ZLIB=/usr/local +export NAN_FREETYPE=/usr/local + +export NAN_MOZILLA_INC=/usr/local/include/mozilla-1.0.1/ +export NAN_MOZILLA_LIB=/usr/local/lib/mozilla-1.0.1/ +export NAN_NSPR=/scratch/irulan/mein/nspr-4.2.2/mozilla/nsprpub/dist/ +export CPPFLAGS="$CPPFLAGS" +export CFLAGS="$CFLAGS" +export INTERNATIONAL=true + +$HMAKE -C intern/ +if [ $? -eq 0 ]; then + $HMAKE -C source/ +fi +$HMAKE -C release + +#cd release +#make |