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=
"GenTool" basedir=
".">
15 Copyright (c) 2006, Intel Corporation
17 <property name=
"ToolName" value=
"Pccts"/>
19 <taskdef resource=
"cpptasks.tasks"/>
20 <typedef resource=
"cpptasks.types"/>
21 <taskdef resource=
"net/sf/antcontrib/antlib.xml"/>
23 <property environment=
"env"/>
26 <echo message=
"The EDK Tool: ${ToolName}"/>
28 <equals arg1=
"${GCC}" arg2=
"cygwin"/>
30 <echo message=
"Cygwin Family"/>
31 <property name=
"ToolChain" value=
"gcc"/>
36 <echo message=
"Windows Family"/>
37 <property name=
"ToolChain" value=
"msvc"/>
43 <echo message=
"UNIX Family"/>
44 <property name=
"ToolChain" value=
"gcc"/>
50 Unsupported Operating System
51 Please Contact Intel Corporation
56 <equals arg1=
"${ToolChain}" arg2=
"msvc"/>
58 <property name=
"ext_static" value=
".lib"/>
59 <property name=
"ext_dynamic" value=
".dll"/>
60 <property name=
"ext_exe" value=
".exe"/>
63 <equals arg1=
"${ToolChain}" arg2=
"gcc"/>
65 <property name=
"ext_static" value=
".a"/>
66 <property name=
"ext_dynamic" value=
".so"/>
67 <property name=
"ext_exe" value=
""/>
73 <target name=
"GenTool" depends=
"init">
74 <echo message=
"Building the EDK Tool: ${ToolName}"/>
75 <ant dir=
"${PACKAGE_DIR}/Pccts/antlr" inheritAll=
"true"/>
76 <ant dir=
"${PACKAGE_DIR}/Pccts/dlg" inheritAll=
"true"/>
79 <target name=
"clean" depends=
"init">
80 <ant dir=
"${PACKAGE_DIR}/Pccts/antlr" target=
"clean" inheritAll=
"true"/>
81 <ant dir=
"${PACKAGE_DIR}/Pccts/dlg" target=
"clean" inheritAll=
"true"/>
84 <target name=
"cleanall" depends=
"init">
85 <ant dir=
"${PACKAGE_DIR}/Pccts/antlr" target=
"cleanall" inheritAll=
"true"/>
86 <ant dir=
"${PACKAGE_DIR}/Pccts/dlg" target=
"cleanall" inheritAll=
"true"/>