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