blob: 8d179d5eef07269b7d045ad2ac6f3281f20598d0 [file] [log] [blame]
bbahnsen878ddf12006-04-21 22:54:32 +00001<?xml version="1.0"?>
2<!--
3Copyright (c) 2006, Intel Corporation
4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11-->
12<project name="mdk" default="all" basedir=".">
wuyizhong5d863862006-06-30 17:53:27 +000013 <!-- 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}" />
jwang36e3cc4062007-01-25 01:25:02 +000020 <property name="BUILD_TARGET" value="all"/>
wuyizhong5d863862006-06-30 17:53:27 +000021
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>
bbahnsen7b778c82006-05-03 19:41:11 +000035 </target>
wuyizhong5d863862006-06-30 17:53:27 +000036
37 <target name="build">
jwang36e3cc4062007-01-25 01:25:02 +000038 <echo message="TARGET: ${BUILD_TARGET}" level="info"/>
39 <FrameworkBuild type="${BUILD_TARGET}"/>
bbahnsen878ddf12006-04-21 22:54:32 +000040 </target>
darylm5037fa7b1f2006-04-25 22:25:54 +000041
wuyizhong5d863862006-06-30 17:53:27 +000042 <target name="clean" depends="init">
43 <echo message="Clean all intermidiate files. " />
44 <FrameworkBuild type="clean" />
bbahnsen878ddf12006-04-21 22:54:32 +000045 </target>
wuyizhong5d863862006-06-30 17:53:27 +000046
47 <target name="cleanall" depends="init">
48 <echo message="Clean all generated files. " />
49 <FrameworkBuild type="cleanall" />
bbahnsen878ddf12006-04-21 22:54:32 +000050 </target>
wuyizhong5d863862006-06-30 17:53:27 +000051
bbahnsen878ddf12006-04-21 22:54:32 +000052</project>