summaryrefslogtreecommitdiffstats
path: root/make/make.jogl.cdcfp.macosx.sh
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-13 14:37:30 -0700
committersg215889 <[email protected]>2009-07-13 14:37:30 -0700
commitfbb6367aa6c7b80bb57f07942c588b7de582674d (patch)
tree4ec57cd5ef6a59f6bb25519364cca6eb48061a90 /make/make.jogl.cdcfp.macosx.sh
parent69d2f49619b303e51e1583a02115756dfc6d1f2f (diff)
Add unique CVM lib dir target in cdcfp build scripts
Diffstat (limited to 'make/make.jogl.cdcfp.macosx.sh')
-rw-r--r--make/make.jogl.cdcfp.macosx.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/make/make.jogl.cdcfp.macosx.sh b/make/make.jogl.cdcfp.macosx.sh
index f9f79500e..d36f0bb7e 100644
--- a/make/make.jogl.cdcfp.macosx.sh
+++ b/make/make.jogl.cdcfp.macosx.sh
@@ -8,8 +8,20 @@ fi
# -Dc.compiler.debug=true
# -Dbuild.noarchives=true
+BUILD_SUBDIR=build-cdcfp-macosx
+
ant \
-Dbuild.noarchives=true \
-Dsetup.cdcfp=true \
- -Drootrel.build=build-cdcfp-macosx \
+ -Drootrel.build=$BUILD_SUBDIR \
$* 2>&1 | tee make.jogl.cdcfp.macosx.log
+
+rm -rf ../$BUILD_SUBDIR/lib
+mkdir -p ../$BUILD_SUBDIR/lib
+for i in `find ../$BUILD_SUBDIR/ -name \*jnilib` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .jnilib).so
+done
+for i in `find ../../gluegen/$BUILD_SUBDIR/ -name \*jnilib` ; do
+ cp -v $i ../$BUILD_SUBDIR/lib/$(basename $i .jnilib).so
+done
+