Jogamp
Adapt latest gluegen changes for crossplatform.
authorSven Gothel <sgothel@jausoft.com>
Tue, 2 Aug 2011 11:31:23 +0000 (13:31 +0200)
committerSven Gothel <sgothel@jausoft.com>
Tue, 2 Aug 2011 11:31:23 +0000 (13:31 +0200)
make/build-jogl.xml
make/build-nativewindow.xml
make/build-newt.xml
make/scripts/make.jogl.all.linux-armv7-cross.sh
make/scripts/make.jogl.all.linux-armv7.sh [deleted file]

index 6586022..9747c67 100644 (file)
       </linker>
 
       <linker id="linker.cfg.linux.armv7.jogl.x11" extends="linker.cfg.linux.armv7">
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="X11"/>
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="Xxf86vm" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="X11"/>
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xxf86vm" />
       </linker>
 
       <linker id="linker.cfg.solaris.jogl.x11" extends="linker.cfg.solaris">
index 8428dd8..2353fd3 100644 (file)
       </linker>
 
       <linker id="linker.cfg.linux.armv7.nativewindow.x11" extends="linker.cfg.linux.armv7">
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="X11"/>
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="Xxf86vm" />
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="Xinerama"/>
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="X11" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xxf86vm" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xinerama" />
       </linker>
 
       <linker id="linker.cfg.solaris.nativewindow.x11" extends="linker.cfg.solaris">
index 5c12965..b0600db 100644 (file)
       </linker>
 
       <linker id="linker.cfg.linux.armv7.newt.x11" extends="linker.cfg.linux.armv7">
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="X11"/>
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="Xrandr"/>
-        <syslibset dir="${gluegen.root}/make/lib/arm-linux-gnueabi/ubuntu-11.04/lib" libs="Xxf86vm" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="X11" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xrandr" />
+        <syslibset dir="${env.TARGET_PLATFORM_LIBS}" libs="Xxf86vm" />
       </linker>
 
       <linker id="linker.cfg.solaris.newt.x11" extends="linker.cfg.solaris">
index 2828d35..bbde799 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-PATH=`pwd`/../../gluegen/make/lib/linux-x86_64/arm-linux-gnueabi/bin:$PATH
+PATH=`pwd`/../../gluegen/make/lib/linux/arm-linux-gnueabi/bin:$PATH
 export PATH
 
 #    -Dc.compiler.debug=true 
@@ -19,6 +19,9 @@ export TARGET_IP=beagle01
 export TARGET_ROOT=/home/jogamp/projects-cross
 export TARGET_ANT_HOME=/usr/share/ant
 
+export TARGET_PLATFORM_LIBS=/opt-linux-armv7-eabi/lib
+export TARGET_JAVA_LIBS=/opt-linux-armv7-eabi/jre/lib/arm
+
 ant \
     -Drootrel.build=build-linux-armv7 \
     -Dgluegen.cpptasks.detected.os=true \
diff --git a/make/scripts/make.jogl.all.linux-armv7.sh b/make/scripts/make.jogl.all.linux-armv7.sh
deleted file mode 100755 (executable)
index fd4e95b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-#    -Dc.compiler.debug=true 
-#    -Dgluegen.cpptasks.detected.os=true \
-#    -DisUnix=true \
-#    -DisLinux=true \
-#    -DisLinuxX86=true \
-#    -DisX11=true \
-
-ant \
-    -Drootrel.build=build-linux-armv7 \
-    -DuseKD=true \
-    -DuseOpenMAX=true \
-    -DuseBroadcomEGL=true \
-    $* 2>&1 | tee make.jogl.all.linux-armv7.log
http://JogAmp.org git info: FAQ, tutorial and man pages.