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 | |
parent | 4a95e336715f6ba08ce26e9136f4ccbe9056b955 (diff) |
Enable JOAL on Solaris
-rw-r--r-- | make/lib/solaris-amd64/readme.txt | 1 | ||||
-rw-r--r-- | make/lib/solaris-i586/readme.txt | 1 | ||||
-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 |
4 files changed, 31 insertions, 2 deletions
diff --git a/make/lib/solaris-amd64/readme.txt b/make/lib/solaris-amd64/readme.txt new file mode 100644 index 0000000..d7a4dd2 --- /dev/null +++ b/make/lib/solaris-amd64/readme.txt @@ -0,0 +1 @@ +Solaris OpenAL Native Library: Missing .. diff --git a/make/lib/solaris-i586/readme.txt b/make/lib/solaris-i586/readme.txt new file mode 100644 index 0000000..d7a4dd2 --- /dev/null +++ b/make/lib/solaris-i586/readme.txt @@ -0,0 +1 @@ +Solaris OpenAL Native Library: Missing .. 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 |