Update to Release notes to include more information on the GCC build limitations.
[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
3c8842bc 14 <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
878ddf1f 15 <property environment="env"/>\r
16\r
a7828769 17 <target name="all" depends="C_Code"/>\r
18\r
19 <target name="C_Code" depends="JavaCode">\r
20 <subant target="" inheritall="false">\r
21 <filelist dir="."\r
22 files="\r
23 Source/TianoTools/build.xml\r
24 "/>\r
25 </subant>\r
26 </target>\r
27\r
878ddf1f 28 <target name="JavaCode" depends="SurfaceArea">\r
29 <subant target="" verbose="true" inheritall="false">\r
30 <!-- Note: this is an ordered list. The projects have dependencies between them. -->\r
31 <filelist dir="."\r
32 files="\r
b9546cc8 33 Source/Common/build.xml\r
d14ebb43 34 Source/PcdTools/build.xml\r
878ddf1f 35 Source/GenBuild/build.xml\r
36 Source/FrameworkTasks/build.xml\r
37 Source/Cpptasks/build.xml\r
2a8198da 38 Source/FrameworkWizard/build.xml\r
ee80c4d0 39 "/>\r
878ddf1f 40 </subant>\r
41 </target>\r
42\r
878ddf1f 43 <target name="SurfaceArea" depends="makeCatalog">\r
44 <subant target="" verbose="true" inheritall="false">\r
45 <filelist dir="."\r
46 files="\r
47 Source/SurfaceArea/build.xml\r
48 "/>\r
49 </subant>\r
50 </target>\r
51\r
878ddf1f 52 <target name="makeCatalog">\r
53 <echo file="XMLSchema/catalog.xml">\r
54 <![CDATA[<?xml version="1.0"?>\r
55<!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
56<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">\r
57 <rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"\r
58 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r
59 <rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"\r
60 rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>\r
61</catalog>]]>\r
62 </echo>\r
113ecc36 63 <copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>\r
9ae9341a 64 <copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>\r
3c8842bc 65 <if>\r
66 <not>\r
67 <available file="Conf/FrameworkDatabase.db"/>\r
68 </not>\r
69 <then>\r
70 <copy file="Conf/FrameworkDatabase.template" tofile="Conf/FrameworkDatabase.db"/>\r
71 </then>\r
72 </if>\r
878ddf1f 73 </target>\r
2a8198da 74\r
878ddf1f 75 <target name="clean">\r
76 <subant target="clean" inheritall="false">\r
77 <filelist dir="."\r
78 files="\r
79 Source/TianoTools/build.xml\r
2a8198da 80 Source/FrameworkWizard/build.xml\r
81 Source/Cpptasks/build.xml\r
878ddf1f 82 Source/FrameworkTasks/build.xml\r
83 Source/GenBuild/build.xml\r
d14ebb43 84 Source/PcdTools/build.xml\r
2a8198da 85 Source/Common/build.xml\r
878ddf1f 86 Source/SurfaceArea/build.xml\r
878ddf1f 87 "/>\r
88 </subant>\r
89 </target>\r
2a8198da 90\r
878ddf1f 91 <target name="cleanall">\r
2a8198da 92 <subant target="cleanall" inheritall="false">\r
878ddf1f 93 <filelist dir="."\r
94 files="\r
95 Source/TianoTools/build.xml\r
2a8198da 96 Source/FrameworkWizard/build.xml\r
97 Source/Cpptasks/build.xml\r
878ddf1f 98 Source/FrameworkTasks/build.xml\r
99 Source/GenBuild/build.xml\r
d14ebb43 100 Source/PcdTools/build.xml\r
2a8198da 101 Source/Common/build.xml\r
878ddf1f 102 Source/SurfaceArea/build.xml\r
878ddf1f 103 "/>\r
104 </subant>\r
105 </target>\r
106</project>\r