[cpp-msbuild] 02/02: SSPCPP-681 Add scripts to automate build
Rod Widdowson
rdw at steadingsoftware.com
Sun May 1 09:06:13 EDT 2016
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository cpp-msbuild.
commit 6fa3c986e71a79fb47504c56e9c08e230521e430
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun May 1 13:50:11 2016 +0100
SSPCPP-681 Add scripts to automate build
https://issues.shibboleth.net/jira/browse/SSPCPP-681
The folder dependencies consists of .bat files (run from
cmd) to build:
OpenSSL
Curl
Xerces (currently from TRUNK)
XMLSec (currently from TRUNK)
Log4Shib (currently from master)
Zlib
Make sure that sed (I use the one from the githib distro) is on the
path.
Make sure that perl (I use strawberyy Perl) is on the path
Edit config.bat
run doall.bat
---
dependencies/OpenSSL-compile32.bat | 17 +++++
dependencies/OpenSSL-compile64.bat | 21 ++++++
dependencies/OpenSSL.bat | 64 ++++++++++++++++++
dependencies/config.bat | 19 ++++++
dependencies/curl.32.d.r1 | 1 +
dependencies/curl.32.d.r2 | 1 +
dependencies/curl.32.d.r3 | 1 +
dependencies/curl.32.r1 | 1 +
dependencies/curl.64.d.r1 | 1 +
dependencies/curl.64.d.r2 | 1 +
dependencies/curl.64.d.r3 | 1 +
dependencies/curl.64.d.r4 | 1 +
dependencies/curl.64.d.r5 | 1 +
dependencies/curl.64.d.r6 | 1 +
dependencies/curl.64.r1 | 1 +
dependencies/curl.64.r2 | 1 +
dependencies/curl.64.r3 | 1 +
dependencies/curl.64.r4 | 1 +
dependencies/curl.64.r5 | 1 +
dependencies/doall.bat | 134 +++++++++++++++++++++++++++++++++++++
dependencies/execurl-compile32.bat | 11 +++
dependencies/execurl-compile64.bat | 13 ++++
dependencies/execurl.32.d.r2 | 1 +
dependencies/execurl.32.d.r3 | 1 +
dependencies/execurl.32.d.r4 | 1 +
dependencies/execurl.32.d.r5 | 1 +
dependencies/execurl.32.d.r6 | 1 +
dependencies/execurl.32.r2 | 1 +
dependencies/execurl.32.r3 | 1 +
dependencies/execurl.64.d.r2 | 1 +
dependencies/execurl.64.d.r3 | 1 +
dependencies/execurl.64.d.r4 | 1 +
dependencies/execurl.64.d.r5 | 1 +
dependencies/execurl.64.d.r6 | 1 +
dependencies/execurl.64.d.r7 | 2 +
dependencies/execurl.64.r2 | 1 +
dependencies/execurl.64.r3 | 1 +
dependencies/execurl.64.r4 | 1 +
dependencies/execurl.64.r5 | 1 +
dependencies/execurl.64.r6 | 1 +
dependencies/execurl.64.r7 | 2 +
dependencies/execurl.bat | 44 ++++++++++++
dependencies/libcurl-compile32.bat | 10 +++
dependencies/libcurl-compile64.bat | 9 +++
dependencies/libcurl.bat | 41 ++++++++++++
dependencies/log4shib-compile.bat | 11 +++
dependencies/log4shib.bat | 1 +
dependencies/openssl_I_crypto.sed | 2 +
dependencies/openssl_I_ssl.sed | 2 +
dependencies/openssl_l_cryptoD.sed | 1 +
dependencies/openssl_l_sslD.sed | 1 +
dependencies/xerces-compile.bat | 11 +++
dependencies/xerces.bat | 1 +
dependencies/xmlsec-compile.bat | 15 +++++
dependencies/xmlsec.bat | 2 +
dependencies/xsec.props | 48 +++++++++++++
dependencies/zlib-compile.bat | 29 ++++++++
dependencies/zlib.bat | 13 ++++
dependencies/zlib3.sed | 1 +
dependencies/zlib4.sed | 1 +
60 files changed, 558 insertions(+)
diff --git a/dependencies/OpenSSL-compile32.bat b/dependencies/OpenSSL-compile32.bat
new file mode 100644
index 0000000..6ad1b5b
--- /dev/null
+++ b/dependencies/OpenSSL-compile32.bat
@@ -0,0 +1,17 @@
+del ms\uptable.obj
+
+nmake -f 32-dll.mak reallyclean
+copy /y ms\libeay32.win32.def.nodebug ms\libeay32.def
+copy /y ms\ssleay32.win32.def.nodebug ms\ssleay32.def
+ at if errorlevel 1 goto end
+nmake -f 32-dll.mak
+ at if errorlevel 1 goto end
+
+nmake -f 32-dll-debug.mak reallyclean
+copy /y ms\libeay32.win32.def.debug ms\libeay32.def
+copy /y ms\ssleay32.win32.def.debug ms\ssleay32.def
+ at if errorlevel 1 goto end
+nmake -f 32-dll-debug.mak
+ at if errorlevel 1 goto end
+
+:end
\ No newline at end of file
diff --git a/dependencies/OpenSSL-compile64.bat b/dependencies/OpenSSL-compile64.bat
new file mode 100644
index 0000000..5f5f861
--- /dev/null
+++ b/dependencies/OpenSSL-compile64.bat
@@ -0,0 +1,21 @@
+perl ms\uplink-x86_64.pl nasm > ms\uptable.asm
+nasm -f win64 -o ms\uptable.obj ms\uptable.asm
+ at if errorlevel 1 goto end
+
+nmake -f 64-dll.mak reallyclean
+ at if errorlevel 1 goto end
+copy /y ms\libeay32.x64.def.nodebug ms\libeay32.def
+copy /y ms\ssleay32.x64.def.nodebug ms\ssleay32.def
+
+nmake -f 64-dll.mak
+ at if errorlevel 1 goto end
+
+nmake -f 64-dll-debug.mak reallyclean
+ at if errorlevel 1 goto end
+copy /y ms\libeay32.x64.def.debug ms\libeay32.def
+copy /y ms\ssleay32.x64.def.debug ms\ssleay32.def
+
+nmake -f 64-dll-debug.mak
+ at if errorlevel 1 goto end
+
+:end
diff --git a/dependencies/OpenSSL.bat b/dependencies/OpenSSL.bat
new file mode 100644
index 0000000..558be10
--- /dev/null
+++ b/dependencies/OpenSSL.bat
@@ -0,0 +1,64 @@
+rem https://wiki.shibboleth.net/confluence/display/OpenSAML/OpenSSL
+
+perl Configure VC-WIN32
+perl util\mkfiles.pl >MINFO
+perl util\mk1mf.pl INC=inc32 OUT=out32dll TMP=tmp32dll nasm dll VC-WIN32 >32-dll.mak.in
+perl util\mk1mf.pl INC=inc32.dbg OUT=out32dll.dbg TMP=tmp32dll.dbg debug nasm dll VC-WIN32 >32-dll-debug.mak.in
+
+rem Release: Append version to dll name
+
+echo s/^O_SSL.*dll$/O_SSL= $(LIB_D)\\\$(SSL)_%OPENSSL_NAME%.dll/ > openssl_o_ssl.sed
+echo s/^O_CRYPTO.*dll$/O_CRYPTO= $(LIB_D)\\\$(CRYPTO)_%OPENSSL_NAME%.dll/ > openssl_o_crypto.sed
+copy /y %SCRIPTS_DIR%\openssl_I_ssl.sed
+copy /y %SCRIPTS_DIR%\openssl_I_crypto.sed
+
+sed 32-dll.mak.in -f openssl_o_ssl.sed -f openssl_o_crypto.sed -f openssl_I_ssl.sed -f openssl_I_crypto.sed > 32-dll.mak
+
+rem Debug: Append versionD to dll name, D to Lib name
+
+echo s/^O_SSL.*dll$/O_SSL= $(LIB_D)\\\$(SSL)_%OPENSSL_NAME%D.dll/ > openssl_o_sslD.sed
+echo s/^O_CRYPTO.*dll$/O_CRYPTO= $(LIB_D)\\\$(CRYPTO)_%OPENSSL_NAME%D.dll/ > openssl_o_cryptoD.sed
+copy/y %SCRIPTS_DIR%\openssl_l_sslD.sed
+copy /y %SCRIPTS_DIR%\openssl_l_cryptoD.sed
+
+sed 32-dll-debug.mak.in -f openssl_o_sslD.sed -f openssl_o_cryptoD.sed -f openssl_I_ssl.sed -f openssl_I_crypto.sed -f openssl_l_sslD.sed -f openssl_l_cryptoD.sed > 32-dll-debug.mak
+
+
+perl util\mkdef.pl 32 libeay > ms\libeay32.def.master
+
+rem Release: Append version to library name, Debug: Append versionD to library name
+
+echo s/^LIBRARY .*$/LIBRARY LIBEAY32_%OPENSSL_NAME%/ > openssl.lib
+echo s/^LIBRARY .*$/LIBRARY LIBEAY32_%OPENSSL_NAME%D/ > openssl.libd
+sed ms\libeay32.def.master -f openssl.lib > ms\libeay32.win32.def.nodebug
+sed ms\libeay32.def.master -f openssl.libd > ms\libeay32.win32.def.debug
+
+
+perl util\mkdef.pl 32 ssleay > ms\ssleay32.def.master
+echo s/^LIBRARY .*$/LIBRARY SSLEAY32_%OPENSSL_NAME%/ > openssl.ssl
+echo s/^LIBRARY .*$/LIBRARY SSLEAY32_%OPENSSL_NAME%D/ > openssl.ssld
+sed ms\ssleay32.def.master -f openssl.ssl > ms\ssleay32.win32.def.nodebug
+sed ms\ssleay32.def.master -f openssl.ssld > ms\ssleay32.win32.def.debug
+
+Rem now do it all again for 64
+
+perl Configure VC-WIN64A
+perl util\mkfiles.pl >MINFO
+perl util\mk1mf.pl INC=inc64 OUT=out64dll TMP=tmp64dll dll VC-WIN64A >64-dll.mak.in
+sed 64-dll.mak.in -f openssl_o_ssl.sed -f openssl_o_crypto.sed -f openssl_I_ssl.sed -f openssl_I_crypto.sed > 64-dll.mak
+
+perl util\mk1mf.pl INC=inc64.dbg OUT=out64dll.dbg TMP=tmp64dll.dbg debug dll VC-WIN64A >64-dll-debug.mak.in
+sed 64-dll-debug.mak.in -f openssl_o_sslD.sed -f openssl_o_cryptoD.sed -f openssl_I_ssl.sed -f openssl_I_crypto.sed -f openssl_l_sslD.sed -f openssl_l_cryptoD.sed > 64-dll-debug.mak
+
+nasm -f win64 -o ms\uptable.obj.64 ms\uptable.asm
+
+perl util\mkdef.pl 64 libeay > ms\libeay32.def.master
+
+sed ms\libeay32.def.master -f openssl.lib > ms\libeay32.x64.def.nodebug
+sed ms\libeay32.def.master -f openssl.libd > ms\libeay32.x64.def.debug
+
+rem perl util\mkdef.pl 32 ssleay > ms\ssleay32.def.master
+
+sed ms\ssleay32.def.master -f openssl.ssl > ms\ssleay32.x64.def.nodebug
+sed ms\ssleay32.def.master -f openssl.ssld > ms\ssleay32.x64.def.debug
+
diff --git a/dependencies/config.bat b/dependencies/config.bat
new file mode 100644
index 0000000..d9553f3
--- /dev/null
+++ b/dependencies/config.bat
@@ -0,0 +1,19 @@
+set SCRIPTS_DIR=H:\Perforce\sp-dependency-build\scripts
+set VS14_DIR=c:\Program Files (x86)\Microsoft Visual Studio 14.0\
+
+set ZLIB_DIR=zlib-1.2.8
+set ZLIB_IMPLIB=zlib1
+set ZLIB_SHAREDLIB=zlib1_2
+
+set LOGSHIB_DIR=cpp-log4shib-1.9
+
+set XERCES_DIR=xerces-3.1.99
+
+set OPENSSL_DIR=openssl-1.0.2g
+set OPENSSL_NAME=1_0_2_7
+
+set LIBCURL_DIR=curl-7.48.0
+set LIBCURL_NAME=libcurl5
+
+set XSEC_DIR=xml-security-cpp
+
diff --git a/dependencies/curl.32.d.r1 b/dependencies/curl.32.d.r1
new file mode 100644
index 0000000..dc6b67e
--- /dev/null
+++ b/dependencies/curl.32.d.r1
@@ -0,0 +1 @@
+s/ZLIBLIBSDLL .*$/ZLIBLIBSDLL = Debug\\D.lib/
diff --git a/dependencies/curl.32.d.r2 b/dependencies/curl.32.d.r2
new file mode 100644
index 0000000..eb83729
--- /dev/null
+++ b/dependencies/curl.32.d.r2
@@ -0,0 +1 @@
+s/SSLLIBS .*$/SSLLIBS= libeay32d.lib ssleay32d.lib/
diff --git a/dependencies/curl.32.d.r3 b/dependencies/curl.32.d.r3
new file mode 100644
index 0000000..e6192b7
--- /dev/null
+++ b/dependencies/curl.32.d.r3
@@ -0,0 +1 @@
+s/\\out32dll/\\out32dll.dbg/g
diff --git a/dependencies/curl.32.r1 b/dependencies/curl.32.r1
new file mode 100644
index 0000000..57c63aa
--- /dev/null
+++ b/dependencies/curl.32.r1
@@ -0,0 +1 @@
+s/ZLIBLIBSDLL .*$/ZLIBLIBSDLL = Release\\.lib/
diff --git a/dependencies/curl.64.d.r1 b/dependencies/curl.64.d.r1
new file mode 100644
index 0000000..92e8abf
--- /dev/null
+++ b/dependencies/curl.64.d.r1
@@ -0,0 +1 @@
+s/ZLIBLIBSDLL .*$/ZLIBLIBSDLL = x64\\Debug\\.lib/
diff --git a/dependencies/curl.64.d.r2 b/dependencies/curl.64.d.r2
new file mode 100644
index 0000000..f2355c2
--- /dev/null
+++ b/dependencies/curl.64.d.r2
@@ -0,0 +1 @@
+s/\/inc32/\/inc64/g
diff --git a/dependencies/curl.64.d.r3 b/dependencies/curl.64.d.r3
new file mode 100644
index 0000000..7c68101
--- /dev/null
+++ b/dependencies/curl.64.d.r3
@@ -0,0 +1 @@
+s/\\out32dll/\\out64dll.dbg/g
diff --git a/dependencies/curl.64.d.r4 b/dependencies/curl.64.d.r4
new file mode 100644
index 0000000..52314bd
--- /dev/null
+++ b/dependencies/curl.64.d.r4
@@ -0,0 +1 @@
+s/^DIROBJ .*$/&.x64/
diff --git a/dependencies/curl.64.d.r5 b/dependencies/curl.64.d.r5
new file mode 100644
index 0000000..eb83729
--- /dev/null
+++ b/dependencies/curl.64.d.r5
@@ -0,0 +1 @@
+s/SSLLIBS .*$/SSLLIBS= libeay32d.lib ssleay32d.lib/
diff --git a/dependencies/curl.64.d.r6 b/dependencies/curl.64.d.r6
new file mode 100644
index 0000000..7cfcc18
--- /dev/null
+++ b/dependencies/curl.64.d.r6
@@ -0,0 +1 @@
+s/^RESOURCE .*$/RESOURCE = \$(CFG)\\libcurl.res/
diff --git a/dependencies/curl.64.r1 b/dependencies/curl.64.r1
new file mode 100644
index 0000000..28e764d
--- /dev/null
+++ b/dependencies/curl.64.r1
@@ -0,0 +1 @@
+s/ZLIBLIBSDLL .*$/ZLIBLIBSDLL = x64\\Release\\.lib/
diff --git a/dependencies/curl.64.r2 b/dependencies/curl.64.r2
new file mode 100644
index 0000000..f2355c2
--- /dev/null
+++ b/dependencies/curl.64.r2
@@ -0,0 +1 @@
+s/\/inc32/\/inc64/g
diff --git a/dependencies/curl.64.r3 b/dependencies/curl.64.r3
new file mode 100644
index 0000000..bc948ce
--- /dev/null
+++ b/dependencies/curl.64.r3
@@ -0,0 +1 @@
+s/\\out32dll/\\out64dll/g
diff --git a/dependencies/curl.64.r4 b/dependencies/curl.64.r4
new file mode 100644
index 0000000..0413220
--- /dev/null
+++ b/dependencies/curl.64.r4
@@ -0,0 +1 @@
+s/^DIROBJ .*$/&\.x64/
diff --git a/dependencies/curl.64.r5 b/dependencies/curl.64.r5
new file mode 100644
index 0000000..7cfcc18
--- /dev/null
+++ b/dependencies/curl.64.r5
@@ -0,0 +1 @@
+s/^RESOURCE .*$/RESOURCE = \$(CFG)\\libcurl.res/
diff --git a/dependencies/doall.bat b/dependencies/doall.bat
new file mode 100644
index 0000000..7f2397a
--- /dev/null
+++ b/dependencies/doall.bat
@@ -0,0 +1,134 @@
+cls
+date /t > build.log
+Time /t >> build.log
+
+call config.bat
+
+cd %ZLIB_DIR%
+call ..\zlib.bat
+echo Zlib Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+CD ..\%LOGSHIB_DIR%
+call ..\log4shib.bat
+echo Log4Shib Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%XERCES_DIR%
+call ..\xerces.bat
+echo Xerces Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%OPENSSL_DIR%
+call ..\openssl.bat
+echo OpenSSL Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%LIBCURL_DIR%
+call ..\libcurl.bat
+echo libcurl Config Status: %errorLevel% >> ..\build.log
+call ..\execurl.bat
+echo execurl Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%XSEC_DIR%
+call ..\xmlsec.bat
+echo XML Security (c) Config Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..
+
+REM
+REM Compile 32 and MsBuild
+REM
+
+call "%VS14_DIR%\VC\vcvarsall.bat" x86
+ at echo on
+
+REM 32 bit compiles and MSBUILD compiles
+
+cd %ZLIB_DIR%
+call ..\zlib-compile.bat .
+echo Zlib Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+CD ..\%LOGSHIB_DIR%
+call ..\log4shib-compile.bat Win32
+echo Log4Shib Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+call ..\log4shib-compile.bat x64
+echo Log4Shib Compile 64 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%XERCES_DIR%
+call ..\xerces-compile.bat Win32
+echo Xerces Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+call ..\xerces-compile.bat x64
+echo Xerces Compile 64 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%OPENSSL_DIR%
+call ..\openssl-compile32.bat
+echo OpenSSL Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%LIBCURL_DIR%
+call ..\libcurl-compile32.bat
+echo LibCurl Compile 32 Status: %errorLevel% >> ..\build.log
+call ..\execurl-compile32.bat
+echo ExeCurl Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%XSEC_DIR%
+call ..\xmlsec-compile.bat Win32
+echo XML Security Compile 32 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..
+
+REM
+REM Compile X64
+REM
+
+call "%VS14_DIR%\VC\vcvarsall.bat" x64
+ at echo on
+
+ at if errorlevel 1 goto end
+cd %ZLIB_DIR%
+
+call ..\zlib-compile.bat x64
+echo Zlib Compile 64 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%LOGSHIB_DIR%
+REM Done in x86
+
+cd ..\%XERCES_DIR%
+REM Done in x86
+
+cd ..\%OPENSSL_DIR%
+call ..\openssl-compile64.bat
+echo Open SSL (64) Compile Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%LIBCURL_DIR%
+call ..\libcurl-compile64.bat
+echo Libcurl (64) Compile Status: %errorLevel% >> ..\build.log
+call ..\execurl-compile64.bat
+echo Execurl (64) Compile Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+cd ..\%XSEC_DIR%
+REM back to 32 bit tools. Who knows why.
+call "%VS14_DIR%\VC\vcvarsall.bat" x86
+ at echo on
+call ..\xmlsec-compile.bat Win64
+echo XML Security Compile 64 Status: %errorLevel% >> ..\build.log
+ at if errorlevel 1 goto end
+
+
+cd ..
+Time /t >> build.log
+
+:end
diff --git a/dependencies/execurl-compile32.bat b/dependencies/execurl-compile32.bat
new file mode 100644
index 0000000..aa5b1cb
--- /dev/null
+++ b/dependencies/execurl-compile32.bat
@@ -0,0 +1,11 @@
+cd src
+del *.obj
+nmake -f Makefile.shib.32 release CFG=release-dll-ssl-dll-zlib-dll LIB_NAME=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR%
+ at if errorlevel 1 goto end
+
+del *.obj
+nmake -f Makefile.shib.32.d debug CFG=debug-dll-ssl-dll-zlib-dll LIB_NAME=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR%
+ at if errorlevel 1 goto end
+cd ..
+
+:end
\ No newline at end of file
diff --git a/dependencies/execurl-compile64.bat b/dependencies/execurl-compile64.bat
new file mode 100644
index 0000000..0664f53
--- /dev/null
+++ b/dependencies/execurl-compile64.bat
@@ -0,0 +1,13 @@
+cd src
+
+del *.obj
+nmake -f Makefile.shib.64 release CFG=release-dll-ssl-dll-zlib-dll.x64 LIB_NAME=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR% MACHINE=x64
+ at if errorlevel 1 goto end
+
+del *.obj
+nmake -f Makefile.shib.64.d release CFG=debug-dll-ssl-dll-zlib-dll.x64 LIB_NAME=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR% MACHINE=x64
+ at if errorlevel 1 goto end
+
+cd ..
+
+:end
\ No newline at end of file
diff --git a/dependencies/execurl.32.d.r2 b/dependencies/execurl.32.d.r2
new file mode 100644
index 0000000..71daa9b
--- /dev/null
+++ b/dependencies/execurl.32.d.r2
@@ -0,0 +1 @@
+s/^LINKD\( .*\)libpath.*$/LINKD \1libpath:\"..\/lib\/debug-dll-ssl-dll-zlib-dll\"/
diff --git a/dependencies/execurl.32.d.r3 b/dependencies/execurl.32.d.r3
new file mode 100644
index 0000000..117a5b7
--- /dev/null
+++ b/dependencies/execurl.32.d.r3
@@ -0,0 +1 @@
+s/SSL_LIBS .*$/SSL_LIBS= libeay32d.lib ssleay32d.lib/
diff --git a/dependencies/execurl.32.d.r4 b/dependencies/execurl.32.d.r4
new file mode 100644
index 0000000..32bea6e
--- /dev/null
+++ b/dependencies/execurl.32.d.r4
@@ -0,0 +1 @@
+s/\/out32dll/\/out32dll.dbg/g
diff --git a/dependencies/execurl.32.d.r5 b/dependencies/execurl.32.d.r5
new file mode 100644
index 0000000..eb8ca19
--- /dev/null
+++ b/dependencies/execurl.32.d.r5
@@ -0,0 +1 @@
+s/curl\.exe/Debug\\curl\.exe/
diff --git a/dependencies/execurl.32.d.r6 b/dependencies/execurl.32.d.r6
new file mode 100644
index 0000000..4286422
--- /dev/null
+++ b/dependencies/execurl.32.d.r6
@@ -0,0 +1 @@
+s/release-dll-ssl-dll-zlib-dll/debug-dll-ssl-dll-zlib-dll/g
diff --git a/dependencies/execurl.32.r2 b/dependencies/execurl.32.r2
new file mode 100644
index 0000000..8e1cb49
--- /dev/null
+++ b/dependencies/execurl.32.r2
@@ -0,0 +1 @@
+s/^LINKR\( .*\)libpath.*$/LINKR \1libpath:\"..\/lib\/release-dll-ssl-dll-zlib-dll\"/
diff --git a/dependencies/execurl.32.r3 b/dependencies/execurl.32.r3
new file mode 100644
index 0000000..3f5219d
--- /dev/null
+++ b/dependencies/execurl.32.r3
@@ -0,0 +1 @@
+s/curl\.exe/Release\\curl\.exe/g
diff --git a/dependencies/execurl.64.d.r2 b/dependencies/execurl.64.d.r2
new file mode 100644
index 0000000..ebe2114
--- /dev/null
+++ b/dependencies/execurl.64.d.r2
@@ -0,0 +1 @@
+s/^LINKD\( .*\)libpath.*$/LINKD \1libpath:\"..\/lib\/debug-dll-ssl-dll-zlib-dll.x64\"/
diff --git a/dependencies/execurl.64.d.r3 b/dependencies/execurl.64.d.r3
new file mode 100644
index 0000000..117a5b7
--- /dev/null
+++ b/dependencies/execurl.64.d.r3
@@ -0,0 +1 @@
+s/SSL_LIBS .*$/SSL_LIBS= libeay32d.lib ssleay32d.lib/
diff --git a/dependencies/execurl.64.d.r4 b/dependencies/execurl.64.d.r4
new file mode 100644
index 0000000..7ef5920
--- /dev/null
+++ b/dependencies/execurl.64.d.r4
@@ -0,0 +1 @@
+s/\/out32dll/\/out64dll.dbg/g
diff --git a/dependencies/execurl.64.d.r5 b/dependencies/execurl.64.d.r5
new file mode 100644
index 0000000..f2355c2
--- /dev/null
+++ b/dependencies/execurl.64.d.r5
@@ -0,0 +1 @@
+s/\/inc32/\/inc64/g
diff --git a/dependencies/execurl.64.d.r6 b/dependencies/execurl.64.d.r6
new file mode 100644
index 0000000..4cca58d
--- /dev/null
+++ b/dependencies/execurl.64.d.r6
@@ -0,0 +1 @@
+s/release-dll-ssl-dll-zlib-dll/debug-dll-ssl-dll-zlib-dll.x64/g
diff --git a/dependencies/execurl.64.d.r7 b/dependencies/execurl.64.d.r7
new file mode 100644
index 0000000..24c585d
--- /dev/null
+++ b/dependencies/execurl.64.d.r7
@@ -0,0 +1,2 @@
+s/curl\.exe/Debug.x64\\curl\.exe/g
+
diff --git a/dependencies/execurl.64.r2 b/dependencies/execurl.64.r2
new file mode 100644
index 0000000..c5a1f76
--- /dev/null
+++ b/dependencies/execurl.64.r2
@@ -0,0 +1 @@
+s/^LINKR\( .*\)libpath.*$/LINKR \1libpath:\"..\/lib\/release-dll-ssl-dll-zlib-dll"/
diff --git a/dependencies/execurl.64.r3 b/dependencies/execurl.64.r3
new file mode 100644
index 0000000..f2355c2
--- /dev/null
+++ b/dependencies/execurl.64.r3
@@ -0,0 +1 @@
+s/\/inc32/\/inc64/g
diff --git a/dependencies/execurl.64.r4 b/dependencies/execurl.64.r4
new file mode 100644
index 0000000..bc948ce
--- /dev/null
+++ b/dependencies/execurl.64.r4
@@ -0,0 +1 @@
+s/\\out32dll/\\out64dll/g
diff --git a/dependencies/execurl.64.r5 b/dependencies/execurl.64.r5
new file mode 100644
index 0000000..0413220
--- /dev/null
+++ b/dependencies/execurl.64.r5
@@ -0,0 +1 @@
+s/^DIROBJ .*$/&\.x64/
diff --git a/dependencies/execurl.64.r6 b/dependencies/execurl.64.r6
new file mode 100644
index 0000000..fbb8f28
--- /dev/null
+++ b/dependencies/execurl.64.r6
@@ -0,0 +1 @@
+s/release-dll-ssl-dll-zlib-dll/release-dll-ssl-dll-zlib-dll\.x64/g
diff --git a/dependencies/execurl.64.r7 b/dependencies/execurl.64.r7
new file mode 100644
index 0000000..e3162d7
--- /dev/null
+++ b/dependencies/execurl.64.r7
@@ -0,0 +1,2 @@
+s/curl\.exe/Release.x64\\curl\.exe/g
+
diff --git a/dependencies/execurl.bat b/dependencies/execurl.bat
new file mode 100644
index 0000000..1257c61
--- /dev/null
+++ b/dependencies/execurl.bat
@@ -0,0 +1,44 @@
+
+REM Clean
+
+rd/s/q src\Release src\Release.x64 src\Debug src\Debug.x64
+mkdir src\Release src\Release.x64 src\Debug src\Debug.x64
+
+
+REM 32/Release
+echo s/^ZLIB_IMP_LIBS .*$/ZLIB_IMP_LIBS = Release\\%ZLIB_IMPLIB%.lib/ > execurl.32.r1
+copy /y %SCRIPTS_DIR%\execurl.32.r2
+copy /y %SCRIPTS_DIR%\execurl.32.r3
+sed src\makefile.vc14 -f execurl.32.r1 -f execurl.32.r2 -f execurl.32.r3 > src\makefile.shib.32
+
+
+REM 32/Debug
+
+echo s/^ZLIB_IMP_LIBS .*$/ZLIB_IMP_LIBS = Debug\\%ZLIB_IMPLIB%D.lib/ > execurl.32.d.r1
+copy /y %SCRIPTS_DIR%\execurl.32.d.r2
+copy /y %SCRIPTS_DIR%\execurl.32.d.r3
+copy /y %SCRIPTS_DIR%\execurl.32.d.r4
+copy /y %SCRIPTS_DIR%\execurl.32.d.r5
+copy /y %SCRIPTS_DIR%\execurl.32.d.r6
+sed src\makefile.vc14 -f execurl.32.d.r1 -f execurl.32.d.r2 -f execurl.32.d.r3 -f execurl.32.d.r4 -f execurl.32.d.r5 -f execurl.32.d.r6 > src\makefile.shib.32.d
+
+
+REM 64/Release
+echo s/^ZLIB_IMP_LIBS .*$/ZLIB_IMP_LIBS = x64\\Release\\%ZLIB_IMPLIB%.lib/ > execurl.64.r1
+copy /y %SCRIPTS_DIR%\execurl.64.r2
+copy /y %SCRIPTS_DIR%\execurl.64.r3
+copy /y %SCRIPTS_DIR%\execurl.64.r4
+rem copy /y %SCRIPTS_DIR%\execurl.64.r5
+copy /y %SCRIPTS_DIR%\execurl.64.r6
+copy /y %SCRIPTS_DIR%\execurl.64.r7
+sed src\makefile.vc14 -f execurl.64.r1 -f execurl.64.r2 -f execurl.64.r3 -f execurl.64.r4 -f execurl.64.r6 -f execurl.64.r7 > src\makefile.shib.64
+
+REM 64/DEBUG
+echo s/^ZLIB_IMP_LIBS .*$/ZLIB_IMP_LIBS = x64\\Debug\\%ZLIB_IMPLIB%D.lib/ > execurl.64.d.r1
+copy /y %SCRIPTS_DIR%\execurl.64.d.r2
+copy /y %SCRIPTS_DIR%\execurl.64.d.r3
+copy /y %SCRIPTS_DIR%\execurl.64.d.r4
+copy /y %SCRIPTS_DIR%\execurl.64.d.r5
+copy /y %SCRIPTS_DIR%\execurl.64.d.r6
+copy /y %SCRIPTS_DIR%\execurl.64.d.r7
+sed src\makefile.vc14 -f execurl.64.d.r1 -f execurl.64.d.r2 -f execurl.64.d.r3 -f execurl.64.d.r4 -f execurl.64.d.r5 -f execurl.64.d.r6 -f execurl.64.d.r7 > src\makefile.shib.64.d
diff --git a/dependencies/libcurl-compile32.bat b/dependencies/libcurl-compile32.bat
new file mode 100644
index 0000000..dc106a1
--- /dev/null
+++ b/dependencies/libcurl-compile32.bat
@@ -0,0 +1,10 @@
+
+cd lib\
+nmake -f Makefile.shib.32 CFG=release-dll-ssl-dll-zlib-dll LIB_NAME_DYN_REL=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR%
+ at if errorlevel 1 goto end
+
+nmake -f Makefile.shib.32.d CFG=debug-dll-ssl-dll-zlib-dll LIB_NAME_DYN_REL=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR%
+ at if errorlevel 1 goto end
+
+cd ..
+:end
diff --git a/dependencies/libcurl-compile64.bat b/dependencies/libcurl-compile64.bat
new file mode 100644
index 0000000..662f5cf
--- /dev/null
+++ b/dependencies/libcurl-compile64.bat
@@ -0,0 +1,9 @@
+
+cd lib\
+nmake -f Makefile.shib.64 CFG=release-dll-ssl-dll-zlib-dll LIB_NAME_DYN_REL=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% MACHINE=x64
+ at if errorlevel 1 goto end
+
+nmake -f Makefile.shib.64.d CFG=debug-dll-ssl-dll-zlib-dll LIB_NAME_DYN_REL=%LIBCURL_NAME% OPENSSL_PATH=..\..\%OPENSSL_DIR% ZLIB_DIR=..\..\%ZLIB_DIR% MACHINE=x64
+ at if errorlevel 1 goto end
+cd ..
+:end
diff --git a/dependencies/libcurl.bat b/dependencies/libcurl.bat
new file mode 100644
index 0000000..1e3cc74
--- /dev/null
+++ b/dependencies/libcurl.bat
@@ -0,0 +1,41 @@
+REM https://wiki.shibboleth.net/confluence/display/OpenSAML/libcurl/
+
+REM Clean
+
+rd/s/q lib\debug-dll-ssl-dll-zlib-dll lib\debug-dll-ssl-dll-zlib-dll.x64 lib\release-dll-ssl-dll-zlib-dll lib\release-dll-ssl-dll-zlib-dll.x64
+
+mkdir lib\debug-dll-ssl-dll-zlib-dll lib\debug-dll-ssl-dll-zlib-dll.x64 lib\release-dll-ssl-dll-zlib-dll lib\release-dll-ssl-dll-zlib-dll.x64
+
+
+REM 32/Release
+
+echo s/^ZLIBLIBSDLL .*$/ZLIBLIBSDLL = Release\\%ZLIB_IMPLIB%.lib/ > curl.32.r1
+sed lib\makefile.vc14 -f curl.32.r1 > lib\makefile.shib.32
+
+REM 32/Debug
+
+echo s/^ZLIBLIBSDLL .*$/ZLIBLIBSDLL = Debug\\%ZLIB_IMPLIB%D.lib/ > curl.32.d.r1
+copy /y %SCRIPTS_DIR%\curl.32.d.r2
+copy /y %SCRIPTS_DIR%\curl.32.d.r3
+sed lib\makefile.vc14 -f curl.32.d.r1 -f curl.32.d.r2 -f curl.32.d.r3 > lib\makefile.shib.32.d
+
+REM 64/Release
+
+echo s/^ZLIBLIBSDLL .*$/ZLIBLIBSDLL = x64\\Release\\%ZLIB_IMPLIB%.lib/ > curl.64.r1
+copy /y %SCRIPTS_DIR%\curl.64.r2
+copy /y %SCRIPTS_DIR%\curl.64.r3
+copy /y %SCRIPTS_DIR%\curl.64.r4
+copy /y %SCRIPTS_DIR%\curl.64.r5
+sed lib\makefile.vc14 -f curl.64.r1 -f curl.64.r2 -f curl.64.r3 -f curl.64.r4 -f curl.64.r5 > lib\makefile.shib.64
+
+REM 64/Debug
+
+echo s/^ZLIBLIBSDLL .*$/ZLIBLIBSDLL = x64\\Debug\\%ZLIB_IMPLIB%D.lib/ > curl.64.d.r1
+copy /y %SCRIPTS_DIR%\curl.64.d.r2
+copy /y %SCRIPTS_DIR%\curl.64.d.r3
+copy /y %SCRIPTS_DIR%\curl.64.d.r4
+copy /y %SCRIPTS_DIR%\curl.64.d.r5
+copy /y %SCRIPTS_DIR%\curl.64.d.r6
+sed lib\makefile.vc14 -f curl.64.d.r1 -f curl.64.d.r2 -f curl.64.d.r3 -f curl.64.d.r4 -f curl.64.d.r5 -f curl.64.d.r6 > lib\makefile.shib.64.d
+
+
diff --git a/dependencies/log4shib-compile.bat b/dependencies/log4shib-compile.bat
new file mode 100644
index 0000000..d13f611
--- /dev/null
+++ b/dependencies/log4shib-compile.bat
@@ -0,0 +1,11 @@
+msbuild /m msvc14\msvc14.sln /p:Configuration=Debug /t:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m msvc14\msvc14.sln /p:Configuration=Release /t:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+msbuild /m msvc14\msvc14.sln /t:Rebuild /p:Configuration=Release /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m msvc14\msvc14.sln /t:Rebuild /p:Configuration=Debug /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+:end
\ No newline at end of file
diff --git a/dependencies/log4shib.bat b/dependencies/log4shib.bat
new file mode 100644
index 0000000..335dba6
--- /dev/null
+++ b/dependencies/log4shib.bat
@@ -0,0 +1 @@
+REM Nothing
diff --git a/dependencies/openssl_I_crypto.sed b/dependencies/openssl_I_crypto.sed
new file mode 100644
index 0000000..a546fd9
--- /dev/null
+++ b/dependencies/openssl_I_crypto.sed
@@ -0,0 +1,2 @@
+s/out:\$(O_CRYPTO)/out:\$(O_CRYPTO) \/implib:\$(L_CRYPTO)/
+
diff --git a/dependencies/openssl_I_ssl.sed b/dependencies/openssl_I_ssl.sed
new file mode 100644
index 0000000..48dce10
--- /dev/null
+++ b/dependencies/openssl_I_ssl.sed
@@ -0,0 +1,2 @@
+s/out:\$(O_SSL)/out:\$(O_SSL) \/implib:\$(L_SSL)/
+
diff --git a/dependencies/openssl_l_cryptoD.sed b/dependencies/openssl_l_cryptoD.sed
new file mode 100644
index 0000000..305dedd
--- /dev/null
+++ b/dependencies/openssl_l_cryptoD.sed
@@ -0,0 +1 @@
+s/L_CRYPTO.*lib$/L_CRYPTO= \$(LIB_D)\\\$(CRYPTO)D.lib/
diff --git a/dependencies/openssl_l_sslD.sed b/dependencies/openssl_l_sslD.sed
new file mode 100644
index 0000000..d72f96c
--- /dev/null
+++ b/dependencies/openssl_l_sslD.sed
@@ -0,0 +1 @@
+s/L_SSL.*lib$/L_SSL= \$(LIB_D)\\\$(SSL)D.lib/
diff --git a/dependencies/xerces-compile.bat b/dependencies/xerces-compile.bat
new file mode 100644
index 0000000..64d570f
--- /dev/null
+++ b/dependencies/xerces-compile.bat
@@ -0,0 +1,11 @@
+msbuild /m projects\Win32\VC14\xerces-all\xerces-all.sln /p:Configuration=Debug /t:all:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m projects\Win32\VC14\xerces-all\xerces-all.sln /p:Configuration=Release /t:all:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+msbuild /m projects\Win32\VC14\xerces-all\xerces-all.sln /t:all:Rebuild /p:Configuration=Release /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m projects\Win32\VC14\xerces-all\xerces-all.sln /t:all:Rebuild /p:Configuration=Debug /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+:end
\ No newline at end of file
diff --git a/dependencies/xerces.bat b/dependencies/xerces.bat
new file mode 100644
index 0000000..3f77eff
--- /dev/null
+++ b/dependencies/xerces.bat
@@ -0,0 +1 @@
+REM nothing
diff --git a/dependencies/xmlsec-compile.bat b/dependencies/xmlsec-compile.bat
new file mode 100644
index 0000000..906bf18
--- /dev/null
+++ b/dependencies/xmlsec-compile.bat
@@ -0,0 +1,15 @@
+set ForceImportBeforeCppTargets=%SCRIPTS_DIR%\xsec.props
+msbuild /m projects\VC14.0\xsec\xsec.sln /p:Configuration="Debug No Xalan" /t:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m projects\VC14.0\xsec\xsec.sln /p:Configuration="Release No Xalan" /t:clean /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+
+msbuild /m projects\VC14.0\xsec\xsec.sln /p:Configuration="Debug No Xalan" /t:Rebuild /p:Platform=%1%
+ at if errorlevel 1 goto end
+msbuild /m projects\VC14.0\xsec\xsec.sln /p:Configuration="Release No Xalan" /t:Rebuild /p:Platform=%1%
+ at if errorlevel 1 goto end
+
+set ForceImportBeforeCppTargets=
+
+:end
\ No newline at end of file
diff --git a/dependencies/xmlsec.bat b/dependencies/xmlsec.bat
new file mode 100644
index 0000000..149eb58
--- /dev/null
+++ b/dependencies/xmlsec.bat
@@ -0,0 +1,2 @@
+REM Nothing
+
diff --git a/dependencies/xsec.props b/dependencies/xsec.props
new file mode 100644
index 0000000..5088762
--- /dev/null
+++ b/dependencies/xsec.props
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug No Xalan|Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);XSEC_HAVE_OPENSSL=1</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)\..\..\..\..\$(OpenSSl_dir)\inc32;$(SolutionDir)\..\..\..\..\$(Xerces_dir)\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(SolutionDir)..\..\..\..\$(Xerces_dir)\Build\Win32\VC14\Debug;$(SolutionDir)..\..\..\..\$(Openssl_dir)\out32dll.dbg;</AdditionalLibraryDirectories>
+ <AdditionalDependencies>%(AdditionalDependencies);ssleay32d.lib;libeay32d.lib</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug No Xalan|x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);XSEC_HAVE_OPENSSL=1</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)\..\..\..\..\$(OpenSSl_dir)\inc64;$(SolutionDir)\..\..\..\..\$(Xerces_dir)\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(SolutionDir)..\..\..\..\$(Xerces_dir)\Build\Win64\VC14\Debug;$(SolutionDir)..\..\..\..\$(Openssl_dir)\out64dll.dbg;</AdditionalLibraryDirectories>
+ <AdditionalDependencies>%(AdditionalDependencies);ssleay32d.lib;libeay32d.lib</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release No Xalan|Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);XSEC_HAVE_OPENSSL=1</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)\..\..\..\..\$(OpenSSl_dir)\inc32;$(SolutionDir)\..\..\..\..\$(Xerces_dir)\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(SolutionDir)..\..\..\..\$(Xerces_dir)\Build\Win32\VC14\Release;$(SolutionDir)..\..\..\..\$(Openssl_dir)\out32dll;</AdditionalLibraryDirectories>
+ <AdditionalDependencies>%(AdditionalDependencies);ssleay32.lib;libeay32.lib</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release No Xalan|x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);XSEC_HAVE_OPENSSL=1</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)\..\..\..\..\$(OpenSSl_dir)\inc64;$(SolutionDir)\..\..\..\..\$(Xerces_dir)\src</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(SolutionDir)..\..\..\..\$(Xerces_dir)\Build\Win64\VC14\Release;$(SolutionDir)..\..\..\..\$(Openssl_dir)\out64dll;</AdditionalLibraryDirectories>
+ <AdditionalDependencies>%(AdditionalDependencies);ssleay32.lib;libeay32.lib</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+
+</Project>
diff --git a/dependencies/zlib-compile.bat b/dependencies/zlib-compile.bat
new file mode 100644
index 0000000..c944b73
--- /dev/null
+++ b/dependencies/zlib-compile.bat
@@ -0,0 +1,29 @@
+rem clean and create target dirs
+
+rd/s/q %1%\Release %1%\Debug
+mkdir %1%\Release
+mkdir %1%\Debug
+
+rem Release: Clean. Make. Clean
+
+nmake /f win32\Makefile.shib clean
+ at if errorlevel 1 goto end
+nmake /f win32\Makefile.shib
+ at if errorlevel 1 goto end
+copy %ZLIB_SHAREDLIB%.dll %1%\Release
+copy %ZLIB_IMPLIB%.* %1%\Release
+nmake /f win32\Makefile.shib clean
+ at if errorlevel 1 goto end
+
+rem Debug: Clean. Make. Clean
+
+
+nmake /f win32\Makefile.shib.debug clean
+ at if errorlevel 1 goto end
+nmake /f win32\Makefile.shib.debug
+ at if errorlevel 1 goto end
+copy %ZLIB_SHAREDLIB%D.dll %1%\Debug
+copy %ZLIB_IMPLIB%D.* %1%\Debug
+nmake /f win32\Makefile.shib.debug clean
+
+:end
\ No newline at end of file
diff --git a/dependencies/zlib.bat b/dependencies/zlib.bat
new file mode 100644
index 0000000..d50e68a
--- /dev/null
+++ b/dependencies/zlib.bat
@@ -0,0 +1,13 @@
+rd/s/q Release x64 debug
+
+echo s/SHAREDLIB =.*$/SHAREDLIB=%ZLIB_SHAREDLIB%.dll/>zlib1.sed
+echo s/IMPLIB .*$/IMPLIB=%ZLIB_IMPLIB%.lib/>zlib2.sed
+sed win32\makefile.msc -f zlib1.sed -f zlib2.sed > win32\makefile.shib
+
+echo s/SHAREDLIB =.*$/SHAREDLIB=%ZLIB_SHAREDLIB%D.dll/>zlib1.sed
+echo s/IMPLIB .*$/IMPLIB=%ZLIB_IMPLIB%D.lib/>zlib2.sed
+copy /y %SCRIPTS_DIR%\zlib3.sed
+copy /y %SCRIPTS_DIR%\zlib4.sed
+
+sed win32\makefile.msc -f zlib1.sed -f zlib2.sed -f zlib3.sed -f zlib4.sed > win32\makefile.shib > win32\makefile.shib.debug
+
diff --git a/dependencies/zlib3.sed b/dependencies/zlib3.sed
new file mode 100644
index 0000000..5f87a49
--- /dev/null
+++ b/dependencies/zlib3.sed
@@ -0,0 +1 @@
+s/^CFLAGS.*MD/&d/
diff --git a/dependencies/zlib4.sed b/dependencies/zlib4.sed
new file mode 100644
index 0000000..8ff5308
--- /dev/null
+++ b/dependencies/zlib4.sed
@@ -0,0 +1 @@
+s/^WFLAGS .*$/& -D_DEBUG/
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list