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