harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r804992 - in /harmony/enhanced/classlib/trunk: build.xml make/build-native.xml
Date Mon, 17 Aug 2009 14:20:32 GMT
Author: hindessm
Date: Mon Aug 17 14:20:31 2009
New Revision: 804992

URL: http://svn.apache.org/viewvc?rev=804992&view=rev
Log:
Move makefile hdk setup to be consistent with ant hdk setup.

Modified:
    harmony/enhanced/classlib/trunk/build.xml
    harmony/enhanced/classlib/trunk/make/build-native.xml

Modified: harmony/enhanced/classlib/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/build.xml?rev=804992&r1=804991&r2=804992&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/build.xml (original)
+++ harmony/enhanced/classlib/trunk/build.xml Mon Aug 17 14:20:31 2009
@@ -320,6 +320,7 @@
 
     <target name="-clean-hdk">
         <delete dir="${hy.hdk}/build/ant" />
+	<delete dir="${hy.hdk}/build/make" />
     </target>
     
     <macrodef name="chksum">
@@ -358,6 +359,14 @@
                   tofile="${hy.hdk}/build/ant/depends.properties"
                   outputencoding="UTF-8" >
             </copy>
+
+	    <mkdir dir="${hy.hdk}/build/make" />
+	    <copy todir="${hy.hdk}/build/make" overwrite="yes">
+                <fileset dir="depends/build">
+                    <include name="**" />
+                </fileset>
+            </copy>
+
         </sequential>
     </macrodef>
 

Modified: harmony/enhanced/classlib/trunk/make/build-native.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-native.xml?rev=804992&r1=804991&r2=804992&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-native.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-native.xml Mon Aug 17 14:20:31 2009
@@ -31,7 +31,6 @@
     <import file="${basedir}/make/properties.xml" />
     <import file="${basedir}/make/depends.xml" />
 
-    <property name="depends.build" location="depends/build" />
     <property name="depends.oss" location="depends/oss" />
     <property name="depends.libs" location="depends/libs/${hy.platform}" />
     <property name="depends.files" location="depends/files" />
@@ -54,17 +53,18 @@
     <!-- ================================= 
           target: build
          ================================= -->
-    <target name="build" depends="overlay-oss,copy-includes,layout,make-all" />
+    <target name="build"
+            depends="overlay-oss,copy-includes,layout,build-modules" />
 
 
     <!-- ================================= 
           target: clean              
          ================================= -->
-    <target name="clean" depends="make-clean,clean-includes,clean-layout" />
+    <target name="clean" depends="clean-modules,clean-includes,clean-layout" />
 
 
     <!-- This target invokes make on the all target to compile all natives -->
-    <target name="make-all" depends="copy-makefile-includes">
+    <target name="build-modules">
     	
     	<!-- These module targets take care of building and copying
              their shared libs -->
@@ -82,10 +82,7 @@
     <!-- ================================= 
           target: make-clean              
          ================================= -->
-    <target name="make-clean"
-        depends="copy-makefile-includes,-make-clean,clean-makefile-includes" />
-
-    <target name="-make-clean">
+    <target name="clean-modules">
         <poll-modules target="clean-native" />
     	<delete dir="${native.lib.target}" />
     </target>
@@ -174,26 +171,4 @@
         <delete dir="${hy.hdk}/jdk/include" />
     </target>
 
-    <!-- ================================= 
-          target: copy-makefile-includes              
-         ================================= -->
-    <target name="copy-makefile-includes">
-	<!-- copy generic defines and rules for each platform into a shared
-	     place -->
-	<mkdir dir="${hy.hdk}/build/make" />
-	<copy todir="${hy.hdk}/build/make" overwrite="yes">
-            <fileset dir="${depends.build}">
-                <include name="**" />
-            </fileset>
-        </copy>
-    </target>
-	
-    <!-- ================================= 
-          target: clean-makefile-includes              
-         ================================= -->
-    <target name="clean-makefile-includes">
-	<!-- delete generic defines and rules -->
-	<delete dir="${hy.hdk}/build/make" />
-    </target>
-
 </project>



Mime
View raw message