diff options
author | Richard Levitte <levitte@openssl.org> | 2021-04-26 09:17:05 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-04-28 21:35:26 +0200 |
commit | 2e535eb50aa9c6b73c796f668e1aef8bc17f14c4 (patch) | |
tree | 0142e28aa342ecc6cdb3fbdf01446544222f9609 /Configurations/descrip.mms.tmpl | |
parent | Windows bulding: Make dependency generation not quite as talkative (diff) | |
download | openssl-2e535eb50aa9c6b73c796f668e1aef8bc17f14c4.tar.xz openssl-2e535eb50aa9c6b73c796f668e1aef8bc17f14c4.zip |
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)
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index efc0224ecc..065854d2ea 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -523,7 +523,7 @@ distclean : clean depend : descrip.mms descrip.mms : FORCE @ ! {- output_off() if $disabled{makedepend}; "" -} - @ $(PERL) {- sourcefile("util", "add-depends.pl") -} "VMS C" + @ $(PERL) {- sourcefile("util", "add-depends.pl") -} "{- $config{makedep_scheme} -}" @ ! {- output_on() if $disabled{makedepend}; "" -} # Install helper targets ############################################# |