Module Name:    src
Committed By:   uebayasi
Date:           Tue Dec  8 02:56:37 UTC 2009

Modified Files:
        src/usr.bin/ktruss: Makefile

Log Message:
Put back the dependency of dump.c agaist misc.h.  This is needed because
dump.c includes misc.h but misc.h is generated on-the-fly.

Note that dump.c is out of the makeerrnos.sh -> misc.[ch] generation rule
now.  This prevents ktruss from being unnecessarily rebuilt in rescue/.

Pointed out by enami@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/ktruss/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ktruss/Makefile
diff -u src/usr.bin/ktruss/Makefile:1.25 src/usr.bin/ktruss/Makefile:1.26
--- src/usr.bin/ktruss/Makefile:1.25	Sun Dec  6 14:37:36 2009
+++ src/usr.bin/ktruss/Makefile	Tue Dec  8 02:56:37 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2009/12/06 14:37:36 uebayasi Exp $
+#	$NetBSD: Makefile,v 1.26 2009/12/08 02:56:37 uebayasi Exp $
 
 NOMAN=		# defined
 
@@ -14,7 +14,13 @@
 LDSTATIC?=-static
 .endif
 
+# Hint for mkdep(1).
+dump.c: misc.h
+
+# Avoid race.
 misc.c: misc.h
+
+# Build-time generation.
 misc.c misc.h: ${DESTDIR}/usr/include/sys/errno.h makeerrnos.sh \
 	       ${DESTDIR}/usr/include/sys/signal.h
 	${_MKTARGET_CREATE}

Reply via email to