diff options
author | Sven Gothel <[email protected]> | 2011-10-18 15:30:20 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-18 15:30:20 +0200 |
commit | c75e0f83412f789f9f9b4b40d4628200c9532d99 (patch) | |
tree | b1aff4ae70961e9e895ead94acf7ec97057e60f3 /make/scripts/make.joal.all.solaris-x86_64.sh | |
parent | 4a95e336715f6ba08ce26e9136f4ccbe9056b955 (diff) |
Enable JOAL on Solaris
Diffstat (limited to 'make/scripts/make.joal.all.solaris-x86_64.sh')
-rwxr-xr-x | make/scripts/make.joal.all.solaris-x86_64.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/make/scripts/make.joal.all.solaris-x86_64.sh b/make/scripts/make.joal.all.solaris-x86_64.sh new file mode 100755 index 0000000..46490e3 --- /dev/null +++ b/make/scripts/make.joal.all.solaris-x86_64.sh @@ -0,0 +1,25 @@ +#! /bin/sh + +SDIR=`dirname $0` + +if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh ] ; then + . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86_64.sh +fi + +if [ -z "$ANT_PATH" ] ; then + if [ -e /usr/share/ant/bin/ant -a -e /usr/share/ant/lib/ant.jar ] ; then + ANT_PATH=/usr/share/ant + export ANT_PATH + echo autosetting ANT_PATH to $ANT_PATH + fi +fi +if [ -z "$ANT_PATH" ] ; then + echo ANT_PATH does not exist, set it + exit +fi + +# -Drootrel.build=build-x86_64 \ + +ant \ + -Drootrel.build=build-solaris-x86_64 \ + $* 2>&1 | tee make.joal.all.solaris-x86_64.log |