]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/build.xml
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
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.
12 <project name =
"Tools" default =
"all" basedir =
"." >
14 <taskdef resource =
"net/sf/antcontrib/antlib.xml" />
15 <property environment =
"env" />
17 <target name =
"all" depends =
"C_Code" >
18 <echo message =
"The EDK II Tools build has completed!" />
21 <target name =
"C_Code" depends =
"JavaCode" >
22 <subant target =
"" inheritall =
"false" >
25 CCode/Source/build.xml
30 <target name =
"JavaCode" depends =
"SurfaceArea" >
31 <subant target =
"" verbose =
"true" inheritall =
"false" >
32 <!-- Note: this is an ordered list. The projects have dependencies between them. -->
35 Java/Source/Common/build.xml
36 Java/Source/PcdTools/build.xml
37 Java/Source/GenBuild/build.xml
38 Java/Source/FrameworkTasks/build.xml
39 Java/Source/Cpptasks/build.xml
40 Java/Source/FrameworkWizard/build.xml
41 Java/Source/MigrationTools/build.xml
42 Java/Source/ContextTool/build.xml
43 Java/Source/Merge/build.xml
46 <echo message =
"The EDK II Java Tools build has completed!" />
49 <target name =
"Wizard" depends =
"SurfaceArea" >
50 <subant target =
"" verbose =
"true" inheritall =
"false" >
51 <!-- Note: this is an ordered list. The projects have dependencies between them. -->
54 Java/Source/FrameworkWizard/build.xml
59 <target name =
"Merge" depends =
"SurfaceArea" >
60 <subant target =
"" verbose =
"true" inheritall =
"false" >
63 Java/Source/Merge/build.xml
68 <target name =
"SurfaceArea" depends =
"makeCatalog" >
69 <subant target =
"" verbose =
"true" inheritall =
"false" >
72 Java/Source/SurfaceArea/build.xml
77 <target name =
"makeCatalog" >
78 <echo file =
"XMLSchema/catalog.xml" >
79 <![CDATA[
<?xml version =
"1.0" ?>
80 <!DOCTYPE catalog PUBLIC
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd" >
81 <catalog xmlns =
"urn:oasis:names:tc:entity:xmlns:xml:catalog" >
82 <rewriteSystem systemIdStartString =
"http://www.TianoCore.org/2006/Edk2.0/"
83 rewritePrefix =
"file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/" />
84 <rewriteURI uriStartString =
"http://www.TianoCore.org/2006/Edk2.0/"
85 rewritePrefix =
"file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/" />
90 <available file =
"Conf/tools_def.txt" />
93 <copy file =
"Conf/tools_def.template" tofile =
"Conf/tools_def.txt" />
99 <available file =
"Conf/target.txt" />
102 <copy file =
"Conf/target.template" tofile =
"Conf/target.txt" />
108 <available file =
"Conf/FrameworkDatabase.db" />
111 <copy file =
"Conf/FrameworkDatabase.template" tofile =
"Conf/FrameworkDatabase.db" />
116 <target name =
"clean" >
117 <subant target =
"clean" inheritall =
"false" >
120 Java/Source/FrameworkWizard/build.xml
121 Java/Source/Cpptasks/build.xml
122 Java/Source/FrameworkTasks/build.xml
123 Java/Source/GenBuild/build.xml
124 Java/Source/PcdTools/build.xml
125 Java/Source/Common/build.xml
126 Java/Source/SurfaceArea/build.xml
127 CCode/Source/build.xml
128 Java/Source/MigrationTools/build.xml
129 Java/Source/ContextTool/build.xml
130 Java/Source/Merge/build.xml
135 <target name =
"cleanall" >
136 <available classname =
"org.tianocore.frameworkwizard.FrameworkWizardUI" property =
"FrameworkWizardUI.available" />
137 <available classname =
"org.tianocore.build.GenBuildTask" property =
"GenBuildTask.available" />
138 <available classname =
"org.tianocore.framework.tasks.Tool" property =
"Tool.available" />
139 <available classname =
"org.tianocore.pcd.action.BuildAction" property =
"PcdClass.available" />
142 <isset property =
"FrameworkWizardUI.available" />
143 <isset property =
"GenBuildTask.available" />
144 <isset property =
"Tool.available" />
145 <isset property =
"PcdClass.available" />
148 <fail message =
"Use ant -noclasspath cleanall, to remove all jar files!" />
151 <subant target =
"cleanall" inheritall =
"true" >
154 Java/Source/FrameworkWizard/build.xml
155 Java/Source/Cpptasks/build.xml
156 Java/Source/FrameworkTasks/build.xml
157 Java/Source/GenBuild/build.xml
158 Java/Source/PcdTools/build.xml
159 Java/Source/Common/build.xml
160 Java/Source/SurfaceArea/build.xml
161 CCode/Source/build.xml
162 Java/Source/MigrationTools/build.xml
163 Java/Source/ContextTool/build.xml
164 Java/Source/Merge/build.xml