1 ############################################################
2 # $Id: Makefile.b32,v 1.1.1.1 2008-09-23 16:32:06 hoffman Exp $
4 # Makefile.b32 - Borland's C++ Compiler 5.X
8 # 'BCCDIR' has to be set up to point to the base directory
9 # of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
10 # where c:\Borland\BCC55 is the compiler is installed
12 # Written by Jaepil Kim, pit@paradise.net.nz
13 ############################################################
15 # Edit the path below to point to the base of your Zlib sources.
17 ZLIB_PATH = ../../zlib-1.2.1
20 # Edit the path below to point to the base of your OpenSSL package.
22 OPENSSL_PATH = ../../openssl-0.9.7d
35 CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
38 INCDIRS = -I.;../include;../lib
39 LINKLIB = $(BCCDIR)/lib/cw32mt.lib
41 # If you build with SSL support, set WITH_SSL=1
42 DEFINES = -DNDEBUG -DWIN32
45 LIBCURL_LIB = ../lib/libcurl_imp.lib
47 LIBCURL_LIB = ../lib/libcurl.lib
48 DEFINES = $(DEFINES) -DCURL_STATICLIB
52 DEFINES = $(DEFINES) -DHAVE_LIBZ -DHAVE_ZLIB_H
53 INCDIRS = $(INCDIRS);$(ZLIB_PATH)
54 LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
58 DEFINES = $(DEFINES) -DUSE_SSLEAY
59 INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
60 LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
65 # Makefile.inc provides the CSOURCES and HHEADERS defines
69 CSOURCES = $(CURL_SOURCES) $(CURLX_ONES)
70 OBJECTS = $(CSOURCES:.c=.obj)
73 $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
82 $(PROGNAME): $(OBJECTS) $(LIBCURL_LIB) $(LINKLIB)
84 $(LD) $(LDFLAGS) -e$@ $**
86 hugehelp.c: hugehelp.c.cvs