diff options
author | taesubkim <taesub.kim@samsung.com> | 2016-04-25 10:21:23 +0900 |
---|---|---|
committer | taesubkim <taesub.kim@samsung.com> | 2016-04-25 10:27:58 +0900 |
commit | 0a710b32648c435f792f5993fdefa2d96f802580 (patch) | |
tree | 8370266f83e70616acf75c514a5707407887e4b7 /winbuild/Makefile.vc | |
parent | 7b6dca47a42828c0ae87eab0d8b68f97d1495b67 (diff) | |
download | curl-0a710b32648c435f792f5993fdefa2d96f802580.tar.gz curl-0a710b32648c435f792f5993fdefa2d96f802580.tar.bz2 curl-0a710b32648c435f792f5993fdefa2d96f802580.zip |
Imported Upstream version 7.48.0upstream/7.48.0
Change-Id: Ibca5368d95ef0b73c945bb0df8b7ef9fc3e3bd82
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Diffstat (limited to 'winbuild/Makefile.vc')
-rw-r--r-- | winbuild/Makefile.vc | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/winbuild/Makefile.vc b/winbuild/Makefile.vc index 6dc58c4ef..5653232d2 100644 --- a/winbuild/Makefile.vc +++ b/winbuild/Makefile.vc @@ -15,12 +15,13 @@ CFGSET=true !MESSAGE Usage: nmake /f Makefile.vc mode=<static or dll> <options>
!MESSAGE where <options> is one or many of:
-!MESSAGE VC=<6,7,8,9,10,11,12> - VC versions
+!MESSAGE VC=<6,7,8,9,10,11,12,14> - VC versions
!MESSAGE WITH_DEVEL=<path> - Paths for the development files (SSL, zlib, etc.)
!MESSAGE Defaults to sibbling directory deps: ../deps
!MESSAGE Libraries can be fetched at http://pecl2.php.net/downloads/php-windows-builds/
!MESSAGE Uncompress them into the deps folder.
!MESSAGE WITH_SSL=<dll or static> - Enable OpenSSL support, DLL or static
+!MESSAGE WITH_CARES=<dll or static> - Enable c-ares support, DLL or static
!MESSAGE WITH_ZLIB=<dll or static> - Enable zlib support, DLL or static
!MESSAGE WITH_SSH2=<dll or static> - Enable libSSH2 support, DLL or static
!MESSAGE ENABLE_IDN=<yes or no> - Enable use of Windows IDN APIs, defaults to yes
@@ -107,6 +108,14 @@ USE_SSL = true SSL = static
!ENDIF
+!IF "$(WITH_CARES)"=="dll"
+USE_CARES = true
+CARES = dll
+!ELSEIF "$(WITH_CARES)"=="static"
+USE_CARES = true
+CARES = static
+!ENDIF
+
!IF "$(WITH_ZLIB)"=="dll"
USE_ZLIB = true
ZLIB = dll
@@ -141,6 +150,10 @@ CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-static CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-ssl-$(SSL)
!ENDIF
+!IF "$(USE_CARES)"=="true"
+CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-cares-$(CARES)
+!ENDIF
+
!IF "$(USE_ZLIB)"=="true"
CONFIG_NAME_LIB = $(CONFIG_NAME_LIB)-zlib-$(ZLIB)
!ENDIF
@@ -169,6 +182,9 @@ CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl DIRDIST = ..\builds\$(CONFIG_NAME_LIB)\
$(MODE):
+ @IF NOT EXIST ..\include\curl\curlbuild.h ( \
+ CALL ..\buildconf.bat \
+ )
@SET DIROBJ=$(LIBCURL_DIROBJ)
@SET MACRO_NAME=LIBCURL_OBJS
@SET OUTFILE=LIBCURL_OBJS.inc
|