mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
build: update depedency versions, urls, example makefiles
- update default versions of dependencies (except for rare/old platforms) - update urls - sync examples makefiles with main ones - remove line ending space
This commit is contained in:
parent
4271695122
commit
6a61285909
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1998 - 2011, 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
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -21,7 +21,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
#
|
#
|
||||||
## Makefile for building curl examples with MingW (GCC-3.2 or later)
|
## Makefile for building curl examples with MingW (GCC-3.2 or later)
|
||||||
## and optionally OpenSSL (0.9.8), libssh2 (1.3), zlib (1.2.5), librtmp (2.3)
|
## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4)
|
||||||
##
|
##
|
||||||
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
||||||
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-spi-winidn
|
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-spi-winidn
|
||||||
@ -38,23 +38,23 @@ ZLIB_PATH = ../../../zlib-1.2.8
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your librtmp package.
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
ifndef LIBRTMP_PATH
|
ifndef LIBRTMP_PATH
|
||||||
LIBRTMP_PATH = ../../../librtmp-2.3
|
LIBRTMP_PATH = ../../../librtmp-2.4
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libidn package.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../../libidn-1.18
|
LIBIDN_PATH = ../../../libidn-1.30
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your MS IDN package.
|
# Edit the path below to point to the base of your MS IDN package.
|
||||||
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
||||||
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
|
# https://www.microsoft.com/en-us/download/details.aspx?id=734
|
||||||
ifndef WINIDN_PATH
|
ifndef WINIDN_PATH
|
||||||
WINIDN_PATH = ../../../Microsoft IDN Mitigation APIs
|
WINIDN_PATH = ../../../Microsoft IDN Mitigation APIs
|
||||||
endif
|
endif
|
||||||
@ -62,6 +62,10 @@ endif
|
|||||||
ifndef LDAP_SDK
|
ifndef LDAP_SDK
|
||||||
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
||||||
endif
|
endif
|
||||||
|
# Edit the path below to point to the base of your nghttp2 package.
|
||||||
|
ifndef NGHTTP2_PATH
|
||||||
|
NGHTTP2_PATH = ../../../nghttp2-0.7.13
|
||||||
|
endif
|
||||||
|
|
||||||
PROOT = ../..
|
PROOT = ../..
|
||||||
|
|
||||||
@ -72,14 +76,24 @@ endif
|
|||||||
|
|
||||||
# Edit the var below to set to your architecture or set environment var.
|
# Edit the var below to set to your architecture or set environment var.
|
||||||
ifndef ARCH
|
ifndef ARCH
|
||||||
ARCH = w32
|
ifeq ($(findstring x86_64,$(shell $(CC) -dumpmachine)),x86_64)
|
||||||
|
ARCH = w64
|
||||||
|
else
|
||||||
|
ARCH = w32
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CC = $(CROSSPREFIX)gcc
|
CC = $(CROSSPREFIX)gcc
|
||||||
CFLAGS = -g -O2 -Wall
|
CFLAGS = -g -O2 -Wall
|
||||||
CFLAGS += -fno-strict-aliasing
|
CFLAGS += -fno-strict-aliasing
|
||||||
ifeq ($(ARCH),w64)
|
ifeq ($(ARCH),w64)
|
||||||
CFLAGS += -D_AMD64_
|
CFLAGS += -m64 -D_AMD64_
|
||||||
|
LDFLAGS += -m64
|
||||||
|
RCFLAGS += -F pe-x86-64
|
||||||
|
else
|
||||||
|
CFLAGS += -m32
|
||||||
|
LDFLAGS += -m32
|
||||||
|
RCFLAGS += -F pe-i386
|
||||||
endif
|
endif
|
||||||
# comment LDFLAGS below to keep debug info
|
# comment LDFLAGS below to keep debug info
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
@ -158,9 +172,12 @@ ifeq ($(findstring -metalink,$(CFG)),-metalink)
|
|||||||
METALINK = 1
|
METALINK = 1
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring -winssl,$(CFG)),-winssl)
|
ifeq ($(findstring -winssl,$(CFG)),-winssl)
|
||||||
SCHANNEL = 1
|
WINSSL = 1
|
||||||
SSPI = 1
|
SSPI = 1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(findstring -nghttp2,$(CFG)),-nghttp2)
|
||||||
|
NGHTTP2 = 1
|
||||||
|
endif
|
||||||
|
|
||||||
INCLUDES = -I. -I$(PROOT) -I$(PROOT)/include -I$(PROOT)/lib
|
INCLUDES = -I. -I$(PROOT) -I$(PROOT)/include -I$(PROOT)/lib
|
||||||
|
|
||||||
@ -184,6 +201,10 @@ ifdef RTMP
|
|||||||
CFLAGS += -DUSE_LIBRTMP
|
CFLAGS += -DUSE_LIBRTMP
|
||||||
curl_LDADD += -L"$(LIBRTMP_PATH)/librtmp" -lrtmp -lwinmm
|
curl_LDADD += -L"$(LIBRTMP_PATH)/librtmp" -lrtmp -lwinmm
|
||||||
endif
|
endif
|
||||||
|
ifdef NGHTTP2
|
||||||
|
CFLAGS += -DUSE_NGHTTP2
|
||||||
|
curl_LDADD += -L"$(NGHTTP2_PATH)/lib" -lnghttp2
|
||||||
|
endif
|
||||||
ifdef SSH2
|
ifdef SSH2
|
||||||
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
||||||
curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
||||||
@ -204,7 +225,7 @@ ifdef SSL
|
|||||||
ifndef DYN
|
ifndef DYN
|
||||||
OPENSSL_LIBS += -lgdi32 -lcrypt32
|
OPENSSL_LIBS += -lgdi32 -lcrypt32
|
||||||
endif
|
endif
|
||||||
CFLAGS += -DUSE_SSLEAY
|
CFLAGS += -DUSE_OPENSSL
|
||||||
curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
|
curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
|
||||||
endif
|
endif
|
||||||
ifdef ZLIB
|
ifdef ZLIB
|
||||||
@ -223,7 +244,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
ifdef SSPI
|
ifdef SSPI
|
||||||
CFLAGS += -DUSE_WINDOWS_SSPI
|
CFLAGS += -DUSE_WINDOWS_SSPI
|
||||||
ifdef SCHANNEL
|
ifdef WINSSL
|
||||||
CFLAGS += -DUSE_SCHANNEL
|
CFLAGS += -DUSE_SCHANNEL
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -19,12 +19,12 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your axTLS package.
|
# Edit the path below to point to the base of your axTLS package.
|
||||||
@ -34,12 +34,12 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your libidn package.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../../libidn-1.18
|
LIBIDN_PATH = ../../../libidn-1.30
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your librtmp package.
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
ifndef LIBRTMP_PATH
|
ifndef LIBRTMP_PATH
|
||||||
LIBRTMP_PATH = ../../../librtmp-2.3
|
LIBRTMP_PATH = ../../../librtmp-2.4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your fbopenssl package.
|
# Edit the path below to point to the base of your fbopenssl package.
|
||||||
|
@ -101,7 +101,7 @@ ZLIB_ROOT = ../../zlib-1.2.8
|
|||||||
!ifdef %libssh2_root
|
!ifdef %libssh2_root
|
||||||
LIBSSH2_ROOT = $(%libssh2_root)
|
LIBSSH2_ROOT = $(%libssh2_root)
|
||||||
!else
|
!else
|
||||||
LIBSSH2_ROOT = ../../libssh2-1.4.3
|
LIBSSH2_ROOT = ../../libssh2-1.5.0
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifdef %librtmp_root
|
!ifdef %librtmp_root
|
||||||
@ -113,7 +113,7 @@ LIBRTMP_ROOT = ../../rtmpdump-2.3
|
|||||||
!ifdef %openssl_root
|
!ifdef %openssl_root
|
||||||
OPENSSL_ROOT = $(%openssl_root)
|
OPENSSL_ROOT = $(%openssl_root)
|
||||||
!else
|
!else
|
||||||
OPENSSL_ROOT = ../../openssl-0.9.8zc
|
OPENSSL_ROOT = ../../openssl-1.0.2a
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifdef %ares_root
|
!ifdef %ares_root
|
||||||
|
@ -27,7 +27,7 @@ ZLIB_PATH = ..\..\zlib-1.2.8
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
!ifndef OPENSSL_PATH
|
!ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ..\..\openssl-0.9.8zc
|
OPENSSL_PATH = ..\..\openssl-1.0.2a
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Set libcurl static lib, dll and import lib
|
# Set libcurl static lib, dll and import lib
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
#
|
#
|
||||||
## Makefile for building libcurl.a with MingW (GCC-3.2 or later)
|
## Makefile for building libcurl.a with MingW (GCC-3.2 or later)
|
||||||
## and optionally OpenSSL (0.9.8), libssh2 (1.3), zlib (1.2.5), librtmp (2.3)
|
## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4)
|
||||||
##
|
##
|
||||||
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
||||||
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-sspi-winidn
|
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-sspi-winidn
|
||||||
@ -18,23 +18,23 @@ ZLIB_PATH = ../../zlib-1.2.8
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your librtmp package.
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
ifndef LIBRTMP_PATH
|
ifndef LIBRTMP_PATH
|
||||||
LIBRTMP_PATH = ../../librtmp-2.3
|
LIBRTMP_PATH = ../../librtmp-2.4
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libidn package.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
LIBIDN_PATH = ../../libidn-1.30
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your MS IDN package.
|
# Edit the path below to point to the base of your MS IDN package.
|
||||||
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
||||||
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
|
# https://www.microsoft.com/en-us/download/details.aspx?id=734
|
||||||
ifndef WINIDN_PATH
|
ifndef WINIDN_PATH
|
||||||
WINIDN_PATH = ../../Microsoft IDN Mitigation APIs
|
WINIDN_PATH = ../../Microsoft IDN Mitigation APIs
|
||||||
endif
|
endif
|
||||||
@ -44,7 +44,7 @@ LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your nghttp2 package.
|
# Edit the path below to point to the base of your nghttp2 package.
|
||||||
ifndef NGHTTP2_PATH
|
ifndef NGHTTP2_PATH
|
||||||
NGHTTP2_PATH = ../../nghttp2-0.6.7
|
NGHTTP2_PATH = ../../nghttp2-0.7.13
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROOT = ..
|
PROOT = ..
|
||||||
|
@ -19,12 +19,12 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your axTLS package.
|
# Edit the path below to point to the base of your axTLS package.
|
||||||
|
@ -65,11 +65,11 @@
|
|||||||
!INCLUDE ..\winbuild\Makefile.msvc.names
|
!INCLUDE ..\winbuild\Makefile.msvc.names
|
||||||
|
|
||||||
!IFNDEF OPENSSL_PATH
|
!IFNDEF OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
!IFNDEF LIBSSH2_PATH
|
!IFNDEF LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../libssh2-1.5.0
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
!IFNDEF ZLIB_PATH
|
!IFNDEF ZLIB_PATH
|
||||||
@ -90,7 +90,7 @@ MACHINE = X86
|
|||||||
# If, for some reason the Windows SDK is installed but not installed
|
# If, for some reason the Windows SDK is installed but not installed
|
||||||
# in the default location, you can specify WINDOWS_SDK_PATH.
|
# in the default location, you can specify WINDOWS_SDK_PATH.
|
||||||
# It can be downloaded from:
|
# It can be downloaded from:
|
||||||
# http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
|
# https://msdn.microsoft.com/windows/bb980924.aspx
|
||||||
|
|
||||||
# WINDOWS_SSPI = 1
|
# WINDOWS_SSPI = 1
|
||||||
|
|
||||||
@ -427,7 +427,7 @@ CFGSET = TRUE
|
|||||||
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
TARGET = $(LIBCURL_DYN_LIB_DBG)
|
||||||
DIROBJ = $(CFG)
|
DIROBJ = $(CFG)
|
||||||
LNK = $(LNKDLL) $(WINLIBS) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
LNK = $(LNKDLL) $(WINLIBS) /DEBUG /out:$(DIROBJ)\$(TARGET) /IMPLIB:$(DIROBJ)\$(LIBCURL_IMP_LIB_DBG) /PDB:$(DIROBJ)\$(LIBCURL_DYN_LIB_PDB)
|
||||||
CC = $(CCDEBUG) $(RTLIBD)
|
CC = $(CCDEBUG) $(RTLIBD)
|
||||||
CFGSET = TRUE
|
CFGSET = TRUE
|
||||||
RESOURCE = $(DIROBJ)\libcurl.res
|
RESOURCE = $(DIROBJ)\libcurl.res
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
@ -96,7 +96,7 @@ ZLIB_ROOT = ../../zlib-1.2.8
|
|||||||
!ifdef %libssh2_root
|
!ifdef %libssh2_root
|
||||||
LIBSSH2_ROOT = $(%libssh2_root)
|
LIBSSH2_ROOT = $(%libssh2_root)
|
||||||
!else
|
!else
|
||||||
LIBSSH2_ROOT = ../../libssh2-1.4.3
|
LIBSSH2_ROOT = ../../libssh2-1.5.0
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifdef %librtmp_root
|
!ifdef %librtmp_root
|
||||||
@ -108,7 +108,7 @@ LIBRTMP_ROOT = ../../rtmpdump-2.3
|
|||||||
!ifdef %openssl_root
|
!ifdef %openssl_root
|
||||||
OPENSSL_ROOT = $(%openssl_root)
|
OPENSSL_ROOT = $(%openssl_root)
|
||||||
!else
|
!else
|
||||||
OPENSSL_ROOT = ../../openssl-0.9.8zc
|
OPENSSL_ROOT = ../../openssl-1.0.2a
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!ifdef %ares_root
|
!ifdef %ares_root
|
||||||
|
@ -27,7 +27,7 @@ ZLIB_PATH = ..\..\zlib-1.2.8
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
!ifndef OPENSSL_PATH
|
!ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ..\..\openssl-0.9.8zc
|
OPENSSL_PATH = ..\..\openssl-1.0.2a
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Set program's name
|
# Set program's name
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
#
|
#
|
||||||
## Makefile for building curl.exe with MingW (GCC-3.2 or later)
|
## Makefile for building curl.exe with MingW (GCC-3.2 or later)
|
||||||
## and optionally OpenSSL (0.9.8), libssh2 (1.3), zlib (1.2.5), librtmp (2.3)
|
## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4)
|
||||||
##
|
##
|
||||||
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...]
|
||||||
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-spi-winidn
|
## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-spi-winidn
|
||||||
@ -18,19 +18,19 @@ ZLIB_PATH = ../../zlib-1.2.8
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your librtmp package.
|
# Edit the path below to point to the base of your librtmp package.
|
||||||
ifndef LIBRTMP_PATH
|
ifndef LIBRTMP_PATH
|
||||||
LIBRTMP_PATH = ../../librtmp-2.3
|
LIBRTMP_PATH = ../../librtmp-2.4
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libmetalink package.
|
# Edit the path below to point to the base of your libmetalink package.
|
||||||
ifndef LIBMETALINK_PATH
|
ifndef LIBMETALINK_PATH
|
||||||
LIBMETALINK_PATH = ../../libmetalink-0.1.2
|
LIBMETALINK_PATH = ../../libmetalink-0.1.3
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libexpat package.
|
# Edit the path below to point to the base of your libexpat package.
|
||||||
ifndef LIBEXPAT_PATH
|
ifndef LIBEXPAT_PATH
|
||||||
@ -38,15 +38,15 @@ LIBEXPAT_PATH = ../../expat-2.1.0
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libxml2 package.
|
# Edit the path below to point to the base of your libxml2 package.
|
||||||
ifndef LIBXML2_PATH
|
ifndef LIBXML2_PATH
|
||||||
LIBXML2_PATH = ../../libxml2-2.9.0
|
LIBXML2_PATH = ../../libxml2-2.9.2
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your libidn package.
|
# Edit the path below to point to the base of your libidn package.
|
||||||
ifndef LIBIDN_PATH
|
ifndef LIBIDN_PATH
|
||||||
LIBIDN_PATH = ../../libidn-1.18
|
LIBIDN_PATH = ../../libidn-1.30
|
||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your MS IDN package.
|
# Edit the path below to point to the base of your MS IDN package.
|
||||||
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
|
||||||
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
|
# https://www.microsoft.com/en-us/download/details.aspx?id=734
|
||||||
ifndef WINIDN_PATH
|
ifndef WINIDN_PATH
|
||||||
WINIDN_PATH = ../../Microsoft IDN Mitigation APIs
|
WINIDN_PATH = ../../Microsoft IDN Mitigation APIs
|
||||||
endif
|
endif
|
||||||
@ -56,7 +56,7 @@ LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
|||||||
endif
|
endif
|
||||||
# Edit the path below to point to the base of your nghttp2 package.
|
# Edit the path below to point to the base of your nghttp2 package.
|
||||||
ifndef NGHTTP2_PATH
|
ifndef NGHTTP2_PATH
|
||||||
NGHTTP2_PATH = ../../nghttp2-0.6.7
|
NGHTTP2_PATH = ../../nghttp2-0.7.13
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PROOT = ..
|
PROOT = ..
|
||||||
|
@ -19,12 +19,12 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your OpenSSL package.
|
# Edit the path below to point to the base of your OpenSSL package.
|
||||||
ifndef OPENSSL_PATH
|
ifndef OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-1.4.3
|
LIBSSH2_PATH = ../../libssh2-1.5.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Edit the path below to point to the base of your axTLS package.
|
# Edit the path below to point to the base of your axTLS package.
|
||||||
|
@ -56,7 +56,7 @@ PROGRAM_NAME = curl.exe
|
|||||||
|
|
||||||
|
|
||||||
!IFNDEF OPENSSL_PATH
|
!IFNDEF OPENSSL_PATH
|
||||||
OPENSSL_PATH = ../../openssl-0.9.8zc
|
OPENSSL_PATH = ../../openssl-1.0.2a
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
!IFNDEF ZLIB_PATH
|
!IFNDEF ZLIB_PATH
|
||||||
@ -77,7 +77,7 @@ MACHINE = X86
|
|||||||
# If, for some reason the Windows SDK is installed but not installed
|
# If, for some reason the Windows SDK is installed but not installed
|
||||||
# in the default location, you can specify WINDOWS_SDK_PATH.
|
# in the default location, you can specify WINDOWS_SDK_PATH.
|
||||||
# It can be downloaded from:
|
# It can be downloaded from:
|
||||||
# http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
|
# https://msdn.microsoft.com/windows/bb980924.aspx
|
||||||
|
|
||||||
# WINDOWS_SSPI = 1
|
# WINDOWS_SSPI = 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user