]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/TianoTools/build.xml
1 <?xml version=
"1.0" encoding=
"utf-8" ?>
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
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.
12 <project default=
"all" basedir=
".">
13 <!-- Copyright (c) 2006, Intel Corporation -->
14 <!-- Filename: Tools/Source/build.xml -->
16 <taskdef resource=
"net/sf/antcontrib/antlib.xml"/>
17 <property environment=
"env" />
18 <condition property=
"HostArch" value=
"x64">
21 <condition property=
"HostArch" value=
"Ia32">
24 <condition property=
"HostArch" value=
"Ia32">
27 <property name=
"WORKSPACE" value=
"${env.WORKSPACE}" />
28 <property name=
"WORKSPACE_DIR" value=
"${WORKSPACE}" />
29 <property name=
"PACKAGE" value=
"Tools" />
30 <property name=
"PACKAGE_DIR" value=
"${WORKSPACE}/Tools/Source/TianoTools" />
31 <property name=
"LIB_DIR" value=
"${PACKAGE_DIR}/Library" />
32 <property name=
"BIN_DIR" value=
"${WORKSPACE}/Tools/bin" />
33 <property name=
"BUILD_MODE" value=
"PACKAGE" />
35 value=
"String/build.xml Common/build.xml CustomizedCompress/build.xml PeCoffLoader/build.xml"/>
37 <import file=
"${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />
40 <fileset dir=
"${WORKSPACE}/Tools/Jars" includes=
"*.jar"/>
41 <fileset dir=
"${env.XMLBEANS_HOME}/lib" includes=
"*.jar"/>
44 <target name=
"all" depends=
"init, Tools" />
47 <taskdef classpathref=
"classpath" resource=
"GenBuild.tasks" />
48 <taskdef classpathref=
"classpath" resource=
"net/sf/antcontrib/antlib.xml" />
50 <taskdef classpathref=
"classpath" resource=
"cpptasks.tasks"/>
51 <typedef classpathref=
"classpath" resource=
"cpptasks.types"/>
53 <mkdir dir=
"${BIN_DIR}" />
54 <mkdir dir=
"${LIB_DIR}" />
58 <echo message=
"OS Family UNIX" />
63 <echo message=
"OS Family DOS" />
69 <echo message=
"OS Family OS X" />
73 <echo message=
"OS Family Unsupported" />
78 <isset property=
"env.TOOL_CHAIN" />
80 <property name=
"ToolChain" value=
"${env.TOOL_CHAIN}"/>
81 <condition property=
"gcc">
82 <equals arg1=
"${ToolChain}" arg2=
"gcc"/>
87 <condition property=
"linux" value=
"true">
91 <condition property=
"cygwin">
94 <istrue value=
"${gcc}"/>
98 <condition property=
"x86_64_linux">
101 <equals arg1=
"${HostArch}" arg2=
"x64"/>
105 <condition property=
"windows" value=
"true">
106 <os family=
"Windows"/>
109 <condition property=
"OSX" value=
"true">
115 <target name=
"Libraries">
116 <subant target=
"" inheritall=
"true">
117 <fileset dir=
"${PACKAGE_DIR}"
122 <target name=
"Tools" depends=
"Libraries">
123 <subant target=
"" inheritall=
"true">
124 <fileset dir=
"${PACKAGE_DIR}" includes=
"*/build.xml"
129 <target name=
"clean">
130 <subant target=
"clean" inheritall=
"true">
131 <fileset dir=
"${PACKAGE_DIR}" includes=
"*/build.xml"/>
135 <target name=
"cleanall">
136 <subant target=
"cleanall" inheritall=
"true">
137 <fileset dir=
"${PACKAGE_DIR}" includes=
"*/build.xml"/>
139 <delete dir=
"${LIB_DIR}"/>