|
From: <ma...@us...> - 2006-07-12 19:32:55
|
Revision: 2501 Author: matzon Date: 2006-07-12 12:32:48 -0700 (Wed, 12 Jul 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2501&view=rev Log Message: ----------- linux ant build files Added Paths: ----------- trunk/LWJGL/platform_build/linux_ant/build_devil.xml trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml Added: trunk/LWJGL/platform_build/linux_ant/build_devil.xml =================================================================== --- trunk/LWJGL/platform_build/linux_ant/build_devil.xml (rev 0) +++ trunk/LWJGL/platform_build/linux_ant/build_devil.xml 2006-07-12 19:32:48 UTC (rev 2501) @@ -0,0 +1,49 @@ +<?xml version="1.0"?> + +<project name="devil" basedir="../../bin/devil" default="compile"> + <property name="native" location="../../src/native"/> + <property name="libname32" value="liblwjgl-devil.so"/> + <property name="libname64" value="liblwjgl64-devil.so"/> + <property name="libs32" value="-lpthread"/> + <property name="libs64" value="-lpthread"/> + <property name="cflags" value="-O2 -Wall -c -fPIC -std=c99 -pthread"/> + + <target name="clean"> + <delete> + <fileset dir="." includes="*.o"/> + <fileset dir="." includes="*.so"/> + </delete> + </target> + + <target name="compile"> + <exec executable="uname" outputproperty="hwplatform"> + <arg value="-i"/> + </exec> + <condition property="libs" value="${libs64}" else="${libs32}"> + <equals arg1="${hwplatform}" arg2="x86_64"/> + </condition> + <condition property="libname" value="${libname64}" else="${libname32}"> + <equals arg1="${hwplatform}" arg2="x86_64"/> + </condition> + <property name="linker_flags" value="-Wl,--version-script=${native}/linux/lwjgl.map -shared -O2 -Wall -o ${libname} ${libs}"/> + <apply dir="." executable="cc" dest="." skipemptyfilesets="true" failonerror="true"> + <arg line="${cflags}"/> + <arg value="-I${java.home}/include"/> + <arg value="-I${java.home}/include/linux"/> + <arg value="-I${native}/common"/> + <arg value="-I${native}/common/devil"/> + <mapper type="glob" from="*.c" to="*.o"/> + <fileset dir="${native}/common" includes="*common*.c"/> + <fileset dir="${native}/common/devil" includes="*.c"/> + </apply> + <apply dir="." parallel="true" executable="cc" failonerror="true"> + <srcfile/> + <arg line="${linker_flags}"/> + <fileset dir="." includes="*.o"/> + </apply> + <apply dir="." parallel="true" executable="strip" failonerror="true"> + <fileset file="${libname}"/> + </apply> + </target> +</project> + Added: trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml =================================================================== --- trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml (rev 0) +++ trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml 2006-07-12 19:32:48 UTC (rev 2501) @@ -0,0 +1,52 @@ +<?xml version="1.0"?> + +<project name="fmod3" basedir="../../bin/fmod3" default="compile"> + <property name="native" location="../../src/native"/> + <property environment="env"/> + <property name="fmod.home" location="${env.FMOD}"/> + <property name="libname32" value="liblwjgl-fmod3.so"/> + <property name="libname64" value="liblwjgl64-fmod3.so"/> + <property name="libs32" value="-lpthread"/> + <property name="libs64" value="-lpthread"/> + <property name="cflags" value="-O2 -Wall -c -fPIC -std=c99 -pthread"/> + + <target name="clean"> + <delete> + <fileset dir="." includes="*.o"/> + <fileset dir="." includes="*.so"/> + </delete> + </target> + + <target name="compile"> + <exec executable="uname" outputproperty="hwplatform"> + <arg value="-i"/> + </exec> + <condition property="libs" value="${libs64}" else="${libs32}"> + <equals arg1="${hwplatform}" arg2="x86_64"/> + </condition> + <condition property="libname" value="${libname64}" else="${libname32}"> + <equals arg1="${hwplatform}" arg2="x86_64"/> + </condition> + <property name="linker_flags" value="-Wl,--version-script=${native}/linux/lwjgl.map -shared -O2 -Wall -o ${libname} ${libs}"/> + <apply dir="." executable="cc" dest="." skipemptyfilesets="true" failonerror="true"> + <arg line="${cflags}"/> + <arg value="-I${java.home}/include"/> + <arg value="-I${java.home}/include/linux"/> + <arg value="-I${fmod.home}/api/inc"/> + <arg value="-I${native}/common"/> + <arg value="-I${native}/common/fmod3"/> + <mapper type="glob" from="*.c" to="*.o"/> + <fileset dir="${native}/common" includes="*common*.c"/> + <fileset dir="${native}/common/fmod3" includes="*.c"/> + </apply> + <apply dir="." parallel="true" executable="cc" failonerror="true"> + <srcfile/> + <arg line="${linker_flags}"/> + <fileset dir="." includes="*.o"/> + </apply> + <apply dir="." parallel="true" executable="strip" failonerror="true"> + <fileset file="${libname}"/> + </apply> + </target> +</project> + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
|
From: <eli...@us...> - 2006-09-08 10:01:39
|
Revision: 2570
http://svn.sourceforge.net/java-game-lib/?rev=2570&view=rev
Author: elias_naur
Date: 2006-09-08 03:01:06 -0700 (Fri, 08 Sep 2006)
Log Message:
-----------
Linux: changed uname -i to uname -m to improve 64 bit detection in build script
Modified Paths:
--------------
trunk/LWJGL/platform_build/linux_ant/build.xml
trunk/LWJGL/platform_build/linux_ant/build_devil.xml
trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml
Modified: trunk/LWJGL/platform_build/linux_ant/build.xml
===================================================================
--- trunk/LWJGL/platform_build/linux_ant/build.xml 2006-09-08 08:29:16 UTC (rev 2569)
+++ trunk/LWJGL/platform_build/linux_ant/build.xml 2006-09-08 10:01:06 UTC (rev 2570)
@@ -17,7 +17,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
- <arg value="-i"/>
+ <arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>
Modified: trunk/LWJGL/platform_build/linux_ant/build_devil.xml
===================================================================
--- trunk/LWJGL/platform_build/linux_ant/build_devil.xml 2006-09-08 08:29:16 UTC (rev 2569)
+++ trunk/LWJGL/platform_build/linux_ant/build_devil.xml 2006-09-08 10:01:06 UTC (rev 2570)
@@ -17,7 +17,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
- <arg value="-i"/>
+ <arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>
Modified: trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml
===================================================================
--- trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml 2006-09-08 08:29:16 UTC (rev 2569)
+++ trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml 2006-09-08 10:01:06 UTC (rev 2570)
@@ -21,7 +21,7 @@
<target name="compile">
<exec executable="uname" outputproperty="hwplatform">
- <arg value="-i"/>
+ <arg value="-m"/>
</exec>
<condition property="libs" value="${libs64}" else="${libs32}">
<equals arg1="${hwplatform}" arg2="x86_64"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <eli...@us...> - 2007-01-07 08:41:36
|
Revision: 2719
http://svn.sourceforge.net/java-game-lib/?rev=2719&view=rev
Author: elias_naur
Date: 2007-01-07 00:41:33 -0800 (Sun, 07 Jan 2007)
Log Message:
-----------
Linux: Devil and FMOD: Add alternative paths to JNI header files
Modified Paths:
--------------
trunk/LWJGL/platform_build/linux_ant/build_devil.xml
trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml
Modified: trunk/LWJGL/platform_build/linux_ant/build_devil.xml
===================================================================
--- trunk/LWJGL/platform_build/linux_ant/build_devil.xml 2007-01-04 23:28:33 UTC (rev 2718)
+++ trunk/LWJGL/platform_build/linux_ant/build_devil.xml 2007-01-07 08:41:33 UTC (rev 2719)
@@ -28,6 +28,8 @@
<property name="linker_flags" value="-Wl,--version-script=${native}/linux/lwjgl.map -shared -O2 -Wall -o ${libname} ${libs}"/>
<apply dir="." executable="cc" dest="." skipemptyfilesets="true" failonerror="true">
<arg line="${cflags}"/>
+ <arg value="-I${java.home}/../include"/>
+ <arg value="-I${java.home}/../include/linux"/>
<arg value="-I${java.home}/include"/>
<arg value="-I${java.home}/include/linux"/>
<arg value="-I${native}/common"/>
Modified: trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml
===================================================================
--- trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml 2007-01-04 23:28:33 UTC (rev 2718)
+++ trunk/LWJGL/platform_build/linux_ant/build_fmod3.xml 2007-01-07 08:41:33 UTC (rev 2719)
@@ -32,6 +32,8 @@
<property name="linker_flags" value="-Wl,--version-script=${native}/linux/lwjgl.map -shared -O2 -Wall -o ${libname} ${libs}"/>
<apply dir="." executable="cc" dest="." skipemptyfilesets="true" failonerror="true">
<arg line="${cflags}"/>
+ <arg value="-I${java.home}/../include"/>
+ <arg value="-I${java.home}/../include/linux"/>
<arg value="-I${java.home}/include"/>
<arg value="-I${java.home}/include/linux"/>
<arg value="-I${fmod.home}/api/inc"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|