]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/build.xml
Fix Buger in this file to process the ffs file that only contain one compressed section.
[mirror_edk2.git] / Tools / build.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT 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="
21 Source/Common/build.xml
22 Source/GenBuild/build.xml
23 Source/FrameworkTasks/build.xml
24 Source/Cpptasks/build.xml
25 Source/ModuleEditor/build.xml
26 Source/PackageEditor/build.xml
27 "/>
28 </subant>
29 </target>
30
31 <target name="all" depends="C_Code"/>
32
33 <target name="SurfaceArea" depends="makeCatalog">
34 <subant target="" verbose="true" inheritall="false">
35 <filelist dir="."
36 files="
37 Source/SurfaceArea/build.xml
38 "/>
39 </subant>
40 </target>
41
42 <target name="C_Code" depends="JavaCode">
43 <subant target="" verbose="true" inheritall="false">
44 <filelist dir="."
45 files="
46 Source/TianoTools/build.xml
47 "/>
48 </subant>
49 </target>
50
51 <target name="makeCatalog">
52 <echo file="XMLSchema/catalog.xml">
53 <![CDATA[<?xml version="1.0"?>
54 <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
55 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
56 <rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"
57 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
58 <rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"
59 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
60 </catalog>]]>
61 </echo>
62 <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
63 </target>
64 <target name="clean">
65 <subant target="clean" inheritall="false">
66 <filelist dir="."
67 files="
68 Source/TianoTools/build.xml
69 Source/ModuleEditor/build.xml
70 Source/PackageEditor/build.xml
71 Source/FrameworkTasks/build.xml
72 Source/GenBuild/build.xml
73 Source/SurfaceArea/build.xml
74 Source/Cpptasks/build.xml
75 "/>
76 </subant>
77 </target>
78 <target name="cleanall">
79 <subant target="cleanall" verbose="true" inheritall="false">
80 <filelist dir="."
81 files="
82 Source/TianoTools/build.xml
83 Source/ModuleEditor/build.xml
84 Source/PackageEditor/build.xml
85 Source/FrameworkTasks/build.xml
86 Source/GenBuild/build.xml
87 Source/SurfaceArea/build.xml
88 Source/Cpptasks/build.xml
89 "/>
90 </subant>
91 </target>
92 </project>