From eece99ddce11741397235c88c78e5b8259abc481 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 8 May 2010 23:24:31 +0200 Subject: Add rootrel.build semantics .. --- make/build.xml | 52 ++++++++++++++++++------------ make/joal-common.cfg | 4 +-- make/scripts/make.joal.all.linux-x86_64.sh | 23 +++++++++++++ 3 files changed, 56 insertions(+), 23 deletions(-) create mode 100644 make/scripts/make.joal.all.linux-x86_64.sh diff --git a/make/build.xml b/make/build.xml index 71be711..5130217 100755 --- a/make/build.xml +++ b/make/build.xml @@ -34,6 +34,12 @@ + + + + + + @@ -117,8 +123,8 @@ - - + + @@ -402,6 +408,7 @@ @@ -410,6 +417,7 @@ @@ -418,6 +426,7 @@ @@ -521,8 +530,8 @@ - - + + @@ -583,36 +592,36 @@ - + - + - - - - - + + + + + - - + + - - - + + - - + @@ -713,4 +722,5 @@ + diff --git a/make/joal-common.cfg b/make/joal-common.cfg index dab5b77..6a2929b 100755 --- a/make/joal-common.cfg +++ b/make/joal-common.cfg @@ -2,8 +2,8 @@ Package com.jogamp.openal # Specify output directories HierarchicalNativeOutput false -JavaOutputDir ../build/gensrc/classes -NativeOutputDir ../build/gensrc/native/joal +JavaOutputDir gensrc/classes +NativeOutputDir gensrc/native/joal # Raise ALException instead of RuntimeException in glue code RuntimeExceptionType ALException diff --git a/make/scripts/make.joal.all.linux-x86_64.sh b/make/scripts/make.joal.all.linux-x86_64.sh new file mode 100644 index 0000000..36d8645 --- /dev/null +++ b/make/scripts/make.joal.all.linux-x86_64.sh @@ -0,0 +1,23 @@ +#! /bin/sh + +if [ -e ../../setenv-build-jogl-x86_64.sh ] ; then + . ../../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-x86_64 \ + $* 2>&1 | tee make.joal.all.linux-x86_64.log -- cgit v1.2.3