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>2011-05-30 22:54:08 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 22:54:08 +0200
commitbd0728f03b9a3742d50db68ac77f1c4ea042f0a2 (patch)
tree52d4e619cc049b91c89a03865ec9b8b6c4a5b5a4 /ext/openssl-wdk/build-x64.bat
parent67e3ef79bddff056459914a51bea128ed619c5ed (diff)
parent24ac838543bc99ea8d289925b4c5418107d5ae1f (diff)
Merge with default
Diffstat (limited to 'ext/openssl-wdk/build-x64.bat')
-rw-r--r--ext/openssl-wdk/build-x64.bat30
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/openssl-wdk/build-x64.bat b/ext/openssl-wdk/build-x64.bat
new file mode 100644
index 00000000..86976c21
--- /dev/null
+++ b/ext/openssl-wdk/build-x64.bat
@@ -0,0 +1,30 @@
+@echo off

+set WDK_ROOT=c:\WinDDK\7600.16385.1

+set PERL_PATH=c:\mozilla-build\perl-5.12-x64\bin

+set NASM_PATH=c:\mozilla-build\nasm

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

+set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\ddk;ms;zlib-x64\include

+set LIB=%WDK_ROOT%\lib\wnet\amd64;%WDK_ROOT%\lib\Crt\amd64;zlib-x64\lib

+set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin\amd64;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin\x64;%PERL_PATH%;%NASM_PATH%;%SystemRoot%\System32;..\zlib-x64\bin

+perl Configure VC-WIN64A enable-camellia 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

+nmake -f ms\ntdll.mak install

+rmdir /q /s %OPENSSL_DEST%

+mkdir %OPENSSL_DEST%

+move bin %OPENSSL_DEST%

+move include %OPENSSL_DEST%

+move lib %OPENSSL_DEST%

+mkdir %OPENSSL_DEST%\share

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

+move include-orig include

+copy zlib-x64\bin\zlibwapi.dll %OPENSSL_DEST%\bin

+move cert.pem %OPENSSL_DEST%\bin

+echo.Finished!

+pause