1 <?xml version="1.0"?>
\r
3 Copyright (c) 2006, Intel Corporation
\r
4 All rights reserved. This program and the accompanying materials
\r
5 are licensed and made available under the terms and conditions of the BSD License
\r
6 which accompanies this distribution. The full text of the license may be found at
\r
7 http://opensource.org/licenses/bsd-license.php
\r
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
\r
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
\r
12 <project name="mdk" default="all" basedir=".">
\r
13 <!-- Apply external ANT tasks -->
\r
14 <taskdef resource="net/sf/antcontrib/antlib.xml" />
\r
15 <taskdef resource="GenBuild.tasks" />
\r
17 <property environment="env" />
\r
19 <property name="WORKSPACE_DIR" value="${env.WORKSPACE}" />
\r
20 <property name="BUILD_TARGET" value="all"/>
\r
22 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />
\r
24 <target name="all" depends="init, build" />
\r
26 <target name="init">
\r
29 <isset property="env.WORKSPACE" />
\r
32 <fail message="WORKSPACE environmental variable not set." />
\r
37 <target name="build">
\r
38 <echo message="TARGET: ${BUILD_TARGET}" level="info"/>
\r
39 <FrameworkBuild type="${BUILD_TARGET}"/>
\r
42 <target name="clean" depends="init">
\r
43 <echo message="Clean all intermidiate files. " />
\r
44 <FrameworkBuild type="clean" />
\r
47 <target name="cleanall" depends="init">
\r
48 <echo message="Clean all generated files. " />
\r
49 <FrameworkBuild type="cleanall" />
\r