Unverified Commit aca1aba0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

build: remove the Borland specific makefiles

According to the user survey 2018, not even one out of 670 users use
them. Nobody on the mailing list spoke up for them either.

Closes #2629
parent 57128067
Loading
Loading
Loading
Loading
+1 −25
Changes for Makefile.dist: 1 added line, 25 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#                            | (__| |_| |  _ <| |___
#                             \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -28,30 +28,6 @@ ssl:
	./configure --with-ssl
	make

borland:
	cd lib
	$(MAKE) -f Makefile.b32
	cd ..\src
	$(MAKE) -f Makefile.b32

borland-ssl:
	cd lib
	$(MAKE) -f Makefile.b32 WITH_SSL=1
	cd ..\src
	$(MAKE) -f Makefile.b32 WITH_SSL=1

borland-ssl-zlib:
	cd lib
	$(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1
	cd ..\src
	$(MAKE) -f Makefile.b32 WITH_SSL=1 WITH_ZLIB=1

borland-clean:
	cd lib
	$(MAKE) -f Makefile.b32 clean
	cd ..\src
	$(MAKE) -f Makefile.b32 clean

watcom: .SYMBOLIC
	cd lib && $(MAKE) -u -f Makefile.Watcom
	cd src && $(MAKE) -u -f Makefile.Watcom
−47
Changes for docs/INSTALL.md: 0 added lines, 47 removed lines.
Original line number Diff line number Diff line
@@ -177,53 +177,6 @@ executable in /bin/ or you'll see the configure fail toward the end.

Run `make`

## Borland C++ compiler

Ensure that your build environment is properly set up to use the compiler and
associated tools. PATH environment variable must include the path to bin
subdirectory of your compiler installation, eg: `c:\Borland\BCC55\bin`

It is advisable to set environment variable BCCDIR to the base path of the
compiler installation.

    set BCCDIR=c:\Borland\BCC55

In order to build a plain vanilla version of curl and libcurl run the
following command from curl's root directory:

    make borland

To build curl and libcurl with zlib and OpenSSL support set environment
variables `ZLIB_PATH` and `OPENSSL_PATH` to the base subdirectories of the
already built zlib and OpenSSL libraries and from curl's root directory run
command:

    make borland-ssl-zlib

libcurl library will be built in 'lib' subdirectory while curl tool is built
in 'src' subdirectory. In order to use libcurl library it is advisable to
modify compiler's configuration file bcc32.cfg located in
`c:\Borland\BCC55\bin` to reflect the location of libraries include paths for
example the '-I' line could result in something like:

    -I"c:\Borland\BCC55\include;c:\curl\include;c:\openssl\inc32"

bcc3.cfg `-L` line could also be modified to reflect the location of of
libcurl library resulting for example:

    -L"c:\Borland\BCC55\lib;c:\curl\lib;c:\openssl\out32"

In order to build sample program `simple.c` from the docs\examples
subdirectory run following command from mentioned subdirectory:

    bcc32 simple.c libcurl.lib cw32mt.lib

In order to build sample program simplessl.c an SSL enabled libcurl is
required, as well as the OpenSSL libeay32.lib and ssleay32.lib libraries.

In order to build sample program `sslbackend.c`, an SSL enabled libcurl
is required.

## Disabling Specific Protocols in Windows builds

The configure utility, unfortunately, is not available for the Windows
+2 −2
Changes for lib/Makefile.am: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#                            | (__| |_| |  _ <| |___
#                             \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@ AUTOMAKE_OPTIONS = foreign nostdinc

CMAKE_DIST = CMakeLists.txt curl_config.h.cmake

EXTRA_DIST = Makefile.b32 Makefile.m32 config-win32.h	\
EXTRA_DIST = Makefile.m32 config-win32.h	                        \
 config-win32ce.h config-riscos.h config-mac.h curl_config.h.in		\
 makefile.dj config-dos.h libcurl.plist libcurl.rc config-amigaos.h	\
 makefile.amiga Makefile.netware nwlib.c nwos.c config-win32ce.h	\
−185

File deleted.

+2 −2
Changes for src/Makefile.am: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#                            | (__| |_| |  _ <| |___
#                             \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -88,7 +88,7 @@ CLEANFILES = tool_hugehelp.c
# embedded text.
NROFF=env LC_ALL=C @NROFF@ @MANOPT@ # figured out by the configure script

EXTRA_DIST = mkhelp.pl makefile.dj Makefile.b32		\
EXTRA_DIST = mkhelp.pl makefile.dj                      		\
 Makefile.m32 macos/curl.mcp.xml.sit.hqx macos/MACINSTALL.TXT		\
 macos/src/curl_GUSIConfig.cpp macos/src/macos_main.cpp makefile.amiga	\
 curl.rc Makefile.netware Makefile.inc Makefile.Watcom CMakeLists.txt
Loading