Some Borland C++ makefile tweaks.

This commit is contained in:
Guenter Knauf 2011-01-11 17:51:14 +01:00
parent 03ea06b8e3
commit 308db9d780
2 changed files with 18 additions and 8 deletions

View File

@ -11,14 +11,19 @@
# Written by Jaepil Kim, pit@paradise.net.nz # 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. # Edit the path below to point to the base of your Zlib sources.
!ifndef ZLIB_PATH !ifndef ZLIB_PATH
ZLIB_PATH = ../../zlib-1.2.1 ZLIB_PATH = ../../zlib-1.2.5
!endif !endif
# Edit the path below to point to the base of your OpenSSL package. # Edit the path below to point to the base of your OpenSSL package.
!ifndef OPENSSL_PATH !ifndef OPENSSL_PATH
OPENSSL_PATH = ../../openssl-0.9.7d OPENSSL_PATH = ../../openssl-0.9.8q
!endif !endif
# Set libcurl static lib, dll and import lib # Set libcurl static lib, dll and import lib
@ -29,8 +34,8 @@ LIBCURL_IMPLIB = libcurl_imp.lib
# Setup environment # Setup environment
CXX = bcc32 CXX = bcc32
LD = bcc32 LD = bcc32
CP = copy CP = copy 2>NUL
RM = del RM = del /q /f 2>NUL
LIB = tlib LIB = tlib
IMPLIB = implib IMPLIB = implib

View File

@ -11,14 +11,19 @@
# Written by Jaepil Kim, pit@paradise.net.nz # 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. # Edit the path below to point to the base of your Zlib sources.
!ifndef ZLIB_PATH !ifndef ZLIB_PATH
ZLIB_PATH = ../../zlib-1.2.1 ZLIB_PATH = ../../zlib-1.2.5
!endif !endif
# Edit the path below to point to the base of your OpenSSL package. # Edit the path below to point to the base of your OpenSSL package.
!ifndef OPENSSL_PATH !ifndef OPENSSL_PATH
OPENSSL_PATH = ../../openssl-0.9.7d OPENSSL_PATH = ../../openssl-0.9.8q
!endif !endif
# Set program's name # Set program's name
@ -27,8 +32,8 @@ PROGNAME = curl.exe
# Setup environment # Setup environment
CXX = bcc32 CXX = bcc32
LD = bcc32 LD = bcc32
CP = copy CP = copy 2>NUL
RM = del RM = del /q /f 2>NUL
LIB = tlib 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 CXXFLAGS = -q -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu -w-pro -tWM