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
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=
"PciBus"><!--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=
"Bus\Pci\PciBus\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=
"PciBus">
19 <GenBuild baseName=
"PciBus" mbdFilename=
"${MODULE_DIR}\PciBus.mbd" msaFilename=
"${MODULE_DIR}\PciBus.msa"/>
21 <target name=
"LightPciBusPciBus">
22 <GenBuild baseName=
"LightPciBusPciBus" mbdFilename=
"${MODULE_DIR}\LightPciBus.mbd" msaFilename=
"${MODULE_DIR}\LightPciBus.msa"/>
24 <target name=
"PciBusPciBusLite">
25 <GenBuild baseName=
"PciBusPciBusLite" mbdFilename=
"${MODULE_DIR}\PciBusLite.mbd" msaFilename=
"${MODULE_DIR}\PciBusLite.msa"/>
27 <target depends=
"PciBus_clean" name=
"clean"/>
28 <target depends=
"PciBus_cleanall" name=
"cleanall"/>
29 <target name=
"PciBus_clean">
30 <OutputDirSetup baseName=
"PciBus" mbdFilename=
"${MODULE_DIR}\PciBus.mbd" msaFilename=
"${MODULE_DIR}\PciBus.msa"/>
32 <available file=
"${DEST_DIR_OUTPUT}\PciBus_build.xml"/>
34 <ant antfile=
"${DEST_DIR_OUTPUT}\PciBus_build.xml" target=
"clean"/>
37 <delete dir=
"${DEST_DIR_OUTPUT}" excludes=
"*.xml"/>
39 <target name=
"LightPciBusPciBus_clean">
40 <OutputDirSetup baseName=
"LightPciBusPciBus" mbdFilename=
"${MODULE_DIR}\LightPciBus.mbd" msaFilename=
"${MODULE_DIR}\LightPciBus.msa"/>
42 <available file=
"${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml"/>
44 <ant antfile=
"${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml" target=
"clean"/>
47 <delete dir=
"${DEST_DIR_OUTPUT}" excludes=
"*.xml"/>
49 <target name=
"PciBusPciBusLite_clean">
50 <OutputDirSetup baseName=
"PciBusPciBusLite" mbdFilename=
"${MODULE_DIR}\PciBusLite.mbd" msaFilename=
"${MODULE_DIR}\PciBusLite.msa"/>
52 <available file=
"${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml"/>
54 <ant antfile=
"${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml" target=
"clean"/>
57 <delete dir=
"${DEST_DIR_OUTPUT}" excludes=
"*.xml"/>
59 <target name=
"PciBus_cleanall">
60 <OutputDirSetup baseName=
"PciBus" mbdFilename=
"${MODULE_DIR}\PciBus.mbd" msaFilename=
"${MODULE_DIR}\PciBus.msa"/>
62 <available file=
"${DEST_DIR_OUTPUT}\PciBus_build.xml"/>
64 <ant antfile=
"${DEST_DIR_OUTPUT}\PciBus_build.xml" target=
"cleanall"/>
67 <delete dir=
"${DEST_DIR_OUTPUT}"/>
68 <delete dir=
"${DEST_DIR_DEBUG}"/>
70 <fileset dir=
"${BIN_DIR}" includes=
"**PciBus*"/>
73 <target name=
"LightPciBusPciBus_cleanall">
74 <OutputDirSetup baseName=
"LightPciBusPciBus" mbdFilename=
"${MODULE_DIR}\LightPciBus.mbd" msaFilename=
"${MODULE_DIR}\LightPciBus.msa"/>
76 <available file=
"${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml"/>
78 <ant antfile=
"${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml" target=
"cleanall"/>
81 <delete dir=
"${DEST_DIR_OUTPUT}"/>
82 <delete dir=
"${DEST_DIR_DEBUG}"/>
84 <fileset dir=
"${BIN_DIR}" includes=
"**LightPciBusPciBus*"/>
87 <target name=
"PciBusPciBusLite_cleanall">
88 <OutputDirSetup baseName=
"PciBusPciBusLite" mbdFilename=
"${MODULE_DIR}\PciBusLite.mbd" msaFilename=
"${MODULE_DIR}\PciBusLite.msa"/>
90 <available file=
"${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml"/>
92 <ant antfile=
"${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml" target=
"cleanall"/>
95 <delete dir=
"${DEST_DIR_OUTPUT}"/>
96 <delete dir=
"${DEST_DIR_DEBUG}"/>
98 <fileset dir=
"${BIN_DIR}" includes=
"**PciBusPciBusLite*"/>