]> granicus.if.org Git - curl/commitdiff
Some Borland C++ makefile tweaks.
authorGuenter Knauf <lists@gknw.net>
Tue, 11 Jan 2011 16:51:14 +0000 (17:51 +0100)
committerGuenter Knauf <lists@gknw.net>
Tue, 11 Jan 2011 16:51:14 +0000 (17:51 +0100)
lib/Makefile.b32
src/Makefile.b32

index 509ae270736f8d65c6eb6cf92d8c9210fb8fe8f0..1f5d3fac2414f56abb76a87e4d42850777746bb9 100644 (file)
 #  Written by Jaepil Kim, pit@paradise.net.nz
 ############################################################
 
+# Check if BCCDIR is set.
+!if !$d(BCCDIR)
+!error BCCDIR isn't defined
+!endif
+
 # Edit the path below to point to the base of your Zlib sources.
 !ifndef ZLIB_PATH
-ZLIB_PATH = ../../zlib-1.2.1
+ZLIB_PATH = ../../zlib-1.2.5
 !endif
 
 # Edit the path below to point to the base of your OpenSSL package.
 !ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.7d
+OPENSSL_PATH = ../../openssl-0.9.8q
 !endif
 
 # Set libcurl static lib, dll and import lib
@@ -29,8 +34,8 @@ LIBCURL_IMPLIB = libcurl_imp.lib
 # Setup environment
 CXX      = bcc32
 LD       = bcc32
-CP       = copy
-RM       = del
+CP       = copy 2>NUL
+RM       = del /q /f 2>NUL
 LIB      = tlib
 IMPLIB   = implib
 
index 7408dd2d9e1d82b96bfdfa31b21db19c35f8ec06..c418f1b47f1a59ecb65eab154f093bdd18a5f917 100644 (file)
 #  Written by Jaepil Kim, pit@paradise.net.nz
 ############################################################
 
+# Check if BCCDIR is set.
+!if !$d(BCCDIR)
+!error BCCDIR isn't defined
+!endif
+
 # Edit the path below to point to the base of your Zlib sources.
 !ifndef ZLIB_PATH
-ZLIB_PATH = ../../zlib-1.2.1
+ZLIB_PATH = ../../zlib-1.2.5
 !endif
 
 # Edit the path below to point to the base of your OpenSSL package.
 !ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.7d
+OPENSSL_PATH = ../../openssl-0.9.8q
 !endif
 
 # Set program's name
@@ -27,8 +32,8 @@ PROGNAME = curl.exe
 # Setup environment
 CXX      = bcc32
 LD       = bcc32
-CP       = copy
-RM       = del
+CP       = copy 2>NUL
+RM       = del /q /f 2>NUL
 LIB      = tlib
 
 CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM