summaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.all.x86.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make/scripts/make.jogl.all.x86.sh')
-rwxr-xr-xmake/scripts/make.jogl.all.x86.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/make/scripts/make.jogl.all.x86.sh b/make/scripts/make.jogl.all.x86.sh
index 41fa16b..004abbb 100755
--- a/make/scripts/make.jogl.all.x86.sh
+++ b/make/scripts/make.jogl.all.x86.sh
@@ -1,11 +1,17 @@
#! /bin/sh
-. ../../setenv-build-jogl-x86.sh
+SDIR=`dirname $0`
+
+if [ -e $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86.sh ] ; then
+ . $SDIR/../../../gluegen/make/scripts/setenv-build-jogl-x86.sh
+fi
+
+. $SDIR/../../../jogl/etc/profile.jogl JOGL_ALL $SDIR/../../../jogl/build-x86
# -Dc.compiler.debug=true
ant \
-Djogl.cg=1 \
- -Duser.swt.jar=$HOME/.java/swt-3.6-gtk-linux-x86.jar \
+ -Duser.swt.jar=$SWT_CLASSPATH \
-Drootrel.build=build-x86 \
$* 2>&1 | tee make.jogl.all.x86.log