Menu

[r55]: / trunk / ext / build / OpenSSL.build  Maximize  Restore  History

Download this file

37 lines (36 with data), 1.4 kB

<?xml version="1.0"?>
<project name="OpenSSL" default="OpenSSL">
	<target name="clean">
		<!-- to prevent 'nmake clean' to choke on userinput questions, give it our own del command -->
		<echo file="..\..\common\openssl\del.bat" message="del %1 %2 %3 %4 %5 %6 %7 %8 %9 /Q" />
		<exec program="nmake" workingdir="..\..\common\openssl" failonerror="false">
			<arg value="-f" />
			<arg value="ms\nt.mak" />
			<arg value="clean" />
		</exec>
	</target>
	<target name="OpenSSL" depends="clean">
		<delete file="..\..\common\openssl\del.bat" if="${file::exists('..\..\common\openssl\del.bat')}" />
		<exec program="perl" workingdir="..\..\common\openssl">
			<arg value="Configure" />
			<arg value="VC-WIN32" />
			<arg value="-D_CRT_NONSTDC_NO_DEPRECATE" />
			<arg value="-D_CRT_SECURE_NO_DEPRECATE" />
			<arg value="-D_USE_32BIT_TIME_T" />
		</exec>
		<exec program="cmd" workingdir="..\..\common\openssl">
			<arg value="/c" />
			<arg value="ms\do_masm" />
		</exec>
		<loadfile file="..\..\common\openssl\ms\nt.mak" property="makefile">
			<filterchain>
				<replacestring from="  /MD " to="  /MT " />
			</filterchain>
		</loadfile>
		<echo file="..\..\common\openssl\ms\nt.mak" message="${makefile}" />
		<exec program="nmake" workingdir="..\..\common\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.