Remove the source directory .num targets
authorRichard Levitte <levitte@openssl.org>
Thu, 30 Nov 2023 15:38:43 +0000 (16:38 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 2 Dec 2023 10:45:10 +0000 (11:45 +0100)
commitc08b21a2c95c2925e9c7ab11eb667d95e7b1fe3a
treea8efd8575bd247246abdb936611b882822f207bc
parentc8ca810da9c47d8cb6988fd14e1cb4e20b0877e8
Remove the source directory .num targets

$(SRCDIR)/util/libcrypto.num and $(SRCDIR)/util/libssl.num were made their
own targets to have 'make ordinals' reproduce them (run mknum.pl) only if
needed.

Unfortunately, because the shared library linker scripts depend on these
.num files, we suddenly have mknum.pl run at random times when building.
Furthermore, this created a diamond dependency, which disturbs parallell
building because multiple mknum.pl on the same file could run at the same
time.

This reverts commit 0e55c3ab8d702ffc897c9beb51d19b14b7896182.

Fixes #21999
Partially fixes #22841

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22890)
Configurations/unix-Makefile.tmpl