878ddf1f |
1 | <?xml version="1.0"?>\r |
2 | <!--\r |
3 | Copyright (c) 2006, Intel Corporation\r |
4 | All rights reserved. This program and the accompanying materials\r |
5 | are licensed and made available under the terms and conditions of the BSD License\r |
6 | which accompanies this distribution. The full text of the license may be found at\r |
7 | http://opensource.org/licenses/bsd-license.php\r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
11 | -->\r |
12 | <project name="Tools" default="all" basedir=".">\r |
13 | \r |
14 | <property environment="env"/>\r |
15 | \r |
16 | <target name="JavaCode" depends="SurfaceArea">\r |
17 | <subant target="" verbose="true" inheritall="false">\r |
18 | <!-- Note: this is an ordered list. The projects have dependencies between them. -->\r |
19 | <filelist dir="."\r |
20 | files="\r |
b9546cc8 |
21 | Source/Common/build.xml\r |
878ddf1f |
22 | Source/GenBuild/build.xml\r |
23 | Source/FrameworkTasks/build.xml\r |
24 | Source/Cpptasks/build.xml\r |
25 | Source/ModuleEditor/build.xml\r |
26 | Source/PackageEditor/build.xml\r |
e74da3e3 |
27 | "/>\r |
878ddf1f |
28 | </subant>\r |
29 | </target>\r |
30 | \r |
31 | <target name="all" depends="C_Code"/>\r |
32 | \r |
33 | <target name="SurfaceArea" depends="makeCatalog">\r |
34 | <subant target="" verbose="true" inheritall="false">\r |
35 | <filelist dir="."\r |
36 | files="\r |
37 | Source/SurfaceArea/build.xml\r |
38 | "/>\r |
39 | </subant>\r |
40 | </target>\r |
41 | \r |
42 | <target name="C_Code" depends="JavaCode">\r |
43 | <subant target="" verbose="true" inheritall="false">\r |
44 | <filelist dir="."\r |
45 | files="\r |
46 | Source/TianoTools/build.xml\r |
47 | "/>\r |
48 | </subant>\r |
49 | </target>\r |
50 | \r |
51 | <target name="makeCatalog">\r |
52 | <echo file="XMLSchema/catalog.xml">\r |
53 | <![CDATA[<?xml version="1.0"?>\r |
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">\r |
55 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">\r |
56 | <rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"\r |
57 | rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r |
58 | <rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"\r |
59 | rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r |
60 | </catalog>]]>\r |
61 | </echo>\r |
113ecc36 |
62 | <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>\r |
878ddf1f |
63 | </target>\r |
64 | <target name="clean">\r |
65 | <subant target="clean" inheritall="false">\r |
66 | <filelist dir="."\r |
67 | files="\r |
68 | Source/TianoTools/build.xml\r |
69 | Source/ModuleEditor/build.xml\r |
70 | Source/PackageEditor/build.xml\r |
71 | Source/FrameworkTasks/build.xml\r |
72 | Source/GenBuild/build.xml\r |
73 | Source/SurfaceArea/build.xml\r |
74 | Source/Cpptasks/build.xml\r |
75 | "/>\r |
76 | </subant>\r |
77 | </target>\r |
78 | <target name="cleanall">\r |
79 | <subant target="cleanall" verbose="true" inheritall="false">\r |
80 | <filelist dir="."\r |
81 | files="\r |
82 | Source/TianoTools/build.xml\r |
83 | Source/ModuleEditor/build.xml\r |
84 | Source/PackageEditor/build.xml\r |
85 | Source/FrameworkTasks/build.xml\r |
86 | Source/GenBuild/build.xml\r |
87 | Source/SurfaceArea/build.xml\r |
88 | Source/Cpptasks/build.xml\r |
89 | "/>\r |
90 | </subant>\r |
91 | </target>\r |
92 | </project>\r |