From 603f6eab78a0e8f7a22f0e51af1afa426d9d80a2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 25 Nov 2011 02:50:27 +0100 Subject: scripts: profile.jogl / setenv-jogl.sh / test.sh: Expose and use AWT / NOAWT CLASSPATH specific vars Enable tests w/ and w/o AWT JARs .. --- etc/profile.jogl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'etc/profile.jogl') 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" -- cgit v1.2.3