From 71b3cc08a6d68420dbf4a10ae59b83e18ee2b68b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Jan 2004 08:02:01 +0000 Subject: Brian R Duffy made the makefile work to build SSL-enabled curl with Borland C++. --- lib/Makefile.b32 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/Makefile.b32 b/lib/Makefile.b32 index 97e096a3d..3b110d4d5 100644 --- a/lib/Makefile.b32 +++ b/lib/Makefile.b32 @@ -16,21 +16,25 @@ RM = del LIB = tlib TOPDIR = .. CURNTDIR = . -CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM -DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS -INCDIRS = -I$(CURNTDIR);$(TOPDIR)\include\ +CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu \ + -w-pro -tWM + +# If you build without SSL support, remove "-DUSE_SSLEAY" from the line below. +DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS \ + -DUSE_SSLEAY +INCDIRS = -I$(CURNTDIR);$(TOPDIR)\include\ # 'BCCDIR' has to be set up in your c:\autoexec.bat # i.e. SET BCCDIR = c:\Borland\BCC55 # where c:\Borland\BCC55 is the compiler is installed -LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib +LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib LIBCURLLIB = libcurl.lib .SUFFIXES: .c SOURCES = \ base64.c \ - md5.c \ + md5.c \ cookie.c \ transfer.c \ escape.c \ @@ -38,7 +42,8 @@ SOURCES = \ ftp.c \ http.c \ http_chunks.c \ - http_digest.c \ + http_digest.c \ + http_ntlm.c \ ldap.c \ dict.c \ telnet.c \ @@ -51,6 +56,7 @@ SOURCES = \ netrc.c \ progress.c \ sendf.c \ + inet_pton.c \ speedcheck.c \ ssluse.c \ timeval.c \ -- cgit v1.2.3