]> git.proxmox.com Git - mirror_edk2.git/blob - build.xml
Renamed to match filename naming recommendations.
[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 <property name="BUILD_TARGET" value="all"/>
21
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>
35 </target>
36
37 <target name="build">
38 <echo message="TARGET: ${BUILD_TARGET}" level="info"/>
39 <FrameworkBuild type="${BUILD_TARGET}"/>
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>