1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-04 16:35:06 -05:00
hexchat/win32/ext/openssl-wdk/build-x64.bat

31 lines
1.2 KiB
Batchfile
Raw Normal View History

2011-02-28 12:59:32 -05:00
@echo off
set WDK_ROOT=c:\WinDDK\7600.16385.1
2011-08-14 18:57:45 -04:00
set PERL_PATH=c:\mozilla-build\perl-5.12-x64\perl\bin
2011-02-28 12:59:32 -05:00
set NASM_PATH=c:\mozilla-build\nasm
2012-05-13 08:31:56 -04:00
set OPENSSL_DEST=..\openssl-wdk-1.0.1c-x64
2011-02-28 12:59:32 -05:00
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
2011-08-14 18:57:45 -04:00
copy zlib-x64\bin\zlib1.dll %OPENSSL_DEST%\bin
2011-02-28 12:59:32 -05:00
move cert.pem %OPENSSL_DEST%\bin
echo.Finished!
pause