diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -88,7 +88,7 @@ <target name="-post-compile" depends="c.compile.default" /> - <target name="-post-jar"> + <target name="-post-jar" depends="jar.natives"> <!-- TODO temporary codebase --> <property name="jnlp.codebase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl/"/> @@ -99,15 +99,20 @@ </filterchain> </copy> + </target> + + <target name="jar.natives" unless="c.dont.compile"> + <jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml" destfile="${dist.jar.dir}/jocl-natives-${os.and.arch}.jar" manifest="${basedir}/manifest.mf" /> </target> + <target name="c.compile.default" depends="gluegen.cpptasks.detect.os, gluegen.cpptasks.detect.compiler, jocl.c.compile, c.rename.lib.mingw" /> - <target name="jocl.c.compile" depends="c.setup.build"> + <target name="jocl.c.compile" depends="c.setup.build" unless="c.dont.compile"> <echo message=" - - - compiling JOCL natives - - - "/> <echo message="${compiler.cfg.id}"/> |