Build the compress library on Linux and OS X.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@190 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen 2006-05-17 22:09:07 +00:00
parent 3bc2b3af0e
commit 5225ad3386
2 changed files with 15 additions and 2 deletions

View File

@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</if> </if>
</target> </target>
<target name="Lib" depends="init" unless="gcc"> <target name="Lib" depends="init">
<cc name="${ToolChain}" <cc name="${ToolChain}"
objdir="${BUILD_DIR}" objdir="${BUILD_DIR}"
outtype="shared" outtype="shared"
@ -85,7 +85,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<includepath path="${env.WORKSPACE}/MdePkg/Include/Common"/> <includepath path="${env.WORKSPACE}/MdePkg/Include/Common"/>
<includepath path="${PACKAGE_DIR}/Common"/> <includepath path="${PACKAGE_DIR}/Common"/>
<includepath path="${env.JAVA_HOME}/include"/> <includepath path="${env.JAVA_HOME}/include"/>
<includepath path="${env.JAVA_HOME}/include/win32"/> <includepath path="${env.JAVA_HOME}/include/win32" if="windows"/>
<includepath path="${env.JAVA_HOME}/include/linux" if="linux"/>
<libset dir="${LIB_DIR}" libs="CommonTools"/> <libset dir="${LIB_DIR}" libs="CommonTools"/>
<syslibset libs="kernel32" unless="gcc"/> <syslibset libs="kernel32" unless="gcc"/>
</cc> </cc>

View File

@ -75,6 +75,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</then> </then>
</if> </if>
<condition property="linux" value="true">
<os name="Linux"/>
</condition>
<condition property="windows" value="true">
<os family="Windows"/>
</condition>
<condition property="OSX" value="true">
<os family="Mac"/>
</condition>
</target> </target>
<target name="Libraries"> <target name="Libraries">