diff options
author | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-03 22:14:18 +0000 |
---|---|---|
committer | bbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-05-03 22:14:18 +0000 |
commit | dce914c0d20c001d438e4fd13a9310ea44cb4d55 (patch) | |
tree | c093fe18a3eac2817d820ed6846d5eeda20df2cf /Tools/Source/TianoTools/VfrCompile/build.xml | |
parent | 7b778c8ee3386039bbb65ce433e5da9adc2169a7 (diff) | |
download | edk2-platforms-dce914c0d20c001d438e4fd13a9310ea44cb4d55.tar.xz |
Streamline the tools build and make it friendlier to gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@97 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source/TianoTools/VfrCompile/build.xml')
-rw-r--r-- | Tools/Source/TianoTools/VfrCompile/build.xml | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/Tools/Source/TianoTools/VfrCompile/build.xml b/Tools/Source/TianoTools/VfrCompile/build.xml index 217c4075cc..f6a08c83b2 100644 --- a/Tools/Source/TianoTools/VfrCompile/build.xml +++ b/Tools/Source/TianoTools/VfrCompile/build.xml @@ -79,19 +79,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </if>
<condition property="CheckDepends">
<uptodate targetfile="${WORKSPACE}/Tools/bin/VfrCompile${ext_exe}">
- <srcfiles dir="${WORKSPACE}/Tools/Source/TianoTools/VfrCompile" includes="EfiVfrParser.cpp DLGLexer.cpp VfrCompile.cpp VfrCompile.g VfrServices.cpp parser.dlg"/>
+ <srcfiles dir="${WORKSPACE}/Tools/Source/TianoTools/VfrCompile"
+ includes="EfiVfrParser.cpp DLGLexer.cpp VfrCompile.cpp VfrCompile.g VfrServices.cpp parser.dlg"/>
</uptodate>
</condition>
</target>
<target name="Antlr" depends="init" unless="CheckDepends">
- <exec dir="${basedir}/${ToolName}" executable="antlr.exe" failonerror="TRUE">
+ <exec dir="${basedir}/${ToolName}" executable="antlr" failonerror="TRUE">
<arg line="-CC -e3 -ck 3 -o . VfrCompile.g"/>
</exec>
</target>
<target name="Dlg" depends="Antlr" unless="CheckDepends">
- <exec dir="${basedir}/${ToolName}" executable="dlg.exe" failonerror="TRUE">
+ <exec dir="${basedir}/${ToolName}" executable="dlg" failonerror="TRUE">
<arg line="-C2 -i -CC -o . Parser.dlg"/>
</exec>
</target>
@@ -100,18 +101,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <cc name="${ToolChain}" objdir="${BUILD_DIR}"
outfile="${BIN_DIR}/${ToolName}"
outtype="executable"
- libtool="${haveLibtool}"
optimize="speed">
<fileset dir="${basedir}/${ToolName}"
- includes="${FileSet}"
- defaultexcludes="TRUE"
- excludes="*.xml *.inf"/>
+ includes="${FileSet}" />
<fileset dir="${basedir}/Pccts/h"
- includes="${FileSetPccts}"
- defaultexcludes="TRUE"
- excludes="*.xml *.inf"/>
+ includes="${FileSetPccts}" />
<includepath path="${env.WORKSPACE}/Tools/Source/TianoTools/Pccts/h"/>
<includepath path="${env.WORKSPACE}/MdePkg/Include"/>
@@ -119,21 +115,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <includepath path="${env.WORKSPACE}/MdePkg/Include/Common"/>
<includepath path="${env.WORKSPACE}/MdePkg/Include/Protocol"/>
<includepath path="${PACKAGE_DIR}/Common"/>
-
- <linkerarg value="${LIB_DIR}/CommonTools.lib"/>
-
+ <libset dir="${LIB_DIR}" libs="CommonTools"/>
+ <syslibset libs="stdc++" if="gcc"/>
</cc>
</target>
<target name="clean" depends="init">
- <echo message="Removing Intermediate Files Only"/>
+ <echo message="Removing Intermediate Files Only"/>
<delete>
<fileset dir="${BUILD_DIR}" includes="*.obj"/>
</delete>
</target>
<target name="cleanall" depends="init">
- <echo message="Removing Object Files and the Executable: ${ToolName}${ext_exe}"/>
+ <echo message="Removing Object Files and the Executable: ${ToolName}${ext_exe}"/>
<delete dir="${BUILD_DIR}">
<fileset dir="${BIN_DIR}" includes="${ToolName}${ext_exe}"/>
</delete>
|