X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FMakefile.m32;h=e54175cedfb39b9453a6aae1959c1b0b6305c43f;hb=f7bbc1c9b6a8e2c815d09612b53f453c90d962e0;hp=5093806860c83a9419ffaaf465c3019981e6d6cf;hpb=31368b6eac8092a307849518e912b4c475c0238a;p=platform%2Fupstream%2Fcurl.git diff --git a/src/Makefile.m32 b/src/Makefile.m32 index 5093806..e54175c 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -1,7 +1,7 @@ ########################################################################### # ## Makefile for building curl.exe with MingW (GCC-3.2 or later) -## and optionally OpenSSL (1.0.2a), libssh2 (1.5), zlib (1.2.8), librtmp (2.4) +## and optionally OpenSSL (0.9.8), libssh2 (1.3), zlib (1.2.5), librtmp (2.3) ## ## Usage: mingw32-make -f Makefile.m32 CFG=-feature1[-feature2][-feature3][...] ## Example: mingw32-make -f Makefile.m32 CFG=-zlib-ssl-spi-winidn @@ -18,19 +18,19 @@ ZLIB_PATH = ../../zlib-1.2.8 endif # Edit the path below to point to the base of your OpenSSL package. ifndef OPENSSL_PATH -OPENSSL_PATH = ../../openssl-1.0.2a +OPENSSL_PATH = ../../openssl-0.9.8zc endif # Edit the path below to point to the base of your LibSSH2 package. ifndef LIBSSH2_PATH -LIBSSH2_PATH = ../../libssh2-1.5.0 +LIBSSH2_PATH = ../../libssh2-1.4.3 endif # Edit the path below to point to the base of your librtmp package. ifndef LIBRTMP_PATH -LIBRTMP_PATH = ../../librtmp-2.4 +LIBRTMP_PATH = ../../librtmp-2.3 endif # Edit the path below to point to the base of your libmetalink package. ifndef LIBMETALINK_PATH -LIBMETALINK_PATH = ../../libmetalink-0.1.3 +LIBMETALINK_PATH = ../../libmetalink-0.1.2 endif # Edit the path below to point to the base of your libexpat package. ifndef LIBEXPAT_PATH @@ -38,15 +38,15 @@ LIBEXPAT_PATH = ../../expat-2.1.0 endif # Edit the path below to point to the base of your libxml2 package. ifndef LIBXML2_PATH -LIBXML2_PATH = ../../libxml2-2.9.2 +LIBXML2_PATH = ../../libxml2-2.9.0 endif # Edit the path below to point to the base of your libidn package. ifndef LIBIDN_PATH -LIBIDN_PATH = ../../libidn-1.32 +LIBIDN_PATH = ../../libidn-1.18 endif # Edit the path below to point to the base of your MS IDN package. # Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1 -# https://www.microsoft.com/en-us/download/details.aspx?id=734 +# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815 ifndef WINIDN_PATH WINIDN_PATH = ../../Microsoft IDN Mitigation APIs endif @@ -56,7 +56,7 @@ LDAP_SDK = c:/novell/ndk/cldapsdk/win32 endif # Edit the path below to point to the base of your nghttp2 package. ifndef NGHTTP2_PATH -NGHTTP2_PATH = ../../nghttp2-1.0.0 +NGHTTP2_PATH = ../../nghttp2-0.6.7 endif PROOT = .. @@ -90,12 +90,10 @@ endif endif ifeq ($(ARCH),w64) -CFLAGS += -m64 -D_AMD64_ -LDFLAGS += -m64 +CFLAGS += -D_AMD64_ RCFLAGS += -F pe-x86-64 else CFLAGS += -m32 -LDFLAGS += -m32 RCFLAGS += -F pe-i386 endif @@ -243,7 +241,7 @@ ifdef SSL OPENSSL_LIBS += -lgdi32 -lcrypt32 endif INCLUDES += -I"$(OPENSSL_INCLUDE)" - CFLAGS += -DUSE_OPENSSL + CFLAGS += -DUSE_SSLEAY -DUSE_OPENSSL curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS) endif ifdef ZLIB @@ -342,3 +340,4 @@ endif distclean vclean: clean @$(call DEL, $(curl_PROGRAMS)) +