Home | History | Annotate | Download | only in jni
      1 <project name="gdx-controllers-desktop-natives" basedir="." default="all">
      2 	<target name="clean">
      3 		<ant antfile="build-windows32.xml" target="clean"/>
      4 		<ant antfile="build-windows64.xml" target="clean"/>
      5 		<ant antfile="build-linux32.xml" target="clean"/>
      6 		<ant antfile="build-linux64.xml" target="clean"/>
      7 
      8 	</target>
      9 	
     10 	<target name="compile-natives">
     11 		<ant antfile="build-windows32.xml"/>
     12 		<ant antfile="build-windows64.xml"/>
     13 		<ant antfile="build-linux32.xml"/>
     14 		<ant antfile="build-linux64.xml"/>
     15 
     16 	</target>
     17 	
     18 	<target name="pack-natives">
     19 		<jar destfile="../libs/gdx-controllers-desktop-natives.jar">
     20 			<fileset dir="../libs/windows32" includes="gdx-controllers-desktop.dll"/>
     21 			<fileset dir="../libs/windows64" includes="gdx-controllers-desktop64.dll"/>
     22 			<fileset dir="../libs/linux32" includes="libgdx-controllers-desktop.so"/>
     23 			<fileset dir="../libs/linux64" includes="libgdx-controllers-desktop64.so"/>
     24 			<fileset dir="../libs/macosx32" includes="libgdx-controllers-desktop.dylib"/>
     25 			<fileset dir="../libs/macosx64" includes="libgdx-controllers-desktop64.dylib"/>
     26 
     27 		</jar>
     28 	</target>
     29 
     30 	<target name="all" depends="compile-natives,pack-natives"/>
     31 </project>
     32