aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-13 20:01:15 +0000
committerGunter Knauf <gk@gknw.de>2004-07-13 20:01:15 +0000
commit5f26bee7c87c4c6aa93dcfafc19a97bfca2fba98 (patch)
treea71f4a2094746665512ac8a1f009fee107506c49 /lib
parent2be57d08337850d6b543243e98a81e8f7783d65f (diff)
changed to use Makefile.inc.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.b32152
1 files changed, 62 insertions, 90 deletions
diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index edb450519..a57bf1fed 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -1,90 +1,62 @@
-############################################################
-# $Id$
-#
-# 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 = .
-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
-LIBCURLLIB = libcurl.lib
-
-.SUFFIXES: .c
-
-SOURCES = \
- base64.c \
- md5.c \
- cookie.c \
- transfer.c \
- escape.c \
- formdata.c \
- ftp.c \
- http.c \
- http_chunks.c \
- http_digest.c \
- http_ntlm.c \
- ldap.c \
- dict.c \
- telnet.c \
- getdate.c \
- getenv.c \
- hostip.c \
- if2ip.c \
- mprintf.c \
- netrc.c \
- progress.c \
- sendf.c \
- inet_pton.c \
- speedcheck.c \
- 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
+############################################################
+# $Id$
+#
+# Makefile.b32 - Borland's C++ Compiler 5.X
+#
+# 'lib' directory
+#
+# 'BCCDIR' has to be set up to point to the base directory
+# of the compiler, i.e. SET BCCDIR = c:\Borland\BCC55
+# where c:\Borland\BCC55 is the compiler is installed
+#
+# Requires 'Makefile.b32.resp'
+#
+# Written by Jaepil Kim, pit@paradise.net.nz
+############################################################
+
+# Setup environment
+CXX = bcc32
+CP = copy
+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
+
+# If you build without SSL support, remove "-DUSE_SSLEAY" from the line below.
+DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS -DUSE_SSLEAY
+# DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS
+
+INCDIRS = -I$(CURNTDIR);$(TOPDIR)\include
+LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib
+
+LIBCURLLIB = libcurl.lib
+
+.SUFFIXES: .c
+
+# Makefile.inc provides the CSOURCES and HHEADERS defines
+!include Makefile.inc
+
+OBJECTS = $(CSOURCES:.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
+
+getdate.c:
+ @echo Creating $@
+ @-$(RM) getdate.y
+ @$(CP) getdate.c.cvs $@
+
+
+