diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-17 22:09:07 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-17 22:09:07 +0000 |
commit | 5225ad33860566c43e8c58b52d39d7295029454b (patch) | |
tree | 6a3cc8f1dc943ee2e353426498840ac98f50e601 | |
parent | 3bc2b3af0e5d5d6e88f2fe50cc0af3493999a74b (diff) | |
download | edk2-platforms-5225ad33860566c43e8c58b52d39d7295029454b.tar.xz |
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
-rw-r--r-- | Tools/Source/TianoTools/CompressDll/build.xml | 5 | ||||
-rw-r--r-- | Tools/Source/TianoTools/build.xml | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/Tools/Source/TianoTools/CompressDll/build.xml b/Tools/Source/TianoTools/CompressDll/build.xml index 2ef3849340..5df343c035 100644 --- a/Tools/Source/TianoTools/CompressDll/build.xml +++ b/Tools/Source/TianoTools/CompressDll/build.xml @@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </if>
</target>
- <target name="Lib" depends="init" unless="gcc">
+ <target name="Lib" depends="init">
<cc name="${ToolChain}"
objdir="${BUILD_DIR}"
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="${PACKAGE_DIR}/Common"/>
<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"/>
<syslibset libs="kernel32" unless="gcc"/>
</cc>
diff --git a/Tools/Source/TianoTools/build.xml b/Tools/Source/TianoTools/build.xml index 6d4d75b629..d5446f138d 100644 --- a/Tools/Source/TianoTools/build.xml +++ b/Tools/Source/TianoTools/build.xml @@ -75,6 +75,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </then>
</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 name="Libraries">
|