Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk bsd.dep.mk: move MKDEPINCLUDES to bsd.own.mk
details: https://anonhg.NetBSD.org/src/rev/2d63859396f5
branches: trunk
changeset: 376177:2d63859396f5
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 03 21:23:07 2023 +0000
description:
bsd.dep.mk: move MKDEPINCLUDES to bsd.own.mk
Add default for MKDEPINCLUDES=no to to bsd.own.mk _MKVARS.no.
Simplify bsd.dep.mk check.
diffstat:
share/mk/bsd.dep.mk | 6 ++++--
share/mk/bsd.own.mk | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 60ad0273a7aa -r 2d63859396f5 share/mk/bsd.dep.mk
--- a/share/mk/bsd.dep.mk Sat Jun 03 21:21:32 2023 +0000
+++ b/share/mk/bsd.dep.mk Sat Jun 03 21:23:07 2023 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: bsd.dep.mk,v 1.88 2021/12/14 16:22:07 christos Exp $
+# $NetBSD: bsd.dep.mk,v 1.89 2023/06/03 21:23:07 lukem Exp $
+
+.include <bsd.init.mk>
##### Basic targets
realdepend: beforedepend .depend afterdepend
@@ -39,7 +41,7 @@ beforedepend: ${DPSRCS}
MKDEPSUFFLAGS=-s ${MKDEP_SUFFIXES:Q}
-.if defined(MKDEPINCLUDES) && ${MKDEPINCLUDES} != "no"
+.if ${MKDEPINCLUDES} != "no"
.STALE:
@echo Rebuilding dependency file: ${.ALLSRC}
@rm -f ${.ALLSRC}
diff -r 60ad0273a7aa -r 2d63859396f5 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sat Jun 03 21:21:32 2023 +0000
+++ b/share/mk/bsd.own.mk Sat Jun 03 21:23:07 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1338 2023/06/03 21:21:32 lukem Exp $
+# $NetBSD: bsd.own.mk,v 1.1339 2023/06/03 21:23:07 lukem Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1350,6 +1350,7 @@ MKDEBUGTOOLS?=${MKTOOLSDEBUG:Uno}
MKCTF \
MKDEBUG \
MKDEBUGLIB \
+ MKDEPINCLUDES \
MKDTB \
MKDTRACE \
MKFIRMWARE \
Home |
Main Index |
Thread Index |
Old Index