]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/build.xml
Move ant-related code from ParserFpd function to enable single module debug for PCD...
[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 "/>
26 <!--
27 Source/ModuleEditor/build.xml
28 Source/PackageEditor/build.xml
29 -->
30 </subant>
31 </target>
32
33 <target name="all" depends="C_Code"/>
34
35 <target name="SurfaceArea" depends="makeCatalog">
36 <subant target="" verbose="true" inheritall="false">
37 <filelist dir="."
38 files="
39 Source/SurfaceArea/build.xml
40 "/>
41 </subant>
42 </target>
43
44 <target name="C_Code" depends="JavaCode">
45 <subant target="" verbose="true" inheritall="false">
46 <filelist dir="."
47 files="
48 Source/TianoTools/build.xml
49 "/>
50 </subant>
51 </target>
52
53 <target name="makeCatalog">
54 <echo file="XMLSchema/catalog.xml">
55 <![CDATA[<?xml version="1.0"?>
56 <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
57 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
58 <rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"
59 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
60 <rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"
61 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
62 </catalog>]]>
63 </echo>
64 <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
65 <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>
66 </target>
67 <target name="clean">
68 <subant target="clean" inheritall="false">
69 <filelist dir="."
70 files="
71 Source/TianoTools/build.xml
72 Source/ModuleEditor/build.xml
73 Source/PackageEditor/build.xml
74 Source/FrameworkTasks/build.xml
75 Source/GenBuild/build.xml
76 Source/SurfaceArea/build.xml
77 Source/Cpptasks/build.xml
78 "/>
79 </subant>
80 </target>
81 <target name="cleanall">
82 <subant target="cleanall" verbose="true" inheritall="false">
83 <filelist dir="."
84 files="
85 Source/TianoTools/build.xml
86 Source/ModuleEditor/build.xml
87 Source/PackageEditor/build.xml
88 Source/FrameworkTasks/build.xml
89 Source/GenBuild/build.xml
90 Source/SurfaceArea/build.xml
91 Source/Cpptasks/build.xml
92 "/>
93 </subant>
94 </target>
95 </project>