]> git.proxmox.com Git - mirror_edk2.git/blob - build.xml
Fix EDKT212.
[mirror_edk2.git] / build.xml
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=".">
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 </target>
37
38 <target name="build">
39 <FrameworkBuild />
40 </target>
41
42 <target name="clean" depends="init">
43 <echo message="Clean all intermidiate files. " />
44 <FrameworkBuild type="clean" />
45 </target>
46
47 <target name="cleanall" depends="init">
48 <echo message="Clean all generated files. " />
49 <FrameworkBuild type="cleanall" />
50 </target>
51
52 </project>