summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/Debugger/Debugport/Dxe/build.xml
blob: 4b9c2e45b83ee8328f3f05faaafc052123771650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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="DebugPort"><!--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="Universal/Debugger/Debugport/Dxe"/>
   <property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
   <property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
   <target name="DebugPort">
      <GenBuild baseName="DebugPort" mbdFilename="${MODULE_DIR}/DebugPort.mbd" msaFilename="${MODULE_DIR}/DebugPort.msa"/>
   </target>
   <target depends="DebugPort_clean" name="clean"/>
   <target depends="DebugPort_cleanall" name="cleanall"/>
   <target name="DebugPort_clean">
      <OutputDirSetup baseName="DebugPort" mbdFilename="${MODULE_DIR}/DebugPort.mbd" msaFilename="${MODULE_DIR}/DebugPort.msa"/>
      <if>
         <available file="${DEST_DIR_OUTPUT}/DebugPort_build.xml"/>
         <then>
            <ant antfile="${DEST_DIR_OUTPUT}/DebugPort_build.xml" target="clean"/>
         </then>
      </if>
      <delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
   </target>
   <target name="DebugPort_cleanall">
      <OutputDirSetup baseName="DebugPort" mbdFilename="${MODULE_DIR}/DebugPort.mbd" msaFilename="${MODULE_DIR}/DebugPort.msa"/>
      <if>
         <available file="${DEST_DIR_OUTPUT}/DebugPort_build.xml"/>
         <then>
            <ant antfile="${DEST_DIR_OUTPUT}/DebugPort_build.xml" target="cleanall"/>
         </then>
      </if>
      <delete dir="${DEST_DIR_OUTPUT}"/>
      <delete dir="${DEST_DIR_DEBUG}"/>
      <delete>
         <fileset dir="${BIN_DIR}" includes="**DebugPort*"/>
      </delete>
   </target>
</project>