+++ /dev/null
-<?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="GenLib" basedir="." name="CustomizedCompressLibrary">\r
-<!--\r
- EDK Customized Compress Library\r
- Copyright (c) 2006, Intel Corporation\r
--->\r
-\r
- <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
-\r
- <property name="LibName" value="CustomizedCompress"/>\r
- <property name="LINK_OUTPUT_TYPE" value="static"/>\r
- <property name="BUILD_DIR" value="${PACKAGE_DIR}/CustomizedCompress/tmp"/>\r
-\r
- <target name="GenLib" depends="init, CustomizedCompress">\r
- <echo message="The EDK Tool Library ${LibName} build has completed!"/>\r
- </target>\r
-\r
- <target name="init">\r
- <echo message="Building the EDK Tool Library: ${LibName}"/>\r
- <mkdir dir="${BUILD_DIR}"/>\r
- </target>\r
-\r
- <target name="CustomizedCompress" depends="init">\r
- <cc name="${ToolChain}" objdir="${BUILD_DIR}" \r
- outfile="${LIB_DIR}/${LibName}"\r
- outtype="static"\r
- debug="true"\r
- optimize="speed">\r
-\r
- <fileset dir="${basedir}/CustomizedCompress" \r
- includes="*.c" \r
- defaultexcludes="TRUE" \r
- excludes="*.xml *.inf"/>\r
-\r
- <includepath path="${PACKAGE_DIR}/Include"/>\r
- <includepath path="${PACKAGE_DIR}/Include/Ia32"/>\r
- </cc>\r
- <if>\r
- <istrue value="msft"/>\r
- <then>\r
- <exec dir="${BUILD_DIR}" executable="lib" failonerror="false">\r
- <arg line="/NOLOGO *.lib /OUT:${LIB_DIR}/CustomizedCompress${ext_static}"/>\r
- </exec>\r
- </then>\r
- </if>\r
- </target>\r
-\r
- <target name="clean">\r
- <echo message="Removing Intermediate Files Only"/> \r
- <delete>\r
- <fileset dir="${BUILD_DIR}" includes="*.obj"/>\r
- </delete>\r
- </target>\r
-\r
- <target name="cleanall">\r
- <echo message="Removing Object Files and the Library: ${LibName}${ext_static}"/> \r
- <delete failonerror="false" quiet="true" includeEmptyDirs="true">\r
- <fileset dir="${BUILD_DIR}"/>\r
- <fileset file="${LIB_DIR}/${LibName}${ext_static}"/>\r
- </delete>\r
- </target>\r
-\r
-</project>\r