1set INSTALL_DIR=%1
2
3rem Need to add ActivePerl to path
4set PATH=C:\Perl64\bin;%PATH%
5
6rem Build OpenSSL binary and libraries
7call perl Configure VC-WIN64A --prefix=./build || goto error
8call ms\do_win64a.bat || goto error
9call nmake -f ms\ntdll.mak || goto error
10call nmake -f ms\ntdll.mak install || goto error
11call xcopy /IE .\build %INSTALL_DIR% || goto error
12
13goto :eof
14
15:error
16echo Failed with error %ERRORLEVEL%
17exit /B %ERRORLEVEL%
18