aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-25 02:50:27 +0100
committerSven Gothel <[email protected]>2011-11-25 02:50:27 +0100
commit603f6eab78a0e8f7a22f0e51af1afa426d9d80a2 (patch)
treec5df64bd27833b2178b16b031faac2ce701f8732 /etc
parent05cd5e48fc5294709eaa6429913814f05ba14ab2 (diff)
scripts: profile.jogl / setenv-jogl.sh / test.sh: Expose and use AWT / NOAWT CLASSPATH specific vars
Enable tests w/ and w/o AWT JARs ..
Diffstat (limited to 'etc')
-rwxr-xr-xetc/profile.jogl16
1 files changed, 11 insertions, 5 deletions
diff --git a/etc/profile.jogl b/etc/profile.jogl
index d46917682..86eeb60b8 100755
--- a/etc/profile.jogl
+++ b/etc/profile.jogl
@@ -73,21 +73,27 @@ export JOGL_BUILD_DIR
JOGL_LIB_DIR=$JOGL_BUILD_DIR/lib
export JOGL_LIB_DIR
+JOGL_ALL_AWT_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL $JOGL_TEST)
+JOGL_ALL_NOAWT_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL_NOAWT $JOGL_TEST)
+JOGL_MOBILE_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL_MOBILE)
+export JOGL_ALL_AWT_CLASSPATH JOGL_ALL_NOAWT_CLASSPATH JOGL_MOBILE_CLASSPATH
+
if [ ! -z "$JOGL_PROFILE" ] ; then
case "$JOGL_PROFILE" in
JOGL_ALL)
- JOGL_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL $JOGL_TEST)
+ JOGL_CLASSPATH=$JOGL_ALL_AWT_CLASSPATH
;;
JOGL_ALL_NOAWT)
- JOGL_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL_NOAWT)
+ JOGL_CLASSPATH=$JOGL_ALL_NOAWT_CLASSPATH
;;
JOGL_ALL_MOBILE)
- JOGL_CLASSPATH=$(concat_jogl_list $JOGL_BUILD_DIR $JOGL_JAR_ALL_MOBILE)
+ JOGL_CLASSPATH=$JOGL_MOBILE_CLASSPATH
;;
esac
-
- export JOGL_CLASSPATH
+else
+ JOGL_CLASSPATH=$JOGL_ALL_AWT_CLASSPATH
fi
+export JOGL_CLASSPATH
if [ "$KERNEL" = "linux" ] ; then
SWT_SUB="gtk"