summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-17 17:37:17 +0100
committerSven Gothel <[email protected]>2013-11-17 17:37:17 +0100
commitd1113c49ed95a2089decdc5c270a29fcbd233d68 (patch)
treec1348ac5fc82d0ffb2a10f46548748ce2a984872
parentcb27127c0be28cc1c864bcf5b6c94b860d3590d2 (diff)
Use 'gluegen-clang.properties' for generic clang and 'gluegen-xcode_clang.properties' for OSX xcode-clang ; Add GNU/Linux LLVM/clang build scriptsv2.1.3
-rw-r--r--scripts/make.jocl.all.linux-x86-clang.sh21
-rw-r--r--scripts/make.jocl.all.linux-x86_64-clang.sh24
-rwxr-xr-xscripts/make.jocl.all.macosx-clang.sh4
3 files changed, 47 insertions, 2 deletions
diff --git a/scripts/make.jocl.all.linux-x86-clang.sh b/scripts/make.jocl.all.linux-x86-clang.sh
new file mode 100644
index 00000000..ca9c8abc
--- /dev/null
+++ b/scripts/make.jocl.all.linux-x86-clang.sh
@@ -0,0 +1,21 @@
+#! /bin/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
+
+export SOURCE_LEVEL=1.6
+export TARGET_LEVEL=1.6
+export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+export GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-clang.properties"
+# or -Dgcc.compat.compiler=clang
+
+#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+
+ant \
+ -Drootrel.build=build-x86-clang \
+ $* 2>&1 | tee make.jocl.all.linux-x86-clang.log
diff --git a/scripts/make.jocl.all.linux-x86_64-clang.sh b/scripts/make.jocl.all.linux-x86_64-clang.sh
new file mode 100644
index 00000000..1d2a2a05
--- /dev/null
+++ b/scripts/make.jocl.all.linux-x86_64-clang.sh
@@ -0,0 +1,24 @@
+#! /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
+
+# -Dbuild.archiveon=true \
+
+export SOURCE_LEVEL=1.6
+export TARGET_LEVEL=1.6
+export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+export GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-clang.properties"
+# or -Dgcc.compat.compiler=clang
+
+#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"
+
+BUILD_ARCHIVE=true \
+ant \
+ -Drootrel.build=build-x86_64-clang \
+ $* 2>&1 | tee make.jocl.all.linux-x86_64-clang.log
diff --git a/scripts/make.jocl.all.macosx-clang.sh b/scripts/make.jocl.all.macosx-clang.sh
index 0b800ac7..fc16ed15 100755
--- a/scripts/make.jocl.all.macosx-clang.sh
+++ b/scripts/make.jocl.all.macosx-clang.sh
@@ -14,8 +14,8 @@ export SOURCE_LEVEL=1.6
export TARGET_LEVEL=1.6
export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
-export GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-clang.properties"
-# or -Dgcc.compat.compiler=clang
+export GLUEGEN_PROPERTIES_FILE="../gluegen/make/lib/gluegen-xcode_clang.properties"
+# or -Dgcc.compat.compiler=xcode.clang
#export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
export JOGAMP_JAR_CODEBASE="Codebase: *.goethel.localnet"