aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.cdcfp.macosx.sh
blob: 6875a4d2cfa510c6624d0f6ca9d5f65d2de41c75 (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
#! /bin/sh

if [ -e /opt-share/etc/profile.ant ] ; then
    . /opt-share/etc/profile.ant
fi


#    -Dc.compiler.debug=true 

BUILD_SUBDIR=build-cdcfp-macosx

ant \
    -Dsetup.cdcfp=true \
    -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