From: Richard Levitte Date: Fri, 19 Feb 2016 23:21:04 +0000 (+0100) Subject: Make crypto/buildinf.h depend on configdata.pm rather than Makefile X-Git-Tag: OpenSSL_1_1_0-pre4~579 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=011b967508342a5c940a0c75193f742c0b13bdc4 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 Reviewed-by: Ben Laurie --- diff --git a/crypto/build.info b/crypto/build.info index b360ff876e..a3ea7f0e0d 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -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