mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
changed to use Makefile.inc.
This commit is contained in:
parent
2be57d0833
commit
5f26bee7c8
152
lib/Makefile.b32
152
lib/Makefile.b32
@ -1,90 +1,62 @@
|
|||||||
############################################################
|
############################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
# Makefile.b32 - Borland's C++ Compiler 5.X
|
# Makefile.b32 - Borland's C++ Compiler 5.X
|
||||||
#
|
#
|
||||||
# 'lib' directory
|
# 'lib' directory
|
||||||
#
|
#
|
||||||
# Requires 'Makefile.b32.resp'
|
# 'BCCDIR' has to be set up to point to the base directory
|
||||||
#
|
# of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
|
||||||
# Written by Jaepil Kim, pit@paradise.net.nz
|
# where c:\Borland\BCC55 is the compiler is installed
|
||||||
############################################################
|
#
|
||||||
|
# Requires 'Makefile.b32.resp'
|
||||||
# Setup environment
|
#
|
||||||
CXX = bcc32
|
# Written by Jaepil Kim, pit@paradise.net.nz
|
||||||
RM = del
|
############################################################
|
||||||
LIB = tlib
|
|
||||||
TOPDIR = ..
|
# Setup environment
|
||||||
CURNTDIR = .
|
CXX = bcc32
|
||||||
CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu \
|
CP = copy
|
||||||
-w-pro -tWM
|
RM = del
|
||||||
|
LIB = tlib
|
||||||
# If you build without SSL support, remove "-DUSE_SSLEAY" from the line below.
|
TOPDIR = ..
|
||||||
DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS \
|
CURNTDIR = .
|
||||||
-DUSE_SSLEAY
|
|
||||||
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
|
||||||
|
|
||||||
# 'BCCDIR' has to be set up in your c:\autoexec.bat
|
# If you build without SSL support, remove "-DUSE_SSLEAY" from the line below.
|
||||||
# i.e. SET BCCDIR = c:\Borland\BCC55
|
DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS -DUSE_SSLEAY
|
||||||
# where c:\Borland\BCC55 is the compiler is installed
|
# DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS
|
||||||
LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib
|
|
||||||
LIBCURLLIB = libcurl.lib
|
INCDIRS = -I$(CURNTDIR);$(TOPDIR)\include
|
||||||
|
LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib
|
||||||
.SUFFIXES: .c
|
|
||||||
|
LIBCURLLIB = libcurl.lib
|
||||||
SOURCES = \
|
|
||||||
base64.c \
|
.SUFFIXES: .c
|
||||||
md5.c \
|
|
||||||
cookie.c \
|
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||||
transfer.c \
|
!include Makefile.inc
|
||||||
escape.c \
|
|
||||||
formdata.c \
|
OBJECTS = $(CSOURCES:.c=.obj)
|
||||||
ftp.c \
|
|
||||||
http.c \
|
.c.obj:
|
||||||
http_chunks.c \
|
$(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
|
||||||
http_digest.c \
|
|
||||||
http_ntlm.c \
|
all: $(LIBCURLLIB)
|
||||||
ldap.c \
|
|
||||||
dict.c \
|
clean:
|
||||||
telnet.c \
|
-$(RM) $(LIBCURLLIB)
|
||||||
getdate.c \
|
-$(RM) *.obj
|
||||||
getenv.c \
|
|
||||||
hostip.c \
|
$(LIBCURLLIB): $(LINKLIB) $(OBJECTS) Makefile.b32.resp
|
||||||
if2ip.c \
|
-$(RM) $(LIBCURLLIB)
|
||||||
mprintf.c \
|
$(LIB) $(LIBCURLLIB) @Makefile.b32.resp
|
||||||
netrc.c \
|
|
||||||
progress.c \
|
getdate.c:
|
||||||
sendf.c \
|
@echo Creating $@
|
||||||
inet_pton.c \
|
@-$(RM) getdate.y
|
||||||
speedcheck.c \
|
@$(CP) getdate.c.cvs $@
|
||||||
ssluse.c \
|
|
||||||
timeval.c \
|
|
||||||
url.c \
|
|
||||||
file.c \
|
|
||||||
getinfo.c \
|
|
||||||
version.c \
|
|
||||||
easy.c \
|
|
||||||
strequal.c \
|
|
||||||
strtok.c \
|
|
||||||
strtoofft.c \
|
|
||||||
connect.c \
|
|
||||||
hash.c \
|
|
||||||
share.c \
|
|
||||||
llist.c \
|
|
||||||
multi.c \
|
|
||||||
content_encoding.c
|
|
||||||
|
|
||||||
OBJECTS = $(SOURCES:.c=.obj)
|
|
||||||
|
|
||||||
.c.obj:
|
|
||||||
$(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
|
|
||||||
|
|
||||||
all: $(LIBCURLLIB)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-$(RM) $(LIBCURLLIB)
|
|
||||||
-$(RM) *.obj
|
|
||||||
|
|
||||||
$(LIBCURLLIB): $(LINKLIB) $(OBJECTS) Makefile.b32.resp
|
|
||||||
-$(RM) $(LIBCURLLIB)
|
|
||||||
$(LIB) $(LIBCURLLIB) @Makefile.b32.resp
|
|
||||||
|
Loading…
Reference in New Issue
Block a user