Download this file
72 lines (70 with data), 3.2 kB
<?xml version="1.0"?>
<project name="OpenSSL" default="OpenSSL">
<target name="clean">
<if test="${cleanup == 'yes'}">
<!-- to prevent 'nmake clean' to choke on userinput questions, give it our own del command -->
<echo file="..\openssl\del.bat" message="del %1 %2 %3 %4 %5 %6 %7 %8 %9 /Q" />
<exec program="nmake" workingdir="..\openssl" failonerror="false">
<arg value="-f" />
<arg value="ms\nt.mak" />
<arg value="clean" />
</exec>
</if>
</target>
<target name="OpenSSL" depends="clean">
<delete file="..\openssl\del.bat" if="${file::exists('..\openssl\del.bat')}" />
<if test="${platform == 'win32'}">
<exec program="perl" workingdir="..\openssl">
<arg value="Configure" />
<arg value="VC-WIN32" if="${(configuration == 'release')}" />
<arg value="debug-VC-WIN32" if="${(configuration != 'release')}" />
<arg value="no-asm" />
<arg value="no-gost" />
<arg value="-DOPENSSL_SSL_CLIENT_ENGINE_AUTO=capi" />
</exec>
<exec program="cmd" workingdir="..\openssl">
<arg value="/c" />
<arg value="ms\do_ms" />
</exec>
<loadfile file="..\openssl\ms\nt.mak" property="makefile">
<filterchain>
<replacestring from="/MD" to="/MT" />
<replacestring from="/Ox /O2" to="/O2 /Oy /GL" if="${configuration == 'release'}" />
<replacestring from="lib /nologo" to="lib /nologo /LTCG" if="${configuration == 'release'}" />
<replacestring from="/opt:ref /debug" to="/opt:ref,icf /debug /LTCG" if="${configuration == 'release'}" />
</filterchain>
</loadfile>
</if>
<if test="${platform == 'x64'}">
<exec program="perl" workingdir="..\openssl">
<arg value="Configure" />
<arg value="VC-WIN64A" if="${(configuration == 'release')}" />
<arg value="debug-VC-WIN64A" if="${(configuration != 'release')}" />
<arg value="no-asm" />
<arg value="no-gost" />
<arg value="-DOPENSSL_SSL_CLIENT_ENGINE_AUTO=capi" />
</exec>
<exec program="cmd" workingdir="..\openssl">
<arg value="/c" />
<arg value="ms\do_win64a" />
</exec>
<loadfile file="..\openssl\ms\nt.mak" property="makefile">
<filterchain>
<replacestring from="/MD " to="/MT " />
<replacestring from="/Ox " to="/O2 /GL " if="${(configuration == 'release')}" />
<replacestring from="lib /nologo" to="lib /nologo /LTCG" if="${(configuration == 'release')}" />
<replacestring from="/opt:ref /debug" to="/opt:ref,icf /debug /LTCG" if="${(configuration == 'release')}" />
<replacestring from="OUT_D=out32" to="OUT_D=out64" />
<replacestring from="TMP_D=tmp32" to="TMP_D=tmp64" />
<replacestring from="INC_D=inc32" to="INC_D=inc64" />
<replacestring from="INCO_D=inc32\openssl" to="INCO_D=inc64\openssl" />
</filterchain>
</loadfile>
</if>
<echo file="..\openssl\ms\nt.mak" message="${makefile}" />
<exec program="nmake" workingdir="..\openssl">
<arg value="-f" />
<arg value="ms\nt.mak" />
</exec>
</target>
</project>
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.