Fix gcc build break. Slashes should always lean forward!
[mirror_edk2.git] / EdkModulePkg / Universal / PCD / Dxe / build.xml
CommitLineData
54fae63b 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="PcdDxe"><!--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}"/>
f2982b30 14 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
15 <property name="MODULE_RELATIVE_PATH" value="Universal/PCD/Dxe"/>
16 <property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
17 <property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
54fae63b 18 <target name="PcdDxe">
f2982b30 19 <GenBuild baseName="PcdDxe" mbdFilename="${MODULE_DIR}/Pcd.mbd" msaFilename="${MODULE_DIR}/Pcd.msa"/>
54fae63b 20 </target>
21 <target depends="PcdDxe_clean" name="clean"/>
22 <target depends="PcdDxe_cleanall" name="cleanall"/>
23 <target name="PcdDxe_clean">
f2982b30 24 <OutputDirSetup baseName="PcdDxe" mbdFilename="${MODULE_DIR}/Pcd.mbd" msaFilename="${MODULE_DIR}/Pcd.msa"/>
54fae63b 25 <if>
f2982b30 26 <available file="${DEST_DIR_OUTPUT}/PcdDxe_build.xml"/>
54fae63b 27 <then>
f2982b30 28 <ant antfile="${DEST_DIR_OUTPUT}/PcdDxe_build.xml" target="clean"/>
54fae63b 29 </then>
30 </if>
31 <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
32 </target>
33 <target name="PcdDxe_cleanall">
f2982b30 34 <OutputDirSetup baseName="PcdDxe" mbdFilename="${MODULE_DIR}/Pcd.mbd" msaFilename="${MODULE_DIR}/Pcd.msa"/>
54fae63b 35 <if>
f2982b30 36 <available file="${DEST_DIR_OUTPUT}/PcdDxe_build.xml"/>
54fae63b 37 <then>
f2982b30 38 <ant antfile="${DEST_DIR_OUTPUT}/PcdDxe_build.xml" target="cleanall"/>
54fae63b 39 </then>
40 </if>
41 <delete dir="${DEST_DIR_OUTPUT}"/>
42 <delete dir="${DEST_DIR_DEBUG}"/>
43 <delete>
44 <fileset dir="${BIN_DIR}" includes="**PcdDxe*"/>
45 </delete>
46 </target>
f2982b30 47</project>