aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/jogl-cp-dll.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-04-29 17:42:21 +0200
committerSven Gothel <[email protected]>2010-04-29 17:42:21 +0200
commit9bdcb54bc88788c1c3bea1bb76955f81ed3db3f7 (patch)
tree70938e455264ae212fc461345f7da83e7b5e75db /make/scripts/jogl-cp-dll.sh
parent14256647c8954bb8d6d2afa88927e75783bc912b (diff)
cleanup scripts ; updated win32 and win64 scripts with my environment
Diffstat (limited to 'make/scripts/jogl-cp-dll.sh')
-rwxr-xr-xmake/scripts/jogl-cp-dll.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/make/scripts/jogl-cp-dll.sh b/make/scripts/jogl-cp-dll.sh
new file mode 100755
index 000000000..a9285b9e7
--- /dev/null
+++ b/make/scripts/jogl-cp-dll.sh
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+jogamproot=$1
+shift
+
+builddir=$1
+shift
+
+destination=$1
+shift
+
+
+if [ -z "$jogamproot" -o -z "$builddir" -o -z "$destination" ] ; then
+ echo Usage $0 jogamp_root builddir destination
+ echo e.g. $0 JOGL build-win32 /cygdrive/y/jogl/lib-jogl-win32/
+ exit
+fi
+
+cp -v \
+ $jogamproot/jogl/$builddir/jar/*natives* \
+ $jogamproot/gluegen/$builddir/obj/*.dll \
+ $jogamproot/jogl/$builddir/nativewindow/obj/*.dll \
+ $jogamproot/jogl/$builddir/jogl/obj/*.dll \
+ $jogamproot/jogl/$builddir/newt/obj/*.dll \
+ $destination
+