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}" />
|
| 20 |
|
| 21 | <!--property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml" /-->
|
| 22 |
|
| 23 | <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />
|
| 24 |
|
| 25 | <target name="all" depends="init, build" />
|
| 26 |
|
| 27 | <target name="init">
|
| 28 | <if>
|
| 29 | <not>
|
| 30 | <isset property="env.WORKSPACE" />
|
| 31 | </not>
|
| 32 | <then>
|
| 33 | <fail message="WORKSPACE environmental variable not set." />
|
| 34 | </then>
|
| 35 | </if>
|
| 36 | <!--
|
| 37 | <ToolChainSetup confPath="${WORKSPACE_DIR}/Tools/Conf" />
|
| 38 | -->
|
bbahnsen | 7b778c8 | 2006-05-03 19:41:11 +0000 | [diff] [blame] | 39 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame^] | 40 |
|
| 41 | <target name="build">
|
| 42 | <FrameworkBuild />
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 43 | </target>
|
darylm503 | 7fa7b1f | 2006-04-25 22:25:54 +0000 | [diff] [blame] | 44 |
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame^] | 45 | <target name="clean" depends="init">
|
| 46 | <echo message="Clean all intermidiate files. " />
|
| 47 | <FrameworkBuild type="clean" />
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 48 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame^] | 49 |
|
| 50 | <target name="cleanall" depends="init">
|
| 51 | <echo message="Clean all generated files. " />
|
| 52 | <FrameworkBuild type="cleanall" />
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 53 | </target>
|
wuyizhong | 5d86386 | 2006-06-30 17:53:27 +0000 | [diff] [blame^] | 54 |
|
bbahnsen | 878ddf1 | 2006-04-21 22:54:32 +0000 | [diff] [blame] | 55 | </project>
|