]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added ant build.xml for better automating the build process
authorbeutel <beutel>
Wed, 15 Aug 2007 22:04:30 +0000 (22:04 +0000)
committerbeutel <beutel>
Wed, 15 Aug 2007 22:04:30 +0000 (22:04 +0000)
support/sdk/c/build.xml [new file with mode: 0644]
support/sdk/cpp/sf/build.xml

diff --git a/support/sdk/c/build.xml b/support/sdk/c/build.xml
new file mode 100644 (file)
index 0000000..c776303
--- /dev/null
@@ -0,0 +1,26 @@
+<project name="tinyos-2.x support sdk c" default="all">
+
+       <target name="all" >
+               <echo message = "Building support sdk c" />
+               <exec executable="./bootstrap" failonerror="true">
+               </exec>
+               <exec executable="./configure" failonerror="true">
+               </exec>
+               <exec executable="make" failonerror="true">
+                       <arg line="all" />
+               </exec>
+       </target>
+
+       <target name="install_cruisecontrol" >
+               <echo message = "Building tinyos-2.x support sdk c" />
+               <exec executable="./bootstrap" failonerror="true">
+               </exec>
+               <exec executable="./configure" failonerror="true">
+                       <arg line="--prefix=/scratch/tos2/usr --quiet" />
+                       </exec>
+               <exec executable="make" failonerror="true">
+                       <arg line="install" />
+               </exec>
+       </target>
+
+</project>
index 9888cacd47af3359f6ee84c06d3188728340fc4a..f2723c081f423bcc42f1750cd70304991af31165 100644 (file)
@@ -1,4 +1,4 @@
-<project name="tinyos-2.x support sdk java" default="all">
+<project name="tinyos-2.x support sdk cpp sf" default="all">
 
        <target name="all" >
                <echo message = "Building support sdk cpp sf" />