2010-08-16 13:19:54 +02:00
@ echo off
2010-10-29 19:40:02 +02:00
set WDK_ROOT = c:\WinDDK\7600.16385.1
set PERL_PATH = c:\mozilla-build\perl-5.12-x86\bin
set NASM_PATH = c:\mozilla-build\nasm
2010-12-26 22:06:19 +01:00
set OPENSSL_DEST = ..\openssl-wdk-1.0.0c-x86
2010-10-29 19:40:02 +02:00
set INCLUDE = %WDK_ROOT% \inc\api;%WDK_ROOT% \inc\crt;%WDK_ROOT% \inc\ddk;ms;zlib-x86\include
set LIB = %WDK_ROOT% \lib\wxp\i386;%WDK_ROOT% \lib\Crt\i386;zlib-x86\lib
set PATH = %PROGRAMFILES(X86)% \Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)% \Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)% \Microsoft SDKs\Windows\v7.0A\Bin;%PERL_PATH% ;%NASM_PATH% ;%SystemRoot% \System32;..\zlib-x86\bin
2010-10-08 00:42:35 +02:00
perl Configure VC-WIN32 enable-camellia zlib-dynamic --openssldir=./
2010-08-16 13:19:54 +02:00
call ms\do_nasm
@ echo off
nmake -f ms\ntdll.mak vclean
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak test
2010-10-08 01:06:53 +02:00
perl mk-ca-bundle.pl -n
2010-08-16 13:19:54 +02:00
echo .Press return when ready to install!
pause
2010-10-08 00:42:35 +02:00
move include include-orig
2010-08-16 13:19:54 +02:00
nmake -f ms\ntdll.mak install
2010-10-08 00:42:35 +02:00
rmdir /q /s %OPENSSL_DEST%
mkdir %OPENSSL_DEST%
move bin %OPENSSL_DEST%
move include %OPENSSL_DEST%
move lib %OPENSSL_DEST%
2010-10-08 01:06:53 +02:00
mkdir %OPENSSL_DEST% \share
move openssl.cnf %OPENSSL_DEST% \share\openssl.cnf.example
2010-10-08 00:42:35 +02:00
move include-orig include
2010-10-29 19:40:02 +02:00
copy zlib-x86\bin\zlib1.dll %OPENSSL_DEST% \bin
2010-10-08 01:06:53 +02:00
move cert.pem %OPENSSL_DEST% \bin
2010-08-16 13:19:54 +02:00
echo .Finished!
2010-10-08 00:42:35 +02:00
pause