Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ktruss Put back the dependency of dump.c agaist misc...
details: https://anonhg.NetBSD.org/src/rev/39077fcfd0e7
branches: trunk
changeset: 749779:39077fcfd0e7
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Dec 08 02:56:37 2009 +0000
description:
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!
diffstat:
usr.bin/ktruss/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 75b9c214cab7 -r 39077fcfd0e7 usr.bin/ktruss/Makefile
--- a/usr.bin/ktruss/Makefile Tue Dec 08 02:40:04 2009 +0000
+++ b/usr.bin/ktruss/Makefile Tue Dec 08 02:56:37 2009 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index