diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -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 --> |