mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Makefile: Call mknum.pl on 'make ordinals' only if needed
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/15224)
This commit is contained in:
parent
08ae9fa627
commit
0e55c3ab8d
@ -1320,15 +1320,18 @@ renumber: build_generated
|
||||
--renumber \
|
||||
$(SSLHEADERS)
|
||||
|
||||
ordinals: build_generated
|
||||
$(SRCDIR)/util/libcrypto.num: $(CRYPTOHEADERS) $(SRCDIR)/include/openssl/symhacks.h
|
||||
$(PERL) $(SRCDIR)/util/mknum.pl --version $(VERSION_NUMBER) --no-warnings \
|
||||
--ordinals $(SRCDIR)/util/libcrypto.num \
|
||||
--symhacks $(SRCDIR)/include/openssl/symhacks.h \
|
||||
$(CRYPTOHEADERS)
|
||||
$(SRCDIR)/util/libssl.num: $(SSLHEADERS) $(SRCDIR)/include/openssl/symhacks.h
|
||||
$(PERL) $(SRCDIR)/util/mknum.pl --version $(VERSION_NUMBER) --no-warnings \
|
||||
--ordinals $(SRCDIR)/util/libssl.num \
|
||||
--symhacks $(SRCDIR)/include/openssl/symhacks.h \
|
||||
$(SSLHEADERS)
|
||||
.PHONY: ordinals
|
||||
ordinals: build_generated $(SRCDIR)/util/libcrypto.num $(SRCDIR)/util/libssl.num
|
||||
|
||||
test_ordinals:
|
||||
$(MAKE) run_tests TESTS=test_ordinals
|
||||
|
Loading…
Reference in New Issue
Block a user