2010-08-16 07:19:54 -04:00
|
|
|
@echo off
|
2010-10-07 18:42:35 -04:00
|
|
|
set OPENSSL_DEST=..\openssl-wdk-1.0.0a-x86
|
2010-08-16 07:19:54 -04:00
|
|
|
set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk;c:\mozilla-build\build\openssl-1.0.0a\ms;c:\mozilla-build\build\zlib-x86\include
|
|
|
|
set LIB=c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386;c:\mozilla-build\build\zlib-x86\lib
|
2010-10-07 19:06:53 -04:00
|
|
|
set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin;c:\mozilla-build\perl-5.12-x86\bin;c:\Windows\System32;c:\mozilla-build\nasm;c:\mozilla-build\build\zlib-x86\bin
|
2010-10-07 18:42:35 -04:00
|
|
|
perl Configure VC-WIN32 enable-camellia zlib-dynamic --openssldir=./
|
2010-08-16 07:19:54 -04: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-07 19:06:53 -04:00
|
|
|
perl mk-ca-bundle.pl -n
|
2010-08-16 07:19:54 -04:00
|
|
|
echo.Press return when ready to install!
|
|
|
|
pause
|
2010-10-07 18:42:35 -04:00
|
|
|
move include include-orig
|
2010-08-16 07:19:54 -04:00
|
|
|
nmake -f ms\ntdll.mak install
|
2010-10-07 18:42:35 -04:00
|
|
|
rmdir /q /s %OPENSSL_DEST%
|
|
|
|
mkdir %OPENSSL_DEST%
|
|
|
|
move bin %OPENSSL_DEST%
|
|
|
|
move include %OPENSSL_DEST%
|
|
|
|
move lib %OPENSSL_DEST%
|
2010-10-07 19:06:53 -04:00
|
|
|
mkdir %OPENSSL_DEST%\share
|
|
|
|
move openssl.cnf %OPENSSL_DEST%\share\openssl.cnf.example
|
2010-10-07 18:42:35 -04:00
|
|
|
move include-orig include
|
|
|
|
copy c:\mozilla-build\build\zlib-x86\bin\zlib1.dll %OPENSSL_DEST%\bin
|
2010-10-07 19:06:53 -04:00
|
|
|
move cert.pem %OPENSSL_DEST%\bin
|
2010-08-16 07:19:54 -04:00
|
|
|
echo.Finished!
|
2010-10-07 18:42:35 -04:00
|
|
|
pause
|