blob: 54d39200f18466ea478a222bea56f50f8df63967 [file] [log] [blame]
bbahnsen878ddf12006-04-21 22:54:32 +00001<?xml version="1.0"?>
2<!--
3Copyright (c) 2006, Intel Corporation
4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11-->
12<project name="Tools" default="all" basedir=".">
13
14 <property environment="env"/>
15
16 <target name="JavaCode" depends="SurfaceArea">
17 <subant target="" verbose="true" inheritall="false">
18 <!-- Note: this is an ordered list. The projects have dependencies between them. -->
19 <filelist dir="."
20 files="
qouyangb9546cc2006-06-20 11:57:17 +000021 Source/Common/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000022 Source/GenBuild/build.xml
23 Source/FrameworkTasks/build.xml
24 Source/Cpptasks/build.xml
yshi82a8198d2006-07-05 09:20:45 +000025 Source/FrameworkWizard/build.xml
jwang36ee80c4d2006-06-27 14:34:16 +000026 "/>
bbahnsen878ddf12006-04-21 22:54:32 +000027 </subant>
28 </target>
29
30 <target name="all" depends="C_Code"/>
31
32 <target name="SurfaceArea" depends="makeCatalog">
33 <subant target="" verbose="true" inheritall="false">
34 <filelist dir="."
35 files="
36 Source/SurfaceArea/build.xml
37 "/>
38 </subant>
39 </target>
40
41 <target name="C_Code" depends="JavaCode">
yshi82a8198d2006-07-05 09:20:45 +000042 <subant target="" inheritall="false">
bbahnsen878ddf12006-04-21 22:54:32 +000043 <filelist dir="."
44 files="
45 Source/TianoTools/build.xml
46 "/>
47 </subant>
48 </target>
49
50 <target name="makeCatalog">
51 <echo file="XMLSchema/catalog.xml">
52 <![CDATA[<?xml version="1.0"?>
53<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
54<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
55 <rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"
56 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
57 <rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"
58 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
59</catalog>]]>
60 </echo>
lhauch113ecc32006-06-02 17:28:28 +000061 <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
lhauch9ae93412006-07-04 00:40:35 +000062 <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>
bbahnsen878ddf12006-04-21 22:54:32 +000063 </target>
yshi82a8198d2006-07-05 09:20:45 +000064
bbahnsen878ddf12006-04-21 22:54:32 +000065 <target name="clean">
66 <subant target="clean" inheritall="false">
67 <filelist dir="."
68 files="
69 Source/TianoTools/build.xml
yshi82a8198d2006-07-05 09:20:45 +000070 Source/FrameworkWizard/build.xml
71 Source/Cpptasks/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000072 Source/FrameworkTasks/build.xml
73 Source/GenBuild/build.xml
yshi82a8198d2006-07-05 09:20:45 +000074 Source/Common/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000075 Source/SurfaceArea/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000076 "/>
77 </subant>
78 </target>
yshi82a8198d2006-07-05 09:20:45 +000079
bbahnsen878ddf12006-04-21 22:54:32 +000080 <target name="cleanall">
yshi82a8198d2006-07-05 09:20:45 +000081 <subant target="cleanall" inheritall="false">
bbahnsen878ddf12006-04-21 22:54:32 +000082 <filelist dir="."
83 files="
84 Source/TianoTools/build.xml
yshi82a8198d2006-07-05 09:20:45 +000085 Source/FrameworkWizard/build.xml
86 Source/Cpptasks/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000087 Source/FrameworkTasks/build.xml
88 Source/GenBuild/build.xml
yshi82a8198d2006-07-05 09:20:45 +000089 Source/Common/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000090 Source/SurfaceArea/build.xml
bbahnsen878ddf12006-04-21 22:54:32 +000091 "/>
92 </subant>
93 </target>
94</project>