bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?>
|
| 2 | <!--
|
| 3 | Copyright (c) 2006, Intel Corporation
|
| 4 | All rights reserved. This program and the accompanying materials
|
| 5 | are licensed and made available under the terms and conditions of the BSD License
|
| 6 | which accompanies this distribution. The full text of the license may be found at
|
| 7 | http://opensource.org/licenses/bsd-license.php
|
| 8 |
|
| 9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 11 | -->
|
| 12 | <project name="mdk" default="all" basedir=".">
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 13 | <!-- Apply external ANT tasks -->
|
| 14 | <taskdef resource="net/sf/antcontrib/antlib.xml" />
|
| 15 | <taskdef resource="GenBuild.tasks" />
|
| 16 |
|
| 17 | <property environment="env" />
|
| 18 |
|
| 19 | <property name="WORKSPACE_DIR" value="${env.WORKSPACE}" />
|
jwang36 | e3cc406 | 2007-01-25 01:25:02 +0000 | [diff] [blame] | 20 | <property name="BUILD_TARGET" value="all"/>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 21 |
|
| 22 | <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />
|
| 23 |
|
| 24 | <target name="all" depends="init, build" />
|
| 25 |
|
| 26 | <target name="init">
|
| 27 | <if>
|
| 28 | <not>
|
| 29 | <isset property="env.WORKSPACE" />
|
| 30 | </not>
|
| 31 | <then>
|
| 32 | <fail message="WORKSPACE environmental variable not set." />
|
| 33 | </then>
|
| 34 | </if>
|
bbahnsen | 7b778c8 | 2006-05-03 19:41:11 +0000 | [diff] [blame] | 35 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 36 |
|
| 37 | <target name="build">
|
jwang36 | e3cc406 | 2007-01-25 01:25:02 +0000 | [diff] [blame] | 38 | <echo message="TARGET: ${BUILD_TARGET}" level="info"/>
|
| 39 | <FrameworkBuild type="${BUILD_TARGET}"/>
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 40 | </target>
|
darylm503 | 7fa7b1f | 2006-04-25 22:25:54 +0000 | [diff] [blame] | 41 |
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 42 | <target name="clean" depends="init">
|
| 43 | <echo message="Clean all intermidiate files. " />
|
| 44 | <FrameworkBuild type="clean" />
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 45 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 46 |
|
| 47 | <target name="cleanall" depends="init">
|
| 48 | <echo message="Clean all generated files. " />
|
| 49 | <FrameworkBuild type="cleanall" />
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 50 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame] | 51 |
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 52 | </project>
|