blob: cf10675f62317127b1006e40426f686ff94170ef [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}" />
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>
bbahnsen7b778c82006-05-03 19:41:11 +000036 </target>
wuyizhong5d863862006-06-30 17:53:27 +000037
38 <target name="build">
39 <FrameworkBuild />
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>