git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@151 6f19259b...
[mirror_edk2.git] / EdkModulePkg / Library / EdkPeCoffLoaderLibX64 / build.xml
1 <?xml version="1.0" encoding="UTF-8"?><!-- Copyright (c) 2006, Intel Corporation
2 All rights reserved. This program and the accompanying materials
3 are licensed and made available under the terms and conditions of the BSD License
4 which accompanies this distribution. The full text of the license may be found at
5 http://opensource.org/licenses/bsd-license.php
6
7 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
8 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
9 <project basedir="." default="EdkPeCoffLoaderLibX64"><!--Apply external ANT tasks-->
10 <taskdef resource="GenBuild.tasks"/>
11 <property environment="env"/>
12 <property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
13 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
14 <property name="MODULE_RELATIVE_PATH" value="Library/EdkPeCoffLoaderLibX64"/>
15 <property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
16 <property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
17 <target name="EdkPeCoffLoaderLibX64">
18 <GenBuild baseName="EdkPeCoffLoaderLibX64" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.msa"/>
19 </target>
20 <target depends="EdkPeCoffLoaderLibX64_clean" name="clean"/>
21 <target depends="EdkPeCoffLoaderLibX64_cleanAll" name="cleanAll"/>
22 <target name="EdkPeCoffLoaderLibX64_clean">
23 <OutputDirSetup baseName="EdkPeCoffLoaderLibX64" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.msa"/>
24 <if>
25 <available file="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderLibX64_build.xml"/>
26 <then>
27 <ant antfile="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderLibX64_build.xml" target="clean"/>
28 </then>
29 </if>
30 <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
31 </target>
32 <target name="EdkPeCoffLoaderLibX64_cleanAll">
33 <OutputDirSetup baseName="EdkPeCoffLoaderLibX64" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderLibX64.msa"/>
34 <if>
35 <available file="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderLibX64_build.xml"/>
36 <then>
37 <ant antfile="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderLibX64_build.xml" target="cleanAll"/>
38 </then>
39 </if>
40 <delete dir="${DEST_DIR_OUTPUT}"/>
41 <delete dir="${DEST_DIR_DEBUG}"/>
42 <delete>
43 <fileset dir="${BIN_DIR}" includes="**EdkPeCoffLoaderLibX64*"/>
44 </delete>
45 </target>
46 </project>