aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/jogl-cp-dll.sh
blob: a9285b9e72e7b438b19f5451d6ad331aa7df7c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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