aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.cdcfp.linux-x86.sh
blob: b26926804407e1d144ff3798b8d86fb6bc6e166d (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
27
28
29
30
31
32
33
34
35
36
#! /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 \

BUILD_SUBDIR=build-cdcfp-x86

ant -v \
    -Dgluegen-cpptasks.file=`pwd`/../../gluegen/make/lib/gluegen-cpptasks-linux-32bit.xml \
    -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