]> git.proxmox.com Git - mirror_edk2.git/blame - build.xml
Add volatile type definition to avoid link error when building with ICC
[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
e3cc4061 20 <property name="BUILD_TARGET" value="all"/>\r
5d863867 21 \r
22 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />\r
23 \r
24 <target name="all" depends="init, build" />\r
25 \r
26 <target name="init">\r
27 <if>\r
28 <not>\r
29 <isset property="env.WORKSPACE" />\r
30 </not>\r
31 <then>\r
32 <fail message="WORKSPACE environmental variable not set." />\r
33 </then>\r
34 </if>\r
7b778c8e 35 </target>\r
5d863867 36 \r
37 <target name="build">\r
e3cc4061 38 <echo message="TARGET: ${BUILD_TARGET}" level="info"/>\r
39 <FrameworkBuild type="${BUILD_TARGET}"/>\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