Browse Source

[build] Add dependency of generated files upon Makefile

Ensure that any generated files (such as DER forms of X.509
certificates) are rebuilt if the Makefile changes.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 years ago
parent
commit
c27b3c7c33
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/Makefile.housekeeping

+ 5
- 5
src/Makefile.housekeeping View File

560
 $(shell $(ECHO) "$(EMBED)" > $(EMBEDDED_LIST))
560
 $(shell $(ECHO) "$(EMBED)" > $(EMBEDDED_LIST))
561
 endif
561
 endif
562
 
562
 
563
-$(EMBEDDED_LIST) :
563
+$(EMBEDDED_LIST) : $(MAKEDEPS)
564
 
564
 
565
 VERYCLEANUP	+= $(EMBEDDED_LIST)
565
 VERYCLEANUP	+= $(EMBEDDED_LIST)
566
 
566
 
585
 $(shell $(ECHO) "$(TRUST)" > $(TRUSTED_LIST))
585
 $(shell $(ECHO) "$(TRUST)" > $(TRUSTED_LIST))
586
 endif
586
 endif
587
 
587
 
588
-$(TRUSTED_LIST) :
588
+$(TRUSTED_LIST) : $(MAKEDEPS)
589
 
589
 
590
 VERYCLEANUP	+= $(TRUSTED_LIST)
590
 VERYCLEANUP	+= $(TRUSTED_LIST)
591
 
591
 
613
 $(shell $(ECHO) "$(CERT)" > $(CERT_LIST))
613
 $(shell $(ECHO) "$(CERT)" > $(CERT_LIST))
614
 endif
614
 endif
615
 
615
 
616
-$(CERT_LIST) :
616
+$(CERT_LIST) : $(MAKEDEPS)
617
 
617
 
618
 VERYCLEANUP += $(CERT_LIST)
618
 VERYCLEANUP += $(CERT_LIST)
619
 
619
 
649
 $(shell $(ECHO) "$(PRIVKEY)" > $(PRIVKEY_LIST))
649
 $(shell $(ECHO) "$(PRIVKEY)" > $(PRIVKEY_LIST))
650
 endif
650
 endif
651
 
651
 
652
-$(PRIVKEY_LIST) :
652
+$(PRIVKEY_LIST) : $(MAKEDEPS)
653
 
653
 
654
 VERYCLEANUP += $(PRIVKEY_LIST)
654
 VERYCLEANUP += $(PRIVKEY_LIST)
655
 
655
 
938
 $(shell $(ECHO) "$(BLIB_OBJS)" > $(BLIB_LIST))
938
 $(shell $(ECHO) "$(BLIB_OBJS)" > $(BLIB_LIST))
939
 endif
939
 endif
940
 
940
 
941
-$(BLIB_LIST) :
941
+$(BLIB_LIST) : $(MAKEDEPS)
942
 
942
 
943
 VERYCLEANUP	+= $(BLIB_LIST)
943
 VERYCLEANUP	+= $(BLIB_LIST)
944
 
944
 

Loading…
Cancel
Save