Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk PR toolchain/9618: add ".d" to MKDEP_SUFFIXES so th...
details: https://anonhg.NetBSD.org/src/rev/67a07acae9fc
branches: trunk
changeset: 804816:67a07acae9fc
user: erh <erh%NetBSD.org@localhost>
date: Mon Dec 01 01:34:30 2014 +0000
description:
PR toolchain/9618: add ".d" to MKDEP_SUFFIXES so the depend files are rebuilt
if any of their dependencies (i.e. the files they refer to) are changed.
This allows changes to transitive included headers to be handled properly.
diffstat:
share/mk/bsd.dep.mk | 4 ++--
share/mk/bsd.hostlib.mk | 4 ++--
share/mk/bsd.hostprog.mk | 4 ++--
share/mk/bsd.lib.mk | 4 ++--
share/mk/bsd.prog.mk | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 443e539844fc -r 67a07acae9fc share/mk/bsd.dep.mk
--- a/share/mk/bsd.dep.mk Mon Dec 01 00:27:05 2014 +0000
+++ b/share/mk/bsd.dep.mk Mon Dec 01 01:34:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.dep.mk,v 1.81 2014/07/19 17:19:22 plunky Exp $
+# $NetBSD: bsd.dep.mk,v 1.82 2014/12/01 01:34:30 erh Exp $
##### Basic targets
realdepend: beforedepend .depend afterdepend
@@ -9,7 +9,7 @@
##### Default values
MKDEP?= mkdep
MKDEPCXX?= mkdep
-MKDEP_SUFFIXES?= .o
+MKDEP_SUFFIXES?= .o .d
##### Build rules
# some of the rules involve .h sources, so remove them from mkdep line
diff -r 443e539844fc -r 67a07acae9fc share/mk/bsd.hostlib.mk
--- a/share/mk/bsd.hostlib.mk Mon Dec 01 00:27:05 2014 +0000
+++ b/share/mk/bsd.hostlib.mk Mon Dec 01 01:34:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostlib.mk,v 1.18 2014/04/10 19:02:18 plunky Exp $
+# $NetBSD: bsd.hostlib.mk,v 1.19 2014/12/01 01:34:30 erh Exp $
.include <bsd.init.mk>
.include <bsd.sys.mk>
@@ -7,7 +7,7 @@
##### Default values
CFLAGS+= ${COPTS}
-MKDEP_SUFFIXES?= .o .lo
+MKDEP_SUFFIXES?= .o .lo .d
# Override these:
MKDEP:= ${HOST_MKDEP}
diff -r 443e539844fc -r 67a07acae9fc share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk Mon Dec 01 00:27:05 2014 +0000
+++ b/share/mk/bsd.hostprog.mk Mon Dec 01 01:34:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.hostprog.mk,v 1.73 2014/04/10 19:02:18 plunky Exp $
+# $NetBSD: bsd.hostprog.mk,v 1.74 2014/12/01 01:34:30 erh Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.include <bsd.init.mk>
@@ -81,7 +81,7 @@
LIBRUMPFS_UDF?= /usr/lib/librumpfs_udf.a
LIBRUMPFS_UFS?= /usr/lib/librumpfs_ufs.a
-MKDEP_SUFFIXES?= .lo .ln
+MKDEP_SUFFIXES?= .lo .ln .d
# Override these:
INSTALL:= ${INSTALL:NSTRIP=*}
diff -r 443e539844fc -r 67a07acae9fc share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Mon Dec 01 00:27:05 2014 +0000
+++ b/share/mk/bsd.lib.mk Mon Dec 01 01:34:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.355 2014/06/13 01:17:45 mrg Exp $
+# $NetBSD: bsd.lib.mk,v 1.356 2014/12/01 01:34:30 erh Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@@ -64,7 +64,7 @@
.endif # }
##### Build and install rules
-MKDEP_SUFFIXES?= .o .po .pico .go .ln
+MKDEP_SUFFIXES?= .o .po .pico .go .ln .d
.if !defined(SHLIB_MAJOR) && exists(${SHLIB_VERSION_FILE}) # {
SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major
diff -r 443e539844fc -r 67a07acae9fc share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Mon Dec 01 00:27:05 2014 +0000
+++ b/share/mk/bsd.prog.mk Mon Dec 01 01:34:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.290 2014/03/25 09:52:55 ozaki-r Exp $
+# $NetBSD: bsd.prog.mk,v 1.291 2014/12/01 01:34:30 erh Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -59,7 +59,7 @@
CFLAGS+= -g
.endif
OBJCFLAGS+= ${OBJCOPTS}
-MKDEP_SUFFIXES?= .o .ln
+MKDEP_SUFFIXES?= .o .ln .d
# CTF preserve debug symbols
.if (${MKCTF:Uno} != "no") && (${CFLAGS:M-g} != "")
Home |
Main Index |
Thread Index |
Old Index