]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/Pccts/antlr/build.xml
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / CCode / Source / Pccts / antlr / build.xml
diff --git a/Tools/CCode/Source/Pccts/antlr/build.xml b/Tools/CCode/Source/Pccts/antlr/build.xml
deleted file mode 100644 (file)
index 7ea7458..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0" ?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
--->\r
-<project default="GenTool" basedir=".">\r
-<!--\r
-    EDK antlr Tool\r
-  Copyright (c) 2006, Intel Corporation\r
--->\r
-  <property name="ToolName" value="antlr"/>\r
-\r
-  <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
-\r
-  <target name="init">\r
-               <condition property="CheckDepends">\r
-                 <uptodate targetfile="${WORKSPACE}/Tools/bin/antlr.exe">\r
-                         <srcfiles dir="." includes="*.c *.h *.g"/>\r
-                       </uptodate>\r
-               </condition>\r
-               <if>\r
-                 <equals arg1="${CheckDepends}" arg2="true"/>\r
-                       <then>\r
-                               <echo message="Executable, antlr.exe, is up to date."/>\r
-                       </then>\r
-      <else>\r
-        <echo message="Building the EDK Pccts Tool: ${ToolName}"/>\r
-      </else>\r
-               </if>\r
-  </target>\r
-\r
-  <target name="GenTool" depends="init" unless="CheckDepends">\r
-    <if>\r
-      <equals arg1="${ToolChain}" arg2="msvc"/>\r
-                       <then>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="TRUE">\r
-                 <arg line="/NOLOGO"/>\r
-                 <arg line="-f AntlrMS.mak"/>\r
-               </exec>\r
-                 </then>\r
-               <elseif>\r
-        <istrue value="${cygwin}"/>\r
-                   <then>\r
-           <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
-                 <arg line="-f makefile.cygwin"/>\r
-               </exec>\r
-                   </then>\r
-      </elseif>\r
-      <elseif>\r
-        <istrue value="${gcc}"/>\r
-        <then>\r
-           <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
-                 <arg line="-s"/>\r
-                 <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>\r
-               </exec>\r
-        </then>\r
-                 </elseif>\r
-               </if>\r
-    <echo message="The EDK Tool: ${ToolName} build has completed!"/>\r
-       </target>\r
-\r
-  <target name="clean">\r
-    <echo message="Removing Intermediate Files Only"/>  \r
-    <if>\r
-      <equals arg1="${ToolChain}" arg2="msvc"/>\r
-                       <then>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="TRUE">\r
-                 <arg line="/C"/>\r
-                 <arg line="/NOLOGO"/>\r
-                 <arg line="-f AntlrMS.mak clean"/>\r
-               </exec>\r
-                 </then>\r
-    <elseif>\r
-      <istrue value="${cygwin}"/>\r
-      <then>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
-                 <arg line="-f makefile.cygwin clean"/>\r
-               </exec>\r
-      </then>\r
-               </elseif>\r
-               <elseif>\r
-      <istrue value="${gcc}"/>\r
-      <then>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">\r
-                 <arg line="-s"/>\r
-                 <arg line="-f makefile clean"/>\r
-               </exec>\r
-      </then>\r
-               </elseif>\r
-               </if>\r
-  </target>\r
-\r
-  <target name="cleanall">\r
-    <echo message="Removing Object Files and the Executable: ${ToolName}${ext_exe}"/>  \r
-    <if>\r
-      <equals arg1="${ToolChain}" arg2="msvc"/>\r
-                       <then>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="FALSE">\r
-                 <arg line="/C"/>\r
-                 <arg line="/NOLOGO"/>\r
-                 <arg line="/f AntlrMS.mak clean"/>\r
-               </exec>\r
-                 </then>\r
-               <elseif>\r
-      <istrue value="${cygwin}"/>\r
-                       <then>\r
-        <echo message="Building antlr with cygwin gcc"/>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="FALSE">\r
-               <arg line="-s"/>\r
-                 <arg line="-f makefile.cygwin clean"/>\r
-               </exec>\r
-                 </then>\r
-               </elseif>\r
-               <elseif>\r
-      <istrue value="${gcc}"/>\r
-      <then>\r
-        <echo message="Building antlr with gcc"/>\r
-         <exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="FALSE">\r
-               <arg line="-s"/>\r
-                 <arg line="-f makefile clean"/>\r
-               </exec>\r
-      </then>\r
-               </elseif>\r
-               </if>\r
-    <delete failonerror="false" quiet="true" includeEmptyDirs="true">\r
-      <fileset file="${BIN_DIR}/${ToolName}${ext_exe}"/>\r
-    </delete>\r
-  </target>\r
-\r
-</project>\r