# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@echo "generate $@"
@sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc12/g" -e "s/VC6/VC12/g" src/Makefile.vc6 > src/Makefile.vc12
+# VC14 makefiles are for use with VS2015
+vc14: lib/Makefile.vc14 src/Makefile.vc14
+
+lib/Makefile.vc14: lib/Makefile.vc6
+ @echo "generate $@"
+ @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc14/g" -e "s/VC6/VC14/g" lib/Makefile.vc6 > lib/Makefile.vc14
+
+src/Makefile.vc14: src/Makefile.vc6
+ @echo "generate $@"
+ @sed -e "s#/GX /DWIN32 /YX#/EHsc /DWIN32#" -e "s#/GZ#/RTC1#" -e "s/ws2_32.lib/ws2_32.lib/g" -e "s/vc6/vc14/g" -e "s/VC6/VC14/g" src/Makefile.vc6 > src/Makefile.vc14
+
ca-bundle: lib/mk-ca-bundle.pl
@echo "generate a fresh ca-bundle.crt"
@perl $< -b -l -u lib/ca-bundle.crt
nmake /f Makefile.vc mode=<static or dll> <options>\r
\r
where <options> is one or many of:\r
- VC=<6,7,8,9,10,11,12> - VC versions\r
+ VC=<6,7,8,9,10,11,12,14> - VC versions\r
WITH_DEVEL=<path> - Paths for the development files (SSL, zlib, etc.)\r
Defaults to sibbling directory deps: ../deps\r
Libraries can be fetched at http://windows.php.net/downloads/php-sdk/deps/\r
\r
!MESSAGE Usage: nmake /f Makefile.vc mode=<static or dll> <options>\r
!MESSAGE where <options> is one or many of:\r
-!MESSAGE VC=<6,7,8,9,10,11,12> - VC versions\r
+!MESSAGE VC=<6,7,8,9,10,11,12,14> - VC versions\r
!MESSAGE WITH_DEVEL=<path> - Paths for the development files (SSL, zlib, etc.)\r
!MESSAGE Defaults to sibbling directory deps: ../deps\r
!MESSAGE Libraries can be fetched at http://pecl2.php.net/downloads/php-windows-builds/\r
\r
###########################################################################\r
#\r
-# Makefile for building libcurl with MSVC 6, 7, 8, 9, 10, 11 and 12\r
+# Makefile for building libcurl with MSVC 6, 7, 8, 9, 10, 11, 12 and 14\r
#\r
# Usage: see usage message below\r
# Should be invoked from winbuild directory\r