diff options
Diffstat (limited to 'make/scripts')
-rwxr-xr-x | make/scripts/make.joal.all.linux-x86_64.sh | 6 | ||||
-rwxr-xr-x | make/scripts/make.joal.all.solaris-x86_64.sh | 25 |
2 files changed, 29 insertions, 2 deletions
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 |