1 ############################################################
3 # Makefile.b32 - Borland's C++ Compiler 5.X
7 # 'BCCDIR' has to be set up to point to the base directory
8 # of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
9 # where c:\Borland\BCC55 is the compiler is installed
11 # Written by Jaepil Kim, pit@paradise.net.nz
12 ############################################################
14 # Edit the path below to point to the base of your Zlib sources.
16 ZLIB_PATH = ../../zlib-1.2.1
19 # Edit the path below to point to the base of your OpenSSL package.
21 OPENSSL_PATH = ../../openssl-0.9.7d
34 CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM
37 INCDIRS = -I.;../include;../lib
38 LINKLIB = $(BCCDIR)/lib/cw32mt.lib
40 # If you build with SSL support, set WITH_SSL=1
41 DEFINES = -DNDEBUG -DWIN32
44 LIBCURL_LIB = ../lib/libcurl_imp.lib
46 LIBCURL_LIB = ../lib/libcurl.lib
47 DEFINES = $(DEFINES) -DCURL_STATICLIB
51 DEFINES = $(DEFINES) -DHAVE_LIBZ -DHAVE_ZLIB_H
52 INCDIRS = $(INCDIRS);$(ZLIB_PATH)
53 LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
57 DEFINES = $(DEFINES) -DUSE_SSLEAY
58 INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl
59 LINKLIB = $(LINKLIB) $(OPENSSL_PATH)/out32/ssleay32.lib $(OPENSSL_PATH)/out32/libeay32.lib
64 # Makefile.inc provides the CSOURCES and HHEADERS defines
68 CSOURCES = $(CURL_CFILES) $(CURLX_ONES)
69 OBJECTS = $(CSOURCES:.c=.obj)
72 $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
81 $(PROGNAME): $(OBJECTS) $(LIBCURL_LIB) $(LINKLIB)
83 $(LD) $(LDFLAGS) -e$@ $**
85 hugehelp.c: hugehelp.c.cvs