openssl/Configurations/platform
Richard Levitte 2e535eb50a Configuration: rework how dependency making is handled
Previously, we had dependency making pretty much hard coded in the
build file templates, with a bit of an exception for Unix family
platforms, where we had different cases depending on what dependency
making program was found.

With the Embarcadero C++ builder, a separate scheme appeared, with a
different logic.

This change merges the two, and introduces two config target
attributes:

    makedepcmd          The program to use, where this is relevant.
                        This replaces the earlier configuration
                        attribute 'makedepprog'.
    makedep_scheme      This is a keyword that can be used by build
                        files templates to produce different sorts of
                        commands, but most importantly, to pass as
                        argument to util/add-depend.pl, which uses
                        this keyword as a "producer" for the
                        dependency lines.

If the config target doesn't define the 'makedep_scheme' attribute,
Configure tries to figure it out by looking for GCC compatible
compilers or for the 'makedepend' command.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/15006)
2021-04-28 21:35:26 +02:00
..
Windows Link with .def files 2021-04-19 11:05:55 +02:00
AIX.pm Configure: AIX needs a specific DSO extension function 2019-06-17 16:07:40 +02:00
BASE.pm Build files: Make it possible to source libraries into other libraries 2019-10-10 14:12:15 +02:00
Cygwin.pm
mingw.pm Configuration: rework how dependency making is handled 2021-04-28 21:35:26 +02:00
Unix.pm Configuration: rework how dependency making is handled 2021-04-28 21:35:26 +02:00
VMS.pm Build: change remaining $unified_info{install} checks to use attributes 2019-01-22 16:12:47 +01:00
Windows.pm Build: change remaining $unified_info{install} checks to use attributes 2019-01-22 16:12:47 +01:00