Added a test to check the # of threads iff threading is enabled. If it's not enabled...
[mirror_edk2.git] / EdkFatBinPkg / Fat_build.xml
1 <?xml version="1.0" ?>
2 <!--
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
8
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.
11 -->
12 <project name="Fat" default="main" basedir="." >
13 <!-- Apply external ANT task -->
14 <taskdef resource="frameworktasks.tasks" />
15 <taskdef resource="cpptasks.tasks" />
16 <typedef resource="cpptasks.types" />
17 <taskdef resource="net/sf/antcontrib/antlib.xml" />
18 <property environment="env" />
19 <!-- All Properties -->
20 <property name="BASE_NAME" value="Fat" />
21
22 <!-- Default target -->
23 <target name="main">
24 <OnDependency>
25 <sourcefiles>
26 <file name="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS"/>
27 </sourcefiles>
28 <targetfiles>
29 <file name="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS"/>
30 </targetfiles>
31 <sequential>
32 <copy file="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS" tofile="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS" />
33 </sequential>
34 </OnDependency>
35 </target>
36
37 <target name="clean">
38 <delete includeemptydirs="true">
39 <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>
40 </delete>
41 </target>
42
43 <target name="cleanall">
44 <delete includeemptydirs="true">
45 <fileset dir="${DEST_DIR_OUTPUT}" excludes="*.xml" includes="**/*"/>
46 </delete>
47 <delete includeemptydirs="true">
48 <fileset dir="${DEST_DIR_DEBUG}" includes="**/*"/>
49 </delete>
50 </target>
51
52 </project>