2006-04-22 00:54:32 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?><!-- Copyright (c) 2006, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
|
|
|
|
<project basedir="." default="EdkPeCoffLoaderX64Lib"><!--Apply external ANT tasks-->
|
|
|
|
<taskdef resource="GenBuild.tasks"/>
|
|
|
|
<property environment="env"/>
|
|
|
|
<property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
|
2006-04-26 22:53:56 +02:00
|
|
|
<import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
|
|
|
|
<property name="MODULE_RELATIVE_PATH" value="Library/EdkPeCoffLoaderX64Lib"/>
|
|
|
|
<property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
|
|
|
|
<property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<target name="EdkPeCoffLoaderX64Lib">
|
2006-04-26 22:53:56 +02:00
|
|
|
<GenBuild baseName="EdkPeCoffLoaderX64Lib" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.msa"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</target>
|
|
|
|
<target depends="EdkPeCoffLoaderX64Lib_clean" name="clean"/>
|
|
|
|
<target depends="EdkPeCoffLoaderX64Lib_cleanAll" name="cleanAll"/>
|
|
|
|
<target name="EdkPeCoffLoaderX64Lib_clean">
|
2006-04-26 22:53:56 +02:00
|
|
|
<OutputDirSetup baseName="EdkPeCoffLoaderX64Lib" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.msa"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<if>
|
2006-04-26 22:53:56 +02:00
|
|
|
<available file="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderX64Lib_build.xml"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<then>
|
2006-04-26 22:53:56 +02:00
|
|
|
<ant antfile="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderX64Lib_build.xml" target="clean"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</then>
|
|
|
|
</if>
|
|
|
|
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
|
|
|
</target>
|
|
|
|
<target name="EdkPeCoffLoaderX64Lib_cleanAll">
|
2006-04-26 22:53:56 +02:00
|
|
|
<OutputDirSetup baseName="EdkPeCoffLoaderX64Lib" mbdFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.mbd" msaFilename="${MODULE_DIR}/EdkPeCoffLoaderX64Lib.msa"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<if>
|
2006-04-26 22:53:56 +02:00
|
|
|
<available file="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderX64Lib_build.xml"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<then>
|
2006-04-26 22:53:56 +02:00
|
|
|
<ant antfile="${DEST_DIR_OUTPUT}/EdkPeCoffLoaderX64Lib_build.xml" target="cleanAll"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</then>
|
|
|
|
</if>
|
|
|
|
<delete dir="${DEST_DIR_OUTPUT}"/>
|
|
|
|
<delete dir="${DEST_DIR_DEBUG}"/>
|
|
|
|
<delete>
|
|
|
|
<fileset dir="${BIN_DIR}" includes="**EdkPeCoffLoaderX64Lib*"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
</project>
|