2000-12-05 16:47:30 +03:00
|
|
|
############################################################
|
2001-08-09 13:10:13 +04:00
|
|
|
# $Id$
|
|
|
|
#
|
2000-12-05 16:47:30 +03:00
|
|
|
# Makefile.b32 - Borland's C++ Compiler 5.X
|
|
|
|
#
|
|
|
|
# 'lib' directory
|
|
|
|
#
|
|
|
|
# Requires 'Makefile.b32.resp'
|
|
|
|
#
|
|
|
|
# Written by Jaepil Kim, pit@paradise.net.nz
|
|
|
|
############################################################
|
|
|
|
|
|
|
|
# Setup environment
|
|
|
|
CXX = bcc32
|
|
|
|
RM = del
|
|
|
|
LIB = tlib
|
|
|
|
TOPDIR = ..
|
|
|
|
CURNTDIR = .
|
2004-01-13 11:02:01 +03:00
|
|
|
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\
|
2000-12-05 16:47:30 +03:00
|
|
|
|
|
|
|
# '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
|
2004-01-13 11:02:01 +03:00
|
|
|
LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib
|
2000-12-05 16:47:30 +03:00
|
|
|
LIBCURLLIB = libcurl.lib
|
|
|
|
|
|
|
|
.SUFFIXES: .c
|
|
|
|
|
|
|
|
SOURCES = \
|
|
|
|
base64.c \
|
2004-01-13 11:02:01 +03:00
|
|
|
md5.c \
|
2000-12-05 16:47:30 +03:00
|
|
|
cookie.c \
|
2001-01-17 16:22:27 +03:00
|
|
|
transfer.c \
|
2000-12-05 16:47:30 +03:00
|
|
|
escape.c \
|
|
|
|
formdata.c \
|
|
|
|
ftp.c \
|
|
|
|
http.c \
|
2001-04-22 21:39:04 +04:00
|
|
|
http_chunks.c \
|
2004-01-13 11:02:01 +03:00
|
|
|
http_digest.c \
|
|
|
|
http_ntlm.c \
|
2000-12-05 16:47:30 +03:00
|
|
|
ldap.c \
|
|
|
|
dict.c \
|
|
|
|
telnet.c \
|
|
|
|
getdate.c \
|
|
|
|
getenv.c \
|
|
|
|
hostip.c \
|
|
|
|
if2ip.c \
|
|
|
|
mprintf.c \
|
|
|
|
netrc.c \
|
|
|
|
progress.c \
|
|
|
|
sendf.c \
|
2004-01-13 11:02:01 +03:00
|
|
|
inet_pton.c \
|
2000-12-05 16:47:30 +03:00
|
|
|
speedcheck.c \
|
|
|
|
ssluse.c \
|
|
|
|
timeval.c \
|
|
|
|
url.c \
|
|
|
|
file.c \
|
|
|
|
getinfo.c \
|
|
|
|
version.c \
|
|
|
|
easy.c \
|
2001-06-29 15:18:27 +04:00
|
|
|
strequal.c \
|
2001-11-02 11:32:38 +03:00
|
|
|
strtok.c \
|
2004-01-06 01:29:29 +03:00
|
|
|
strtoofft.c \
|
2002-12-03 12:32:57 +03:00
|
|
|
connect.c \
|
|
|
|
hash.c \
|
2003-03-04 01:39:34 +03:00
|
|
|
share.c \
|
2002-12-03 12:32:57 +03:00
|
|
|
llist.c \
|
|
|
|
multi.c \
|
|
|
|
content_encoding.c
|
2000-12-05 16:47:30 +03:00
|
|
|
|
|
|
|
OBJECTS = $(SOURCES:.c=.obj)
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
|
|
|
|
|
|
|
|
all: $(LIBCURLLIB)
|
|
|
|
|
|
|
|
clean:
|
2001-04-22 21:39:04 +04:00
|
|
|
-$(RM) $(LIBCURLLIB)
|
|
|
|
-$(RM) *.obj
|
2000-12-05 16:47:30 +03:00
|
|
|
|
|
|
|
$(LIBCURLLIB): $(LINKLIB) $(OBJECTS) Makefile.b32.resp
|
2001-04-22 21:39:04 +04:00
|
|
|
-$(RM) $(LIBCURLLIB)
|
2000-12-05 16:47:30 +03:00
|
|
|
$(LIB) $(LIBCURLLIB) @Makefile.b32.resp
|