git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@150 6f19259b...
[mirror_edk2.git] / EdkModulePkg / Core / DxeIplPeim / build.xml
CommitLineData
e20ee534
LG
1<?xml version="1.0" encoding="UTF-8"?><!-- Copyright (c) 2006, Intel Corporation
2All rights reserved. This program and the accompanying materials
3are licensed and made available under the terms and conditions of the BSD License
4which accompanies this distribution. The full text of the license may be found at
5http://opensource.org/licenses/bsd-license.php
6
7THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
8WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
9<project basedir="." default="DxeIpl"><!--Apply external ANT tasks-->
10 <taskdef resource="GenBuild.tasks"/>
11 <taskdef resource="net/sf/antcontrib/antlib.xml"/>
12 <property environment="env"/>
13 <property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
14 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
15 <property name="MODULE_RELATIVE_PATH" value="Core/DxeIplPeim"/>
16 <property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
17 <property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
18 <target name="DxeIplX64">
19 <GenBuild baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
20 </target>
21 <target name="DxeIpl">
22 <GenBuild baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
23 </target>
24 <target depends="DxeIpl_clean" name="clean"/>
25 <target depends="DxeIpl_cleanall" name="cleanall"/>
26 <target name="DxeIplX64_clean">
27 <OutputDirSetup baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
28 <if>
29 <available file="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml"/>
30 <then>
31 <ant antfile="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml" target="clean"/>
32 </then>
33 </if>
34 <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
35 </target>
36 <target name="DxeIpl_clean">
37 <OutputDirSetup baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
38 <if>
39 <available file="${DEST_DIR_OUTPUT}/DxeIpl_build.xml"/>
40 <then>
41 <ant antfile="${DEST_DIR_OUTPUT}/DxeIpl_build.xml" target="clean"/>
42 </then>
43 </if>
44 <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
45 </target>
46 <target name="DxeIplX64_cleanall">
47 <OutputDirSetup baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
48 <if>
49 <available file="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml"/>
50 <then>
51 <ant antfile="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml" target="cleanall"/>
52 </then>
53 </if>
54 <delete dir="${DEST_DIR_OUTPUT}"/>
55 <delete dir="${DEST_DIR_DEBUG}"/>
56 <delete>
57 <fileset dir="${BIN_DIR}" includes="**DxeIplX64*"/>
58 </delete>
59 </target>
60 <target name="DxeIpl_cleanall">
61 <OutputDirSetup baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
62 <if>
63 <available file="${DEST_DIR_OUTPUT}/DxeIpl_build.xml"/>
64 <then>
65 <ant antfile="${DEST_DIR_OUTPUT}/DxeIpl_build.xml" target="cleanall"/>
66 </then>
67 </if>
68 <delete dir="${DEST_DIR_OUTPUT}"/>
69 <delete dir="${DEST_DIR_DEBUG}"/>
70 <delete>
71 <fileset dir="${BIN_DIR}" includes="**DxeIpl*"/>
72 </delete>
73 </target>
878ddf1f 74</project>