]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/build.xml
1. PcdUsage is added to PCD entry in schema so wizard tool is also updated to support...
[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="all" depends="C_Code"/>
17
18 <target name="C_Code" depends="JavaCode">
19 <subant target="" inheritall="false">
20 <filelist dir="."
21 files="
22 Source/TianoTools/build.xml
23 "/>
24 </subant>
25 </target>
26
27 <target name="JavaCode" depends="SurfaceArea">
28 <subant target="" verbose="true" inheritall="false">
29 <!-- Note: this is an ordered list. The projects have dependencies between them. -->
30 <filelist dir="."
31 files="
32 Source/Common/build.xml
33 Source/GenBuild/build.xml
34 Source/FrameworkTasks/build.xml
35 Source/Cpptasks/build.xml
36 Source/FrameworkWizard/build.xml
37 "/>
38 </subant>
39 </target>
40
41 <target name="SurfaceArea" depends="makeCatalog">
42 <subant target="" verbose="true" inheritall="false">
43 <filelist dir="."
44 files="
45 Source/SurfaceArea/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>
61 <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
62 <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>
63 </target>
64
65 <target name="clean">
66 <subant target="clean" inheritall="false">
67 <filelist dir="."
68 files="
69 Source/TianoTools/build.xml
70 Source/FrameworkWizard/build.xml
71 Source/Cpptasks/build.xml
72 Source/FrameworkTasks/build.xml
73 Source/GenBuild/build.xml
74 Source/Common/build.xml
75 Source/SurfaceArea/build.xml
76 "/>
77 </subant>
78 </target>
79
80 <target name="cleanall">
81 <subant target="cleanall" inheritall="false">
82 <filelist dir="."
83 files="
84 Source/TianoTools/build.xml
85 Source/FrameworkWizard/build.xml
86 Source/Cpptasks/build.xml
87 Source/FrameworkTasks/build.xml
88 Source/GenBuild/build.xml
89 Source/Common/build.xml
90 Source/SurfaceArea/build.xml
91 "/>
92 </subant>
93 </target>
94 </project>