OSDN Git Service

fixed up ant build to exclude monotouch, some simplifications
[mikumikustudio/libgdx-mikumikustudio.git] / build.xml
index a6682f4..6f8de0d 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -2,9 +2,6 @@
        <description>libgdx distribution build file</description>\r
        <property environment="env" />\r
 \r
-       <!-- ndk directory -->\r
-       <property name="env.NDK_HOME" value="/home/mzechner/android-ndk-r5"/>\r
-\r
        <!-- library version -->\r
        <property name="version" value="0.9.9-SNAPSHOT"/>\r
 \r
                </ant>\r
        </target>\r
 \r
-       <!-- gdx ios-monotouch backend -->\r
-       <target name="gdx-backend-iosmonotouch" depends="gdx-core">\r
-               <path id="classpath">\r
-                       <pathelement location="${distDir}/gdx.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/monotouch-5.4.0.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/mscorlib-4.0.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/opentk-5.4.0.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/system-2.1.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/system-core-2.1.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/monotouch-jars/system-data-2.1.jar"/>\r
-                       <pathelement location="${basedir}/backends/gdx-backend-iosmonotouch/libs/objectal/libObjectAL.jar"/>\r
-               </path>\r
-               <ant antfile="../../build-template.xml" dir="backends/gdx-backend-iosmonotouch">\r
-                       <property name="jar" value="gdx-backend-iosmonotouch"/>\r
-                       <reference refid="classpath"/>\r
-               </ant>\r
-       </target>\r
-\r
        <!-- build the extensions -->\r
        <!-- gdx tools -->\r
        <target name="gdx-tools" depends="gdx-core,gdx-backend-lwjgl,gdx-backend-lwjgl">\r
                        <fileset dir="backends" includes="gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/LwjglApplet.java"/>\r
                        <fileset dir="backends" includes="gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidApplication.java"/>\r
                        <fileset dir="backends" includes="gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidApplicationConfiguration.java"/>\r
-                       <fileset dir="backends" includes="gdx-backend-iosmonotouch/src/com/badlogic/gdx/backends/ios/IOSApplication.java"/>\r
-                       <fileset dir="backends" includes="gdx-backend-iosmonotouch/src/com/badlogic/gdx/backends/ios/IOSApplicationConfiguration.java"/>\r
                        <fileset dir="backends" includes="gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/GwtApplication.java"/>\r
                        <fileset dir="backends" includes="gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/GwtApplicationConfiguration.java"/>\r
+            <fileset dir="backends" includes="gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSApplication.java"/>\r
+                       <fileset dir="backends" includes="gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSApplicationConfiguration.java"/>\r
                </javadoc>\r
        </target>\r
 \r
-       <!-- assumes that all the .dll and .a files have been compiled on a Mac and copied on top\r
-       of the current libgdx folder -->\r
-       <target name="copy-iosfiles">\r
-               <!-- copy dll and .a files as well as IKVM, monotouch and ObjectAL binaries to ios folder-->\r
-               <copy todir="${distDir}/ios" flatten="true" failonerror="false">\r
-                       <fileset dir="gdx/libs/ios32/">\r
-                               <include name="*.a"/>\r
-                               <include name="*.dll"/>\r
-                               <include name="*.dll.mdb"/>\r
-                       </fileset>\r
-                       <fileset dir="backends/gdx-backend-iosmonotouch/libs/ios32">\r
-                               <include name="*.dll"/>\r
-                               <include name="*.dll.mdb"/>\r
-                               <include name="*.a"/>\r
-                       </fileset>\r
-               </copy>\r
-               <copy todir="${distDir}/ios/ikvm" failonerror="false">\r
-                       <fileset dir="backends/gdx-backend-iosmonotouch/libs/ikvm"/>\r
-               </copy>\r
-               <copy todir="${distDir}/ios/monotouch-jars" failonerror="false">\r
-                       <fileset dir="backends/gdx-backend-iosmonotouch/libs/monotouch-jars"/>\r
-               </copy>\r
-               <copy todir="${distDir}/ios/objectal" failonerror="false">\r
-                       <fileset dir="backends/gdx-backend-iosmonotouch/libs/objectal"/>\r
-               </copy>\r
-\r
-               <!-- copy freetype extension dll and .a files -->\r
-               <copy todir="${distDir}/extensions/gdx-freetype/ios" failonerror="false">\r
-                       <fileset dir="extensions/gdx-freetype/libs/ios32">\r
-                               <include name="*.a"/>\r
-                               <include name="*.dll"/>\r
-                               <include name="*.dll.mdb"/>\r
-                       </fileset>\r
-               </copy>\r
-\r
-               <!-- copy bullet extension dll and .a files -->\r
-               <copy todir="${distDir}/extensions/gdx-bullet/ios" failonerror="false">\r
-                       <fileset dir="extensions/gdx-bullet/libs/ios32">\r
-                               <include name="*.a"/>\r
-                               <include name="*.dll"/>\r
-                               <include name="*.dll.mdb"/>\r
-                       </fileset>\r
-               </copy>\r
-       </target>\r
-\r
        <target name="jars"\r
-depends="clean,gdx-setup-ui,gdx-core,gdx-openal,gdx-backend-lwjgl,gdx-backend-jglfw,gdx-backend-android,gdx-backend-gwt,gdx-backend-robovm,gdx-backend-iosmonotouch,gdx-tools,gdx-controllers,gdx-controllers-desktop,gdx-controllers-android,gdx-controllers-gwt,gdx-image,gdx-audio,gdx-freetype,gdx-bullet,gdx-tiled-preprocessor"/>\r
+depends="clean,gdx-setup-ui,gdx-core,gdx-openal,gdx-backend-lwjgl,gdx-backend-jglfw,gdx-backend-android,gdx-backend-gwt,gdx-backend-robovm,gdx-tools,gdx-controllers,gdx-controllers-desktop,gdx-controllers-android,gdx-controllers-gwt,gdx-image,gdx-audio,gdx-freetype,gdx-bullet,gdx-tiled-preprocessor"/>\r
 \r
-       <target name="all" depends="jars,docs,copy-iosfiles">\r
+       <target name="all" depends="jars,docs">\r
                <!-- copy distribution files (licences etc.) -->\r
                <copy tofile="${distDir}/README" file="README.md"/>\r
                <copy tofile="${distDir}/LICENSE" file="LICENSE"/>\r