re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config
[blender-staging.git] / build_files / make / example_scripts / sunos_nanmakefiles.sh
1 #!/bin/sh
2 # This is an example build script for SunOS5.8
3
4 rm -f /tmp/.nanguess
5 export MAKE=make
6 export NANBLENDERHOME=`pwd`
7 export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
8 export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
9
10 export NAN_PYTHON=/soft/python-2.2.2b1/SunOS5.8
11 export NAN_PYTHON_VERSION=2.2
12 export NAN_OPENAL=/usr/local
13 export NAN_JPEG=/usr/local
14 export NAN_PNG=/usr/local
15 export NAN_SDL=/usr/local
16 export NAN_ODE=/usr/local
17 export NAN_OPENSSL=/soft/ssl/openssl-0.9.6e
18 export NAN_ZLIB=/usr/local
19 export NAN_FREETYPE=/usr/local
20
21 export NAN_MOZILLA_INC=/usr/local/include/mozilla-1.0.1/
22 export NAN_MOZILLA_LIB=/usr/local/lib/mozilla-1.0.1/
23 export NAN_NSPR=/scratch/irulan/mein/nspr-4.2.2/mozilla/nsprpub/dist/
24 export CPPFLAGS="$CPPFLAGS"
25 export CFLAGS="$CFLAGS"
26 export INTERNATIONAL=true
27
28 $HMAKE -C intern/
29 if [ $? -eq 0 ]; then
30         $HMAKE -C source/
31 fi
32 $HMAKE -C release
33
34 #cd release
35 #make