summaryrefslogtreecommitdiffstats
path: root/EdkNt32Pkg/Pei/PcdEmulator/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'EdkNt32Pkg/Pei/PcdEmulator/build.xml')
-rw-r--r--EdkNt32Pkg/Pei/PcdEmulator/build.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Pei/PcdEmulator/build.xml b/EdkNt32Pkg/Pei/PcdEmulator/build.xml
new file mode 100644
index 0000000000..86e0d1fc8e
--- /dev/null
+++ b/EdkNt32Pkg/Pei/PcdEmulator/build.xml
@@ -0,0 +1,47 @@
+<?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="PcdEmulatorPeim"><!--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="Pei\PcdEmulator"/>
+ <property name="MODULE_DIR" value="${PACKAGE_DIR}\${MODULE_RELATIVE_PATH}"/>
+ <property name="COMMON_FILE" value="${WORKSPACE_DIR}\Tools\Conf\Common.xml"/>
+ <target name="PcdEmulatorPeim">
+ <GenBuild baseName="PcdEmulatorPeim" mbdFilename="${MODULE_DIR}\PcdEmulator.mbd" msaFilename="${MODULE_DIR}\PcdEmulator.msa"/>
+ </target>
+ <target depends="PcdEmulatorPeim_clean" name="clean"/>
+ <target depends="PcdEmulatorPeim_cleanall" name="cleanall"/>
+ <target name="PcdEmulatorPeim_clean">
+ <OutputDirSetup baseName="PcdEmulatorPeim" mbdFilename="${MODULE_DIR}\PcdEmulator.mbd" msaFilename="${MODULE_DIR}\PcdEmulator.msa"/>
+ <if>
+ <available file="${DEST_DIR_OUTPUT}\PcdEmulatorPeim_build.xml"/>
+ <then>
+ <ant antfile="${DEST_DIR_OUTPUT}\PcdEmulatorPeim_build.xml" target="clean"/>
+ </then>
+ </if>
+ <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
+ </target>
+ <target name="PcdEmulatorPeim_cleanall">
+ <OutputDirSetup baseName="PcdEmulatorPeim" mbdFilename="${MODULE_DIR}\PcdEmulator.mbd" msaFilename="${MODULE_DIR}\PcdEmulator.msa"/>
+ <if>
+ <available file="${DEST_DIR_OUTPUT}\PcdEmulatorPeim_build.xml"/>
+ <then>
+ <ant antfile="${DEST_DIR_OUTPUT}\PcdEmulatorPeim_build.xml" target="cleanall"/>
+ </then>
+ </if>
+ <delete dir="${DEST_DIR_OUTPUT}"/>
+ <delete dir="${DEST_DIR_DEBUG}"/>
+ <delete>
+ <fileset dir="${BIN_DIR}" includes="**PcdEmulatorPeim*"/>
+ </delete>
+ </target>
+</project> \ No newline at end of file