Commit 011b9675 authored by Richard Levitte's avatar Richard Levitte
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
Reviewed-by: default avatarBen Laurie <ben@openssl.org>
parent 03358517
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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