aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 0b882c2..078ab77 100644
--- a/build.xml
+++ b/build.xml
@@ -14,7 +14,6 @@
<!-- properties -->
<property name="version" value="cvs"/>
<property name="src" location="src"/>
- <property name="patch" location="patch"/>
<property name="test" location="test"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
@@ -168,13 +167,26 @@
</keep>
</proguard -->
</target>
-
+
+ <target name="patch" depends="copy">
+ <!-- performance patch for lwjgl -->
+ <javac destdir="${build}" optimize="off" debug="on" source="1.4">
+ <src path="lib/lwjgl/patch"/>
+ <include name="org/lwjgl/**"/>
+ <classpath refid="build.class.path"/>
+ </javac>
+ <!-- update original lwjgl.jar -->
+ <jar destfile="${dist}/lib/lwjgl.jar" basedir="${build}" update="true">
+ <include name="org/lwjgl/**"/>
+ </jar>
+ </target>
+
<!-- everything -->
<target name="all" depends="installer,bindist,srcdist">
</target>
<!-- dist -->
- <target name="dist" depends="jar,copy">
+ <target name="dist" depends="jar,copy,patch">
</target>
<!-- binary distribution -->