Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand make vers.c depend on ${SOURCES} and rem...



details:   https://anonhg.NetBSD.org/src/rev/60300a391350
branches:  trunk
changeset: 535949:60300a391350
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 02 07:33:11 2002 +0000

description:
make vers.c depend on ${SOURCES} and remove .PHONY tag for it, so that it
would only be regenerated if any of the input files changed

diffstat:

 sys/arch/i386/stand/Makefile.booters |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 8329e5665143 -r 60300a391350 sys/arch/i386/stand/Makefile.booters
--- a/sys/arch/i386/stand/Makefile.booters      Mon Sep 02 05:27:39 2002 +0000
+++ b/sys/arch/i386/stand/Makefile.booters      Mon Sep 02 07:33:11 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.booters,v 1.35 2002/06/27 20:44:08 pooka Exp $
+#      $NetBSD: Makefile.booters,v 1.36 2002/09/02 07:33:11 jdolecek Exp $
 
 .include <bsd.own.mk>
 
@@ -82,8 +82,7 @@
 
 LIBLIST=${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBI386} ${LIBSA}
 
-.PHONY: vers.c
-vers.c: ${VERSIONFILE}
+vers.c: ${VERSIONFILE} ${SOURCES}
        sh ${S}conf/newvers_stand.sh ${.ALLSRC} 'i386' ${NEWVERSWHAT}
 
 CLEANFILES+= ${BASE}.sym



Home | Main Index | Thread Index | Old Index