From c75e0f83412f789f9f9b4b40d4628200c9532d99 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 18 Oct 2011 15:30:20 +0200 Subject: Enable JOAL on Solaris --- make/scripts/make.joal.all.linux-x86_64.sh | 6 ++++-- make/scripts/make.joal.all.solaris-x86_64.sh | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100755 make/scripts/make.joal.all.solaris-x86_64.sh (limited to 'make/scripts') diff --git a/make/scripts/make.joal.all.linux-x86_64.sh b/make/scripts/make.joal.all.linux-x86_64.sh index 36d8645..6c3f27a 100755 --- a/make/scripts/make.joal.all.linux-x86_64.sh +++ b/make/scripts/make.joal.all.linux-x86_64.sh @@ -1,7 +1,9 @@ #! /bin/sh -if [ -e ../../setenv-build-jogl-x86_64.sh ] ; then - . ../../setenv-build-jogl-x86_64.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 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 -- cgit v1.2.3