Configurations/*.tmpl: overhaul assembler make rules.
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Nov 2022 14:24:52 +0000 (15:24 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 4 Nov 2022 09:08:53 +0000 (10:08 +0100)
commitb8d3cf0954737a9665e3b2bff25bc689a5114010
tree57ffc12b165c7c6d643d0981003963d530ba6f3b
parent4ff66347f0ab3c054c5622dd862f36c731c889ed
Configurations/*.tmpl: overhaul assembler make rules.

NOTE: Not Configurations/unix-Makefile.tmpl, as that was done 4 years
ago, in commit a23f03166e0ec49ac09b3671e7ab4ba4fa57d42a.

So far assembly modules were intended to be built as .pl->.S->.{asmext}
followed by .{asmext}->.o.  This posed a problem in build_all_generated
rule if it was executed on another computer, and also turned out to be
buggy, as .S was also translated to .{asmext} on Windows and VMS.
Both issues are fixed by changing the rule sequence to .pl->.S and then
.S->.s->.o, with the added benefit that the Windows and VMS build file
templates are more in sync with unix-Makefile.tmpl and slightly simpler.

Fixes #19594

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19598)
Configurations/descrip.mms.tmpl
Configurations/platform/BASE.pm
Configurations/unix-Makefile.tmpl
Configurations/windows-makefile.tmpl