Fix capitalization issues.
[mirror_edk2.git] / EdkModulePkg / Universal / Disk / DiskIoPartition / Dxe / 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="DiskIoPartition"><!--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}"/>
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/Disk/DiskIoPartition/Dxe"/>
16 <property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
17 <property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
18 <target name="DiskIoPartition">
19 <GenBuild baseName="DiskIoPartition" mbdFilename="${MODULE_DIR}/DiskIoPartition.mbd" msaFilename="${MODULE_DIR}/DiskIoPartition.msa"/>
20 </target>
21 <target depends="DiskIoPartition_clean" name="clean"/>
22 <target depends="DiskIoPartition_cleanall" name="cleanall"/>
23 <target name="DiskIoPartition_clean">
24 <OutputDirSetup baseName="DiskIoPartition" mbdFilename="${MODULE_DIR}/DiskIoPartition.mbd" msaFilename="${MODULE_DIR}/DiskIoPartition.msa"/>
25 <if>
26 <available file="${DEST_DIR_OUTPUT}/DiskIoPartition_build.xml"/>
27 <then>
28 <ant antfile="${DEST_DIR_OUTPUT}/DiskIoPartition_build.xml" target="clean"/>
29 </then>
30 </if>
31 <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
32 </target>
33 <target name="DiskIoPartition_cleanall">
34 <OutputDirSetup baseName="DiskIoPartition" mbdFilename="${MODULE_DIR}/DiskIoPartition.mbd" msaFilename="${MODULE_DIR}/DiskIoPartition.msa"/>
35 <if>
36 <available file="${DEST_DIR_OUTPUT}/DiskIoPartition_build.xml"/>
37 <then>
38 <ant antfile="${DEST_DIR_OUTPUT}/DiskIoPartition_build.xml" target="cleanall"/>
39 </then>
40 </if>
41 <delete dir="${DEST_DIR_OUTPUT}"/>
42 <delete dir="${DEST_DIR_DEBUG}"/>
43 <delete>
44 <fileset dir="${BIN_DIR}" includes="**DiskIoPartition*"/>
45 </delete>
46 </target>
47 </project>