mirror of https://github.com/acidanthera/audk.git
74 lines
3.4 KiB
XML
74 lines
3.4 KiB
XML
<?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="DxeIpl"><!--Apply external ANT tasks-->
|
|
<taskdef resource="GenBuild.tasks"/>
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
|
|
<property environment="env"/>
|
|
<property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
|
|
<import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
|
|
<property name="MODULE_RELATIVE_PATH" value="Core/DxeIplPeim"/>
|
|
<property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
|
|
<property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
|
|
<target name="DxeIplX64">
|
|
<GenBuild baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
|
|
</target>
|
|
<target name="DxeIpl">
|
|
<GenBuild baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
|
|
</target>
|
|
<target depends="DxeIpl_clean" name="clean"/>
|
|
<target depends="DxeIpl_cleanall" name="cleanall"/>
|
|
<target name="DxeIplX64_clean">
|
|
<OutputDirSetup baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
|
|
<if>
|
|
<available file="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml"/>
|
|
<then>
|
|
<ant antfile="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml" target="clean"/>
|
|
</then>
|
|
</if>
|
|
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
|
</target>
|
|
<target name="DxeIpl_clean">
|
|
<OutputDirSetup baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
|
|
<if>
|
|
<available file="${DEST_DIR_OUTPUT}/DxeIpl_build.xml"/>
|
|
<then>
|
|
<ant antfile="${DEST_DIR_OUTPUT}/DxeIpl_build.xml" target="clean"/>
|
|
</then>
|
|
</if>
|
|
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
|
</target>
|
|
<target name="DxeIplX64_cleanall">
|
|
<OutputDirSetup baseName="DxeIplX64" mbdFilename="${MODULE_DIR}/DxeIplX64.mbd" msaFilename="${MODULE_DIR}/DxeIplX64.msa"/>
|
|
<if>
|
|
<available file="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml"/>
|
|
<then>
|
|
<ant antfile="${DEST_DIR_OUTPUT}/DxeIplX64_build.xml" target="cleanall"/>
|
|
</then>
|
|
</if>
|
|
<delete dir="${DEST_DIR_OUTPUT}"/>
|
|
<delete dir="${DEST_DIR_DEBUG}"/>
|
|
<delete>
|
|
<fileset dir="${BIN_DIR}" includes="**DxeIplX64*"/>
|
|
</delete>
|
|
</target>
|
|
<target name="DxeIpl_cleanall">
|
|
<OutputDirSetup baseName="DxeIpl" mbdFilename="${MODULE_DIR}/DxeIpl.mbd" msaFilename="${MODULE_DIR}/DxeIpl.msa"/>
|
|
<if>
|
|
<available file="${DEST_DIR_OUTPUT}/DxeIpl_build.xml"/>
|
|
<then>
|
|
<ant antfile="${DEST_DIR_OUTPUT}/DxeIpl_build.xml" target="cleanall"/>
|
|
</then>
|
|
</if>
|
|
<delete dir="${DEST_DIR_OUTPUT}"/>
|
|
<delete dir="${DEST_DIR_DEBUG}"/>
|
|
<delete>
|
|
<fileset dir="${BIN_DIR}" includes="**DxeIpl*"/>
|
|
</delete>
|
|
</target>
|
|
</project> |