Make NT32 SecMain not depend on ReportStatusCodeLib
[mirror_edk2.git] / build.xml
... / ...
CommitLineData
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
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
36 </target>\r
37 \r
38 <target name="build">\r
39 <FrameworkBuild />\r
40 </target>\r
41\r
42 <target name="clean" depends="init">\r
43 <echo message="Clean all intermidiate files. " />\r
44 <FrameworkBuild type="clean" />\r
45 </target>\r
46 \r
47 <target name="cleanall" depends="init">\r
48 <echo message="Clean all generated files. " />\r
49 <FrameworkBuild type="cleanall" />\r
50 </target>\r
51 \r
52</project>\r