aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.cdcfp.linux-x86.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-04 02:43:09 +0200
committerSven Gothel <[email protected]>2010-05-04 02:43:09 +0200
commit63916148e837942c9ec996320bda805e80d7e06e (patch)
treee45c041c05cf1ba33c3cd3af9fc09fdec7eb5ec8 /make/scripts/make.jogl.cdcfp.linux-x86.sh
parent10c26e556006b5727b0076fc2e486459a63bdf76 (diff)
Move all scripts to it's folder
Diffstat (limited to 'make/scripts/make.jogl.cdcfp.linux-x86.sh')
-rw-r--r--make/scripts/make.jogl.cdcfp.linux-x86.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/make/scripts/make.jogl.cdcfp.linux-x86.sh b/make/scripts/make.jogl.cdcfp.linux-x86.sh
new file mode 100644
index 000000000..ad80f194d
--- /dev/null
+++ b/make/scripts/make.jogl.cdcfp.linux-x86.sh
@@ -0,0 +1,38 @@
+#! /bin/sh
+
+if [ -e ../../setenv-build-jogl-x86.sh ] ; then
+ . ../../setenv-build-jogl-x86.sh
+fi
+
+# -Dc.compiler.debug=true
+#
+# -Djavacdebug="false" \
+# -Djavacdebuglevel="none" \
+#
+# -Djava.generate.skip=true \
+# -Dbuild.noarchives=true
+
+BUILD_SUBDIR=build-cdcfp-x86
+
+ant -v \
+ -Dgluegen-cpptasks.file=`pwd`/../../gluegen/make/lib/gluegen-cpptasks-linux-32bit.xml \
+ -Dbuild.noarchives=true \
+ -Drootrel.build=$BUILD_SUBDIR \
+ -Dsetup.cdcfp=true \
+ -Dgluegen.cpptasks.detected.os=true \
+ -DisUnix=true \
+ -DisLinux=true \
+ -DisLinuxX86=true \
+ -DisX11=true \
+ -DuseOpenMAX=true \
+ $* 2>&1 | tee make.jogl.cdcfp.linux-x86.log
+
+rm -rf ../$BUILD_SUBDIR/lib
+mkdir -p ../$BUILD_SUBDIR/lib
+for i in `find ../$BUILD_SUBDIR/ -name \*so` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .so).so
+done
+for i in `find ../../gluegen/$BUILD_SUBDIR/ -name \*so` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .so).so
+done
+