<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
<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
<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
<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
<equals arg1="${ToolChain}" arg2="msvc"/>\r
<then>\r
<exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="nmake" failonerror="FALSE">\r
- <arg line="-f AntlrMS.mak clean"/>\r
+ <arg line="/C"/>\r
+ <arg line="/NOLOGO"/>\r
+ <arg line="/f AntlrMS.mak clean"/>\r
</exec>\r
</then>\r
<elseif>\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
<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