mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Make crypto/buildinf.h depend on configdata.pm rather than Makefile
Depending on Makefile meant that a new attempt to rebuild the Makefile with "new" dependency data was done all the time, uncontrolled. Better to depend on configdata.pm, which truly only changes with reconfiguration. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Laurie <ben@openssl.org>
This commit is contained in:
parent
0335851754
commit
011b967508
@ -11,12 +11,12 @@ EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
|
||||
DEPEND[cversion.o]=buildinf.h
|
||||
|
||||
BEGINRAW[descrip.mms]
|
||||
[.crypto]buildinf.h : descrip.mms
|
||||
[.crypto]buildinf.h : configdata.pm
|
||||
$(PERL) {- catfile(catdir($sourcedir, "[-]"), "util", "mkbuildinf.pl") -} "$(CC) $(CFLAGS)" "$(PLATFORM)" > [.crypto]buildinf.h
|
||||
ENDRAW[descrip.mms]
|
||||
|
||||
BEGINRAW[Makefile]
|
||||
crypto/buildinf.h : Makefile
|
||||
crypto/buildinf.h : configdata.pm
|
||||
$(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS_Q)" "$(PLATFORM)" > crypto/buildinf.h
|
||||
|
||||
##### APPLINK, UPLINK and CPUID assembler implementations
|
||||
|
Loading…
Reference in New Issue
Block a user