2006-04-22 00:54:32 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
Copyright (c) 2006, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
-->
|
|
|
|
<project name="Tools" default="all" basedir=".">
|
|
|
|
|
2006-07-31 10:17:22 +02:00
|
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
<property environment="env"/>
|
|
|
|
|
2006-07-09 16:14:00 +02:00
|
|
|
<target name="all" depends="C_Code"/>
|
|
|
|
|
|
|
|
<target name="C_Code" depends="JavaCode">
|
|
|
|
<subant target="" inheritall="false">
|
|
|
|
<filelist dir="."
|
|
|
|
files="
|
|
|
|
Source/TianoTools/build.xml
|
|
|
|
"/>
|
|
|
|
</subant>
|
|
|
|
</target>
|
|
|
|
|
2006-04-22 00:54:32 +02:00
|
|
|
<target name="JavaCode" depends="SurfaceArea">
|
|
|
|
<subant target="" verbose="true" inheritall="false">
|
|
|
|
<!-- Note: this is an ordered list. The projects have dependencies between them. -->
|
|
|
|
<filelist dir="."
|
|
|
|
files="
|
2006-06-20 13:57:17 +02:00
|
|
|
Source/Common/build.xml
|
2006-04-22 00:54:32 +02:00
|
|
|
Source/GenBuild/build.xml
|
|
|
|
Source/FrameworkTasks/build.xml
|
|
|
|
Source/Cpptasks/build.xml
|
2006-07-05 11:20:45 +02:00
|
|
|
Source/FrameworkWizard/build.xml
|
2006-06-27 16:34:16 +02:00
|
|
|
"/>
|
2006-04-22 00:54:32 +02:00
|
|
|
</subant>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="SurfaceArea" depends="makeCatalog">
|
|
|
|
<subant target="" verbose="true" inheritall="false">
|
|
|
|
<filelist dir="."
|
|
|
|
files="
|
|
|
|
Source/SurfaceArea/build.xml
|
|
|
|
"/>
|
|
|
|
</subant>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="makeCatalog">
|
|
|
|
<echo file="XMLSchema/catalog.xml">
|
|
|
|
<![CDATA[<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
|
|
|
|
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
|
|
|
<rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"
|
|
|
|
rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
|
|
|
|
<rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"
|
|
|
|
rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
|
|
|
|
</catalog>]]>
|
|
|
|
</echo>
|
2006-06-02 19:28:28 +02:00
|
|
|
<copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/>
|
2006-07-04 02:40:35 +02:00
|
|
|
<copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/>
|
2006-07-31 10:17:22 +02:00
|
|
|
<if>
|
|
|
|
<not>
|
|
|
|
<available file="Conf/FrameworkDatabase.db"/>
|
|
|
|
</not>
|
|
|
|
<then>
|
|
|
|
<copy file="Conf/FrameworkDatabase.template" tofile="Conf/FrameworkDatabase.db"/>
|
|
|
|
</then>
|
|
|
|
</if>
|
2006-04-22 00:54:32 +02:00
|
|
|
</target>
|
2006-07-05 11:20:45 +02:00
|
|
|
|
2006-04-22 00:54:32 +02:00
|
|
|
<target name="clean">
|
|
|
|
<subant target="clean" inheritall="false">
|
|
|
|
<filelist dir="."
|
|
|
|
files="
|
|
|
|
Source/TianoTools/build.xml
|
2006-07-05 11:20:45 +02:00
|
|
|
Source/FrameworkWizard/build.xml
|
|
|
|
Source/Cpptasks/build.xml
|
2006-04-22 00:54:32 +02:00
|
|
|
Source/FrameworkTasks/build.xml
|
|
|
|
Source/GenBuild/build.xml
|
2006-07-05 11:20:45 +02:00
|
|
|
Source/Common/build.xml
|
2006-04-22 00:54:32 +02:00
|
|
|
Source/SurfaceArea/build.xml
|
|
|
|
"/>
|
|
|
|
</subant>
|
|
|
|
</target>
|
2006-07-05 11:20:45 +02:00
|
|
|
|
2006-04-22 00:54:32 +02:00
|
|
|
<target name="cleanall">
|
2006-07-05 11:20:45 +02:00
|
|
|
<subant target="cleanall" inheritall="false">
|
2006-04-22 00:54:32 +02:00
|
|
|
<filelist dir="."
|
|
|
|
files="
|
|
|
|
Source/TianoTools/build.xml
|
2006-07-05 11:20:45 +02:00
|
|
|
Source/FrameworkWizard/build.xml
|
|
|
|
Source/Cpptasks/build.xml
|
2006-04-22 00:54:32 +02:00
|
|
|
Source/FrameworkTasks/build.xml
|
|
|
|
Source/GenBuild/build.xml
|
2006-07-05 11:20:45 +02:00
|
|
|
Source/Common/build.xml
|
2006-04-22 00:54:32 +02:00
|
|
|
Source/SurfaceArea/build.xml
|
|
|
|
"/>
|
|
|
|
</subant>
|
|
|
|
</target>
|
|
|
|
</project>
|