Jogamp
NewtVersionActivity: Remove 'gears' test; Version Info: Drop NativeWindow/Newt Versio...
[jogl.git] / make / scripts / make.jogl.all.linux-x86_64.sh
1 #! /bin/sh
2
3 if [ -z "$ANT_PATH" ] ; then
4     if [ -e /usr/share/ant/bin/ant -a -e /usr/share/ant/lib/ant.jar ] ; then
5         ANT_PATH=/usr/share/ant
6         export ANT_PATH
7         echo autosetting ANT_PATH to $ANT_PATH
8     fi
9 fi
10 if [ -z "$ANT_PATH" ] ; then
11     echo ANT_PATH does not exist, set it
12     exit
13 fi
14
15 if [ "$1" = "-libdir" ] ; then
16     shift
17     if [ -z "$1" ] ; then
18         echo libdir argument missing
19         print_usage
20         exit
21     fi
22     CUSTOMLIBDIR="-Dcustom.libdir=$1"
23     shift
24 fi
25
26 #    -Dc.compiler.debug=true \
27
28 #    -Dgluegen.cpptasks.detected.os=true \
29 #    -DisUnix=true \
30 #    -DisLinux=true \
31 #    -DisLinuxAMD64=true \
32 #    -DisX11=true \
33
34 #LD_LIBRARY_PATH=/opt-linux-x86_64/mesa-7.8.1/lib64
35 #export LD_LIBRARY_PATH
36
37 LOGF=make.jogl.all.linux-x86_64.log
38 rm -f $LOGF
39
40 # export LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
41 # export LIBGL_DEBUG=verbose
42 echo LIBXCB_ALLOW_SLOPPY_LOCK: $LIBXCB_ALLOW_SLOPPY_LOCK 2>&1 | tee -a $LOGF
43 echo LIBGL_DRIVERS_PATH: $LIBGL_DRIVERS_PATH 2>&1 | tee -a $LOGF
44 echo LIBGL_DEBUG: $LIBGL_DEBUG 2>&1 | tee -a $LOGF
45
46 #    -Dc.compiler.debug=true \
47 #    -Djavacdebug="true" \
48 #    -Djavacdebuglevel="source,lines,vars" \
49
50 # BUILD_ARCHIVE=true \
51 ant  \
52     $CUSTOMLIBDIR \
53     -Djavacdebuglevel="source,lines,vars" \
54     -Drootrel.build=build-x86_64 \
55     -Dsetup.addNativeOpenMAX=true \
56     -Dsetup.addNativeKD=true \
57     $* 2>&1 | tee -a $LOGF
58
http://JogAmp.org git info: FAQ, tutorial and man pages.