[cpp-msbuild] branch master updated: SSPCPP-765 start a make file to build dependencies

Rod Widdowson rdw at steadingsoftware.com
Fri Nov 24 05:38:04 EST 2017


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository cpp-msbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-msbuild.git;a=commit;h=8ab00f81f9944e9d790a848f2f39823a88b63977

The following commit(s) were added to refs/heads/master by this push:
       new  8ab00f8   SSPCPP-765 start a make file to build dependencies
8ab00f8 is described below

commit 8ab00f81f9944e9d790a848f2f39823a88b63977
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Nov 23 18:04:19 2017 +0000

    SSPCPP-765 start a make file to build dependencies
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-765
---
 dependencies/dependency.make | 80 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/dependencies/dependency.make b/dependencies/dependency.make
new file mode 100644
index 0000000..5282298
--- /dev/null
+++ b/dependencies/dependency.make
@@ -0,0 +1,80 @@
+#
+# Makefile to build Shibboleth dependencies.  One architecture only
+#
+
+##
+## Do all The preprocessor stuff.  Targets follow 
+##
+!if "$(VSCMD_ARG_TGT_ARCH)" == "x86"
+!message Building x86
+OpenSSLName=WIN32
+!elseif "$(VSCMD_ARG_TGT_ARCH)" == "x64"
+!message Building x64
+OpenSSLName=WIN64A
+
+!else
+!error "Target architecture must be x86 or x64"
+!endif
+!if "$(ROOT_DIR)" == ""
+	!error ROOT_DIR not defined
+!endif
+!if "$(VISUALSTUDIOVERSION)" != "15.0"
+	!error this code only known to work with VC15
+!endif
+
+help:
+	@cls
+	@echo "TARGETS: clean all
+	@echo "         openssl targets:  openssl, openssl-(clean|debug|release)[-configure]
+	@echo "
+	@echo "REQUIRED VARIABLES
+	@echo "			ROOT_DIR
+	@echo "			OPENSSL_DIR
+
+clean: openssl-clean
+
+all: openssl
+
+test-env:
+
+#
+# OpenSSL
+#
+test-openssl: test-env $(ROOT_DIR)\$(OPENSSL_DIR)
+
+openssl-clean: test-openssl openssl-clean-configure 
+	cd $(ROOT_DIR)\$(OPENSSL_DIR)
+	-2 nmake distclean
+	-2 rd/s/q x64
+	-2 rd/s/q x64Debug
+	-2 rd/s/q x86
+	-2 rd/s/q x86Debug
+
+openssl-clean-configure:
+	cd $(ROOT_DIR)\$(OPENSSL_DIR)
+	-2 nmake distclean
+
+openssl-release-configure: test-openssl $(ROOT_DIR)\$(OPENSSL_DIR)\Configure openssl-clean-configure
+	title Build OpenSSL $(VSCMD_ARG_TGT_ARCH) Release
+	cd $(ROOT_DIR)\$(OPENSSL_DIR)
+	perl Configure VC-$(OpenSSLName) --prefix=%ROOT_DIR%\%OPENSSL_DIR%\$(VSCMD_ARG_TGT_ARCH)
+
+openssl-debug-configure: test-openssl $(ROOT_DIR)\$(OPENSSL_DIR)\ConfigureD openssl-clean-configure
+	title Build OpenSSL $(VSCMD_ARG_TGT_ARCH) Debug
+	cd $(ROOT_DIR)\$(OPENSSL_DIR)
+	perl ConfigureD debug-VC-$(OpenSSLName) --prefix=%ROOT_DIR%\%OPENSSL_DIR%\$(VSCMD_ARG_TGT_ARCH)Debug
+
+openssl-build: $(ROOT_DIR)\$(OPENSSL_DIR)\makefile
+	cd $(ROOT_DIR)\$(OPENSSL_DIR)
+	nmake install_sw
+
+openssl: openssl-debug openssl-release
+
+openssl-release: test-openssl openssl-release-configure openssl-build
+
+openssl-debug: test-openssl openssl-debug-configure openssl-build
+
+
+
+curl-clean:
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list