2009-01-20 14:24:25 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
2014-01-03 07:35:29 +08:00
|
|
|
# Copyright (C) 1999 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2009-01-20 14:24:25 +08:00
|
|
|
#
|
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
|
|
|
# are also available at http://curl.haxx.se/docs/copyright.html.
|
|
|
|
#
|
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
2010-12-21 04:51:09 +08:00
|
|
|
#***************************************************************************
|
|
|
|
|
2011-08-14 04:30:56 +08:00
|
|
|
# All files in the Makefile.vc* series are generated automatically from the
|
|
|
|
# one made for MSVC version 6. Alas, if you want to do changes to any of the
|
2012-06-12 01:04:16 +08:00
|
|
|
# files and send back to the project, edit the version six, make your diff and
|
2011-08-14 04:30:56 +08:00
|
|
|
# mail curl-library.
|
|
|
|
|
2009-01-20 14:24:25 +08:00
|
|
|
###########################################################################
|
2001-08-09 17:10:13 +08:00
|
|
|
#
|
2001-11-05 19:56:26 +08:00
|
|
|
# Makefile for building libcurl with MSVC6
|
|
|
|
#
|
|
|
|
# Usage: see usage message below
|
|
|
|
# Should be invoked from \lib directory
|
|
|
|
# Edit the paths and desired library name
|
2002-01-05 07:47:07 +08:00
|
|
|
# SSL path is only required if you intend compiling
|
2001-11-05 19:56:26 +08:00
|
|
|
# with SSL.
|
|
|
|
#
|
|
|
|
# This make file leaves the result either a .lib or .dll file
|
|
|
|
# in the \lib directory. It should be called from the \lib
|
|
|
|
# directory.
|
|
|
|
#
|
|
|
|
# An option would have been to allow the source directory to
|
|
|
|
# be specified, but I saw no requirement.
|
|
|
|
#
|
|
|
|
# Another option would have been to leave the .lib and .dll
|
|
|
|
# files in the "cfg" directory, but then the make file
|
2002-01-05 07:47:07 +08:00
|
|
|
# in \src would need to be changed.
|
|
|
|
#
|
2001-11-05 19:56:26 +08:00
|
|
|
##############################################################
|
2001-05-22 05:42:38 +08:00
|
|
|
|
2010-12-21 04:51:09 +08:00
|
|
|
# ----------------------------------------------
|
|
|
|
# Verify that current subdir is libcurl's 'lib'
|
|
|
|
# ----------------------------------------------
|
|
|
|
|
|
|
|
!IF ! EXIST(.\curl_addrinfo.c)
|
|
|
|
! MESSAGE Can not process this makefile from outside of libcurl's 'lib' subdirectory.
|
|
|
|
! MESSAGE Change to libcurl's 'lib' subdirectory, and try again.
|
|
|
|
! ERROR See previous message.
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
# ------------------------------------------------
|
|
|
|
# Makefile.msvc.names provides libcurl file names
|
|
|
|
# ------------------------------------------------
|
|
|
|
|
2013-02-07 06:14:11 +08:00
|
|
|
!INCLUDE ..\winbuild\Makefile.msvc.names
|
2010-12-21 04:51:09 +08:00
|
|
|
|
2002-02-07 00:00:55 +08:00
|
|
|
!IFNDEF OPENSSL_PATH
|
2013-02-09 08:35:11 +08:00
|
|
|
OPENSSL_PATH = ../../openssl-0.9.8y
|
2002-02-07 00:00:55 +08:00
|
|
|
!ENDIF
|
2001-05-22 05:42:38 +08:00
|
|
|
|
2011-08-16 05:22:06 +08:00
|
|
|
!IFNDEF LIBSSH2_PATH
|
2013-01-28 08:25:39 +08:00
|
|
|
LIBSSH2_PATH = ../../libssh2-1.4.3
|
2011-08-16 05:22:06 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2004-04-12 04:25:10 +08:00
|
|
|
!IFNDEF ZLIB_PATH
|
2013-05-11 23:08:00 +08:00
|
|
|
ZLIB_PATH = ../../zlib-1.2.8
|
2004-04-12 04:25:10 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2007-03-10 06:26:59 +08:00
|
|
|
!IFNDEF MACHINE
|
|
|
|
MACHINE = X86
|
|
|
|
!ENDIF
|
|
|
|
|
2005-03-11 07:15:29 +08:00
|
|
|
# USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication
|
|
|
|
# without an openssl installation and offers the ability to authenticate
|
2007-07-15 21:00:39 +08:00
|
|
|
# using the "current logged in user". Since at least with MSVC6 the sspi.h
|
|
|
|
# header is broken it is either required to install the Windows SDK,
|
|
|
|
# or to fix sspi.h with adding this define at the beginning of sspi.h:
|
|
|
|
# #define FreeCredentialHandle FreeCredentialsHandle
|
2005-03-11 07:15:29 +08:00
|
|
|
#
|
|
|
|
# If, for some reason the Windows SDK is installed but not installed
|
|
|
|
# in the default location, you can specify WINDOWS_SDK_PATH.
|
|
|
|
# It can be downloaded from:
|
|
|
|
# http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
|
|
|
|
|
2008-02-28 19:34:08 +08:00
|
|
|
# WINDOWS_SSPI = 1
|
2005-03-11 07:15:29 +08:00
|
|
|
|
|
|
|
!IFDEF WINDOWS_SSPI
|
|
|
|
!IFNDEF WINDOWS_SDK_PATH
|
2011-01-13 12:55:09 +08:00
|
|
|
WINDOWS_SDK_PATH = "$(PROGRAMFILES)\Microsoft SDK"
|
2005-03-11 07:15:29 +08:00
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
#############################################################
|
|
|
|
## Nothing more to do below this line!
|
2001-05-22 05:42:38 +08:00
|
|
|
|
2013-07-08 23:46:15 +08:00
|
|
|
CCNODBG = cl.exe /O2 /DNDEBUG
|
|
|
|
CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /GZ
|
|
|
|
CFLAGSSSL = /DUSE_SSLEAY /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
|
|
|
|
CFLAGSWINSSL = /DUSE_SCHANNEL
|
|
|
|
CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include"
|
|
|
|
CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)"
|
|
|
|
CFLAGS = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1
|
|
|
|
CFLAGSLIB = /DCURL_STATICLIB
|
|
|
|
LNKDLL = link.exe /DLL
|
|
|
|
LNKLIB = link.exe /lib
|
|
|
|
LFLAGS = /nologo /machine:$(MACHINE)
|
|
|
|
SSLLIBS = libeay32.lib ssleay32.lib
|
|
|
|
ZLIBLIBSDLL = zdll.lib
|
|
|
|
ZLIBLIBS = zlib.lib
|
|
|
|
WINLIBS = ws2_32.lib wldap32.lib advapi32.lib
|
|
|
|
CFLAGS = $(CFLAGS)
|
|
|
|
|
|
|
|
CFGSET = FALSE
|
2001-11-05 19:56:26 +08:00
|
|
|
|
2005-03-11 07:15:29 +08:00
|
|
|
!IFDEF WINDOWS_SSPI
|
|
|
|
CFLAGS = $(CFLAGS) /DUSE_WINDOWS_SSPI /I$(WINDOWS_SDK_PATH)\include
|
|
|
|
!ENDIF
|
|
|
|
|
2010-07-01 01:40:40 +08:00
|
|
|
!IFDEF USE_IPV6
|
|
|
|
CFLAGS = $(CFLAGS) /DUSE_IPV6
|
|
|
|
!ENDIF
|
|
|
|
|
2005-10-21 03:07:33 +08:00
|
|
|
##############################################################
|
|
|
|
# Runtime library configuration
|
|
|
|
|
|
|
|
RTLIB = /MD
|
|
|
|
RTLIBD = /MDd
|
|
|
|
|
|
|
|
!IF "$(RTLIBCFG)" == "static"
|
|
|
|
RTLIB = /MT
|
|
|
|
RTLIBD = /MTd
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
|
2005-10-22 03:32:12 +08:00
|
|
|
######################
|
|
|
|
# release
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-10-22 03:32:12 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
######################
|
|
|
|
# release-ssl
|
2001-11-22 08:12:48 +08:00
|
|
|
|
2002-01-05 07:47:07 +08:00
|
|
|
!IF "$(CFG)" == "release-ssl"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
|
|
|
LNK = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSLIB)
|
2002-01-05 07:47:07 +08:00
|
|
|
CFGSET = TRUE
|
2001-11-05 19:56:26 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2014-01-06 05:13:12 +08:00
|
|
|
######################
|
|
|
|
# release-winssl
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-winssl"
|
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSWINSSL) $(CFLAGSLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
######################
|
2010-12-21 07:14:55 +08:00
|
|
|
# release-zlib
|
2001-11-05 19:56:26 +08:00
|
|
|
|
2010-12-21 07:14:55 +08:00
|
|
|
!IF "$(CFG)" == "release-zlib"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
2010-12-21 07:14:55 +08:00
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2002-01-05 07:47:07 +08:00
|
|
|
CFGSET = TRUE
|
2001-11-05 19:56:26 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2004-04-12 04:25:10 +08:00
|
|
|
######################
|
|
|
|
# release-ssl-zlib
|
2005-01-18 18:17:34 +08:00
|
|
|
|
2004-04-12 04:25:10 +08:00
|
|
|
!IF "$(CFG)" == "release-ssl-zlib"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
2004-04-12 04:25:10 +08:00
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
2005-01-18 18:17:34 +08:00
|
|
|
LNK = $(LNKLIB) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2004-04-12 04:25:10 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2013-07-08 23:46:15 +08:00
|
|
|
######################
|
|
|
|
# release-winssl-zlib
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-winssl-zlib"
|
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSWINSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2012-06-21 05:30:17 +08:00
|
|
|
######################
|
|
|
|
# release-ssl-ssh2-zlib
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-ssl-ssh2-zlib"
|
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
|
|
|
LFLAGSSSH2 = "/LIBPATH:$(LIBSSH2_PATH)"
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) $(LFLAGSSSL) $(LFLAGSSSH2) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSSSH2) $(CFLAGSZLIB) $(CFLAGSLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2003-10-22 19:26:41 +08:00
|
|
|
######################
|
2010-12-21 07:14:55 +08:00
|
|
|
# release-ssl-dll
|
2005-01-18 18:17:34 +08:00
|
|
|
|
2010-12-21 07:14:55 +08:00
|
|
|
!IF "$(CFG)" == "release-ssl-dll"
|
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
2010-12-21 07:14:55 +08:00
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSLIB)
|
2003-10-22 19:26:41 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2005-01-18 18:17:34 +08:00
|
|
|
######################
|
|
|
|
# release-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
2003-10-22 19:26:41 +08:00
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
######################
|
2005-01-18 18:17:34 +08:00
|
|
|
# release-ssl-dll-zlib-dll
|
2001-11-05 19:56:26 +08:00
|
|
|
|
2005-01-18 18:17:34 +08:00
|
|
|
!IF "$(CFG)" == "release-ssl-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
2001-11-05 19:56:26 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2010-12-21 07:14:55 +08:00
|
|
|
######################
|
|
|
|
# release-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-dll"
|
|
|
|
TARGET = $(LIBCURL_DYN_LIB_REL)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LNK = $(LNKDLL) $(WINLIBS) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
|
|
|
|
CC = $(CCNODBG) $(RTLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# release-dll-ssl-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-dll-ssl-dll"
|
|
|
|
TARGET = $(LIBCURL_DYN_LIB_REL)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
|
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL)
|
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
######################
|
2005-01-18 18:17:34 +08:00
|
|
|
# release-dll-zlib-dll
|
2001-11-05 19:56:26 +08:00
|
|
|
|
2005-01-18 18:17:34 +08:00
|
|
|
!IF "$(CFG)" == "release-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSZLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# release-dll-ssl-dll-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "release-dll-ssl-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_REL)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_REL)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCNODBG) $(RTLIB) $(CFLAGSSSL) $(CFLAGSZLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSLIB)
|
2001-11-05 19:56:26 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-ssl
|
2005-01-18 18:17:34 +08:00
|
|
|
|
2002-01-05 07:47:07 +08:00
|
|
|
!IF "$(CFG)" == "debug-ssl"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
2005-10-22 03:32:12 +08:00
|
|
|
LNK = $(LNKLIB) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSLIB)
|
2001-11-05 19:56:26 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2004-05-26 19:49:28 +08:00
|
|
|
######################
|
|
|
|
# debug-zlib
|
2005-01-18 18:17:34 +08:00
|
|
|
|
2004-05-26 19:49:28 +08:00
|
|
|
!IF "$(CFG)" == "debug-zlib"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
2004-05-26 19:49:28 +08:00
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
2005-01-18 18:17:34 +08:00
|
|
|
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2004-05-26 19:49:28 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
######################
|
2010-12-21 07:14:55 +08:00
|
|
|
# debug-ssl-zlib
|
2001-11-05 19:56:26 +08:00
|
|
|
|
2010-12-21 07:14:55 +08:00
|
|
|
!IF "$(CFG)" == "debug-ssl-zlib"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
2010-12-21 07:14:55 +08:00
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
|
|
|
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2012-06-21 05:30:17 +08:00
|
|
|
######################
|
|
|
|
# debug-ssl-ssh2-zlib
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-ssl-ssh2-zlib"
|
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSH2 = "/LIBPATH:$(LIBSSH2_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32"
|
|
|
|
LNK = $(LNKLIB) $(ZLIBLIBS) $(LFLAGSSSL) $(LFLAGSSSH2) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSSSH2) $(CFLAGSZLIB) $(CFLAGSLIB)
|
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
2005-01-18 18:17:34 +08:00
|
|
|
######################
|
2010-12-21 07:14:55 +08:00
|
|
|
# debug-ssl-dll
|
2005-01-18 18:17:34 +08:00
|
|
|
|
2010-12-21 07:14:55 +08:00
|
|
|
!IF "$(CFG)" == "debug-ssl-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
2010-12-21 07:14:55 +08:00
|
|
|
LFLAGSSSL = /LIBPATH:$(OPENSSL_PATH)\out32dll
|
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /out:$(DIROBJ)\$(TARGET)
|
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-ssl-dll-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-ssl-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_STA_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
|
|
|
LNK = $(LNKLIB) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-dll-ssl-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-dll-ssl-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(LFLAGSSSL) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL)
|
2001-11-05 19:56:26 +08:00
|
|
|
CFGSET = TRUE
|
2003-11-06 23:09:30 +08:00
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
2001-11-05 19:56:26 +08:00
|
|
|
!ENDIF
|
|
|
|
|
2005-01-18 18:17:34 +08:00
|
|
|
######################
|
|
|
|
# debug-dll-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(ZLIBLIBSDLL) $(LFLAGSZLIB) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSZLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
######################
|
|
|
|
# debug-dll-ssl-dll-zlib-dll
|
|
|
|
|
|
|
|
!IF "$(CFG)" == "debug-dll-ssl-dll-zlib-dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
2005-01-18 18:17:34 +08:00
|
|
|
DIROBJ = $(CFG)
|
|
|
|
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
|
|
|
|
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
|
2010-12-21 04:51:09 +08:00
|
|
|
LNK = $(LNKDLL) $(WINLIBS) $(SSLLIBS) $(ZLIBLIBSDLL) $(LFLAGSSSL) $(LFLAGSZLIB) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
2005-10-21 03:07:33 +08:00
|
|
|
CC = $(CCDEBUG) $(RTLIBD) $(CFLAGSSSL) $(CFLAGSZLIB)
|
2005-01-18 18:17:34 +08:00
|
|
|
CFGSET = TRUE
|
|
|
|
RESOURCE = $(DIROBJ)\libcurl.res
|
|
|
|
!ENDIF
|
|
|
|
|
2001-11-05 19:56:26 +08:00
|
|
|
#######################
|
|
|
|
# Usage
|
|
|
|
#
|
2005-01-18 18:17:34 +08:00
|
|
|
!IF "$(CFGSET)" == "FALSE" && "$(CFG)" != ""
|
2004-02-27 00:23:28 +08:00
|
|
|
!MESSAGE Usage: nmake /f makefile.vc6 CFG=<config> <target>
|
2001-11-05 19:56:26 +08:00
|
|
|
!MESSAGE where <config> is one of:
|
2005-01-18 18:17:34 +08:00
|
|
|
!MESSAGE release - release static library
|
|
|
|
!MESSAGE release-ssl - release static library with ssl
|
|
|
|
!MESSAGE release-zlib - release static library with zlib
|
|
|
|
!MESSAGE release-ssl-zlib - release static library with ssl and zlib
|
2011-08-16 05:22:06 +08:00
|
|
|
!MESSAGE release-ssl-ssh2-zlib - release static library with ssl, ssh2 and zlib
|
2005-01-18 18:17:34 +08:00
|
|
|
!MESSAGE release-ssl-dll - release static library with dynamic ssl
|
|
|
|
!MESSAGE release-zlib-dll - release static library with dynamic zlib
|
|
|
|
!MESSAGE release-ssl-dll-zlib-dll - release static library with dynamic ssl and dynamic zlib
|
|
|
|
!MESSAGE release-dll - release dynamic library
|
|
|
|
!MESSAGE release-dll-ssl-dll - release dynamic library with dynamic ssl
|
|
|
|
!MESSAGE release-dll-zlib-dll - release dynamic library with dynamic zlib
|
|
|
|
!MESSAGE release-dll-ssl-dll-zlib-dll - release dynamic library with dynamic ssl and dynamic zlib
|
|
|
|
!MESSAGE debug - debug static library
|
|
|
|
!MESSAGE debug-ssl - debug static library with ssl
|
|
|
|
!MESSAGE debug-zlib - debug static library with zlib
|
|
|
|
!MESSAGE debug-ssl-zlib - debug static library with ssl and zlib
|
2012-06-21 05:30:17 +08:00
|
|
|
!MESSAGE debug-ssl-ssh2-zlib - debug static library with ssl, ssh2 and zlib
|
2005-01-18 18:17:34 +08:00
|
|
|
!MESSAGE debug-ssl-dll - debug static library with dynamic ssl
|
|
|
|
!MESSAGE debug-zlib-dll - debug static library with dynamic zlib
|
|
|
|
!MESSAGE debug-ssl-dll-zlib-dll - debug static library with dynamic ssl and dynamic zlib
|
|
|
|
!MESSAGE debug-dll - debug dynamic library
|
|
|
|
!MESSAGE debug-dll-ssl-dll - debug dynamic library with dynamic ssl
|
|
|
|
!MESSAGE debug-dll-zlib-dll - debug dynamic library with dynamic zlib1
|
|
|
|
!MESSAGE debug-dll-ssl-dll-zlib-dll - debug dynamic library with dynamic ssl and dynamic zlib
|
2001-11-05 19:56:26 +08:00
|
|
|
!MESSAGE <target> can be left blank in which case all is assumed
|
|
|
|
!ERROR please choose a valid configuration "$(CFG)"
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
#######################
|
2005-01-18 18:17:34 +08:00
|
|
|
# Only the clean target can be used if a config was not provided.
|
|
|
|
#
|
|
|
|
!IF "$(CFGSET)" == "FALSE"
|
|
|
|
clean:
|
|
|
|
@-erase /s *.dll 2> NUL
|
|
|
|
@-erase /s *.exp 2> NUL
|
|
|
|
@-erase /s *.idb 2> NUL
|
|
|
|
@-erase /s *.lib 2> NUL
|
|
|
|
@-erase /s *.obj 2> NUL
|
|
|
|
@-erase /s *.pch 2> NUL
|
|
|
|
@-erase /s *.pdb 2> NUL
|
|
|
|
@-erase /s *.res 2> NUL
|
|
|
|
!ELSE
|
|
|
|
# A config was provided, so the library can be built.
|
2001-11-05 19:56:26 +08:00
|
|
|
#
|
|
|
|
X_OBJS= \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\amigaos.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\asyn-ares.obj \
|
|
|
|
$(DIROBJ)\asyn-thread.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\axtls.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\base64.obj \
|
|
|
|
$(DIROBJ)\bundles.obj \
|
|
|
|
$(DIROBJ)\conncache.obj \
|
|
|
|
$(DIROBJ)\connect.obj \
|
|
|
|
$(DIROBJ)\content_encoding.obj \
|
|
|
|
$(DIROBJ)\cookie.obj \
|
2008-11-07 02:50:32 +08:00
|
|
|
$(DIROBJ)\curl_addrinfo.obj \
|
2012-06-27 20:04:42 +08:00
|
|
|
$(DIROBJ)\curl_darwinssl.obj \
|
2010-05-13 08:31:22 +08:00
|
|
|
$(DIROBJ)\curl_fnmatch.obj \
|
2010-08-03 19:09:39 +08:00
|
|
|
$(DIROBJ)\curl_gethostname.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\curl_gssapi.obj \
|
2009-09-29 00:05:20 +08:00
|
|
|
$(DIROBJ)\curl_memrchr.obj \
|
2012-06-16 00:17:25 +08:00
|
|
|
$(DIROBJ)\curl_multibyte.obj \
|
http NTLM: split http_ntlm.[ch] between http_ntlm.[ch] and curl_ntlm.[ch]
For modularity purposes, huge chunks of NTLM existing code is transformed into
functions to allow future internal code reuse.
Resulting three new libcurl private functions:
- Curl_ntlm_create_type1_message()
- Curl_ntlm_create_type3_message()
- Curl_ntlm_decode_type2_message()
Changing static ntlm_sspi_cleanup() into non-static Curl_ntlm_sspi_cleanup()
This 'refactoring' has been prepared by previous commits to allow that this
specific one does not introduce any change to existing code. All existing
goodness and badness previous to this commit should remain the same once it is
applied, the only difference should be that existing code is moved into
functions.
Given the quite big portions of code being moved around, and the importance of
change traceability, this commit has been done in such a way that it is
possible to perform a three-way diff from initial http_ntlm.[ch] to resulting
http_ntlm.[ch] and curl_ntlm.[ch] to actually verify that no functional change
is introduced here.
Notice that Steve Holme has provided several patches, but these included this
refactoring along with 'extra' fixes. I really wanted this 'clean' refactoring
done first, in order to allow discussion or committing of 'extra' fixes on a
case by case basis, so, I had to bite the bullet ;-)
Comments, line adjustments, compiler warning fixes, whatever, may follow
afterwards.
2011-08-14 21:45:19 +08:00
|
|
|
$(DIROBJ)\curl_ntlm.obj \
|
2011-08-28 07:19:08 +08:00
|
|
|
$(DIROBJ)\curl_ntlm_core.obj \
|
2011-08-28 08:00:02 +08:00
|
|
|
$(DIROBJ)\curl_ntlm_msgs.obj \
|
2011-08-28 01:16:10 +08:00
|
|
|
$(DIROBJ)\curl_ntlm_wb.obj \
|
2010-05-13 10:05:58 +08:00
|
|
|
$(DIROBJ)\curl_rtmp.obj \
|
2012-06-05 04:49:07 +08:00
|
|
|
$(DIROBJ)\curl_sasl.obj \
|
2014-04-06 07:57:23 +08:00
|
|
|
$(DIROBJ)\curl_sasl_sspi.obj \
|
2012-06-27 20:04:42 +08:00
|
|
|
$(DIROBJ)\curl_schannel.obj \
|
2009-01-30 04:32:27 +08:00
|
|
|
$(DIROBJ)\curl_sspi.obj \
|
2010-01-26 17:20:09 +08:00
|
|
|
$(DIROBJ)\curl_threads.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\cyassl.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\dict.obj \
|
2013-07-08 21:05:10 +08:00
|
|
|
$(DIROBJ)\dotdot.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\easy.obj \
|
|
|
|
$(DIROBJ)\escape.obj \
|
|
|
|
$(DIROBJ)\file.obj \
|
|
|
|
$(DIROBJ)\fileinfo.obj \
|
|
|
|
$(DIROBJ)\formdata.obj \
|
|
|
|
$(DIROBJ)\ftp.obj \
|
|
|
|
$(DIROBJ)\ftplistparser.obj \
|
|
|
|
$(DIROBJ)\getenv.obj \
|
|
|
|
$(DIROBJ)\getinfo.obj \
|
|
|
|
$(DIROBJ)\gopher.obj \
|
|
|
|
$(DIROBJ)\gtls.obj \
|
|
|
|
$(DIROBJ)\hash.obj \
|
|
|
|
$(DIROBJ)\hmac.obj \
|
|
|
|
$(DIROBJ)\hostasyn.obj \
|
|
|
|
$(DIROBJ)\hostcheck.obj \
|
|
|
|
$(DIROBJ)\hostip.obj \
|
|
|
|
$(DIROBJ)\hostip4.obj \
|
|
|
|
$(DIROBJ)\hostip6.obj \
|
|
|
|
$(DIROBJ)\hostsyn.obj \
|
|
|
|
$(DIROBJ)\http.obj \
|
|
|
|
$(DIROBJ)\http_chunks.obj \
|
|
|
|
$(DIROBJ)\http_digest.obj \
|
|
|
|
$(DIROBJ)\http_negotiate.obj \
|
|
|
|
$(DIROBJ)\http_negotiate_sspi.obj \
|
|
|
|
$(DIROBJ)\http_proxy.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\idn_win32.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\if2ip.obj \
|
|
|
|
$(DIROBJ)\imap.obj \
|
|
|
|
$(DIROBJ)\inet_ntop.obj \
|
|
|
|
$(DIROBJ)\inet_pton.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\krb5.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\ldap.obj \
|
|
|
|
$(DIROBJ)\llist.obj \
|
|
|
|
$(DIROBJ)\md4.obj \
|
|
|
|
$(DIROBJ)\md5.obj \
|
|
|
|
$(DIROBJ)\memdebug.obj \
|
|
|
|
$(DIROBJ)\mprintf.obj \
|
|
|
|
$(DIROBJ)\multi.obj \
|
|
|
|
$(DIROBJ)\netrc.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\non-ascii.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\nonblock.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\nss.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\openldap.obj \
|
|
|
|
$(DIROBJ)\parsedate.obj \
|
|
|
|
$(DIROBJ)\pingpong.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\pipeline.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\polarssl.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\polarssl_threadlock.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\pop3.obj \
|
|
|
|
$(DIROBJ)\progress.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\qssl.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\rawstr.obj \
|
|
|
|
$(DIROBJ)\rtsp.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\security.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\select.obj \
|
|
|
|
$(DIROBJ)\sendf.obj \
|
|
|
|
$(DIROBJ)\share.obj \
|
|
|
|
$(DIROBJ)\slist.obj \
|
|
|
|
$(DIROBJ)\smtp.obj \
|
|
|
|
$(DIROBJ)\socks.obj \
|
|
|
|
$(DIROBJ)\socks_gssapi.obj \
|
|
|
|
$(DIROBJ)\socks_sspi.obj \
|
|
|
|
$(DIROBJ)\speedcheck.obj \
|
|
|
|
$(DIROBJ)\splay.obj \
|
|
|
|
$(DIROBJ)\ssh.obj \
|
2014-01-03 23:55:49 +08:00
|
|
|
$(DIROBJ)\vtls.obj \
|
|
|
|
$(DIROBJ)\openssl.obj \
|
2013-03-15 01:35:01 +08:00
|
|
|
$(DIROBJ)\strdup.obj \
|
2013-01-04 09:50:28 +08:00
|
|
|
$(DIROBJ)\strequal.obj \
|
|
|
|
$(DIROBJ)\strerror.obj \
|
|
|
|
$(DIROBJ)\strtok.obj \
|
|
|
|
$(DIROBJ)\strtoofft.obj \
|
|
|
|
$(DIROBJ)\telnet.obj \
|
|
|
|
$(DIROBJ)\tftp.obj \
|
|
|
|
$(DIROBJ)\timeval.obj \
|
|
|
|
$(DIROBJ)\transfer.obj \
|
|
|
|
$(DIROBJ)\url.obj \
|
|
|
|
$(DIROBJ)\version.obj \
|
|
|
|
$(DIROBJ)\warnless.obj \
|
|
|
|
$(DIROBJ)\wildcard.obj \
|
2003-11-06 23:09:30 +08:00
|
|
|
$(RESOURCE)
|
2001-11-05 19:56:26 +08:00
|
|
|
|
|
|
|
all : $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(X_OBJS)
|
2004-03-03 21:32:56 +08:00
|
|
|
$(LNK) $(LFLAGS) $(X_OBJS)
|
2010-12-21 04:51:09 +08:00
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_STA_LIB_REL) . /y
|
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_STA_LIB_DBG) . /y
|
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_DYN_LIB_REL) . /y
|
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_DYN_LIB_DBG) . /y
|
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_IMP_LIB_REL) . /y
|
|
|
|
-xcopy $(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) . /y
|
|
|
|
-xcopy $(DIROBJ)\*.exp . /y
|
|
|
|
-xcopy $(DIROBJ)\*.pdb . /y
|
2001-11-05 19:56:26 +08:00
|
|
|
|
|
|
|
$(X_OBJS): $(DIROBJ)
|
|
|
|
|
|
|
|
$(DIROBJ):
|
|
|
|
@if not exist "$(DIROBJ)" mkdir $(DIROBJ)
|
|
|
|
|
2003-11-06 23:09:30 +08:00
|
|
|
.SUFFIXES: .c .obj .res
|
2001-11-05 19:56:26 +08:00
|
|
|
|
|
|
|
{.\}.c{$(DIROBJ)\}.obj:
|
|
|
|
$(CC) $(CFLAGS) /Fo"$@" $<
|
2001-05-22 05:42:38 +08:00
|
|
|
|
2014-01-03 05:15:23 +08:00
|
|
|
{.\vtls\}.c{$(DIROBJ)\}.obj:
|
|
|
|
$(CC) $(CFLAGS) /Fo"$@" $<
|
|
|
|
|
2003-11-06 23:09:30 +08:00
|
|
|
debug-dll\libcurl.res \
|
2005-01-18 18:17:34 +08:00
|
|
|
debug-dll-ssl-dll\libcurl.res \
|
|
|
|
debug-dll-zlib-dll\libcurl.res \
|
|
|
|
debug-dll-ssl-dll-zlib-dll\libcurl.res: libcurl.rc
|
2009-06-15 10:30:22 +08:00
|
|
|
rc /dDEBUGBUILD=1 /Fo $@ libcurl.rc
|
2003-11-06 23:09:30 +08:00
|
|
|
|
|
|
|
release-dll\libcurl.res \
|
2005-01-18 18:17:34 +08:00
|
|
|
release-dll-ssl-dll\libcurl.res \
|
|
|
|
release-dll-zlib-dll\libcurl.res \
|
|
|
|
release-dll-ssl-dll-zlib-dll\libcurl.res: libcurl.rc
|
2009-06-15 10:30:22 +08:00
|
|
|
rc /dDEBUGBUILD=0 /Fo $@ libcurl.rc
|
2005-01-18 18:17:34 +08:00
|
|
|
!ENDIF # End of case where a config was provided.
|