summary refs log tree commit diff stats
path: root/ext/openssl-wdk/build-x64.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-08 01:06:53 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-08 01:06:53 +0200
commiteb22ad906724f72c926ca12b4862cd4e66ea5b50 (patch)
treef10b0bb8b8ddb30fbed886fee45c205169f3c61c /ext/openssl-wdk/build-x64.bat
parent6e209f8eba0ae2a1c79b6b4da2a58007fd3efdb7 (diff)
build openssl with vc10 and add the cert to the distro
Diffstat (limited to 'ext/openssl-wdk/build-x64.bat')
-rw-r--r--ext/openssl-wdk/build-x64.bat9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/openssl-wdk/build-x64.bat b/ext/openssl-wdk/build-x64.bat
index 0f9d51ef..e5657645 100644
--- a/ext/openssl-wdk/build-x64.bat
+++ b/ext/openssl-wdk/build-x64.bat
@@ -1,13 +1,14 @@
 @echo off

-set OPENSSL_DEST=..\openssl-wdk-1.0.0a-x86

+set OPENSSL_DEST=..\openssl-wdk-1.0.0a-x64

 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-x64\include

 set LIB=c:\WinDDK\7600.16385.1\lib\wnet\amd64;c:\WinDDK\7600.16385.1\lib\Crt\amd64;c:\mozilla-build\build\zlib-x64\lib

-set PATH=c:\WinDDK\7600.16385.1\bin\x86\amd64;c:\WinDDK\7600.16385.1\bin\x86;c:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;c:\mozilla-build\perl-5.12-x64\bin;c:\Windows\System32;c:\mozilla-build\nasm;c:\mozilla-build\build\zlib-x64\bin

+set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64;c:\mozilla-build\perl-5.12-x64\bin;c:\Windows\System32;c:\mozilla-build\nasm;c:\mozilla-build\build\zlib-x64\bin

 perl Configure VC-WIN64A enable-camellia no-asm zlib-dynamic --openssldir=./

 call ms\do_win64a

 nmake -f ms\ntdll.mak vclean

 nmake -f ms\ntdll.mak

 nmake -f ms\ntdll.mak test

+perl mk-ca-bundle.pl -n

 echo.Press return when ready to install!

 pause

 move include include-orig

@@ -17,8 +18,10 @@ mkdir %OPENSSL_DEST%
 move bin %OPENSSL_DEST%

 move include %OPENSSL_DEST%

 move lib %OPENSSL_DEST%

-move openssl.cnf %OPENSSL_DEST%

+mkdir %OPENSSL_DEST%\share

+move openssl.cnf %OPENSSL_DEST%\share\openssl.cnf.example

 move include-orig include

 copy c:\mozilla-build\build\zlib-x64\bin\zlib1.dll %OPENSSL_DEST%\bin

+move cert.pem %OPENSSL_DEST%\bin

 echo.Finished!

 pause