build.info: Make it possible to use compiled programs as generators
authorRichard Levitte <levitte@openssl.org>
Thu, 25 Feb 2021 16:43:57 +0000 (17:43 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 3 Mar 2021 13:47:01 +0000 (14:47 +0100)
commit79f47ef507c945f4c73bcf8eb12f2caef19dc04e
tree3d9c60e10b4040c460ad3d161018dc7e08a1c467
parent3f399e3787788b1cc3832e254c53cda42873d847
build.info: Make it possible to use compiled programs as generators

Our goal is to be able to produce fipsmodule.cnf with the help of
'openssl fipsinstall', using the openssl program that we build.

This refactors the generatesrc code in all the build file templates to
replace $generator and $generator_incs with $gen0, $gen_args and $gen_incs,
which makes it easier and more consistent to manipulate different bits
of the generator command, and also keeps the variable names consistent
while not overly long.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14320)
Configurations/descrip.mms.tmpl
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl
Configure