Deleted CacheFlush as it's in the MDE Cache library
[mirror_edk2.git] / build.xml
CommitLineData
878ddf1f 1<?xml version="1.0"?>\r
2<!--\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11-->\r
12<project name="mdk" default="all" basedir=".">\r
5d863867 13 <!-- Apply external ANT tasks -->\r
14 <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
15 <taskdef resource="GenBuild.tasks" />\r
16 \r
17 <property environment="env" />\r
18 \r
19 <property name="WORKSPACE_DIR" value="${env.WORKSPACE}" />\r
20 \r
21 <!--property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml" /-->\r
22 \r
23 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />\r
24 \r
25 <target name="all" depends="init, build" />\r
26 \r
27 <target name="init">\r
28 <if>\r
29 <not>\r
30 <isset property="env.WORKSPACE" />\r
31 </not>\r
32 <then>\r
33 <fail message="WORKSPACE environmental variable not set." />\r
34 </then>\r
35 </if>\r
7b778c8e 36 </target>\r
5d863867 37 \r
38 <target name="build">\r
39 <FrameworkBuild />\r
878ddf1f 40 </target>\r
7fa7b1fe 41\r
5d863867 42 <target name="clean" depends="init">\r
43 <echo message="Clean all intermidiate files. " />\r
44 <FrameworkBuild type="clean" />\r
878ddf1f 45 </target>\r
5d863867 46 \r
47 <target name="cleanall" depends="init">\r
48 <echo message="Clean all generated files. " />\r
49 <FrameworkBuild type="cleanall" />\r
878ddf1f 50 </target>\r
5d863867 51 \r
878ddf1f 52</project>\r