aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/suff-transform-debug.mk
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2021-01-14 06:21:37 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2021-01-14 06:21:37 +0000
commit06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527 (patch)
tree92a02f1874a5dacc12b39edd184602d24888baad /contrib/bmake/unit-tests/suff-transform-debug.mk
parent0495ed398c4f64013bab2327eb13a303e1f90c13 (diff)
parent8e11a9b4250be3c3379c45fa820bff78d99d5946 (diff)
downloadsrc-06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527.tar.gz
src-06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527.zip
Merge bmake-20210110
Quite a lot of churn on style, but lots of good work refactoring complicated functions and lots more unit-tests. Thanks mostly to rillig at NetBSD Some interesting entries from ChangeLog o .MAKE.{UID,GID} represent uid and gid running make. o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o add more unit tests for META MODE Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
Diffstat (limited to 'contrib/bmake/unit-tests/suff-transform-debug.mk')
-rw-r--r--contrib/bmake/unit-tests/suff-transform-debug.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/suff-transform-debug.mk b/contrib/bmake/unit-tests/suff-transform-debug.mk
new file mode 100644
index 000000000000..d206a0f691a2
--- /dev/null
+++ b/contrib/bmake/unit-tests/suff-transform-debug.mk
@@ -0,0 +1,12 @@
+# $NetBSD: suff-transform-debug.mk,v 1.1 2020/11/22 23:45:20 rillig Exp $
+#
+# Test how the debug output of transformation rules looks.
+
+.MAKEFLAGS: -dg1
+
+.SUFFIXES: .a .c .cpp
+
+.c.cpp .cpp.a:
+ : Making ${.TARGET} from impsrc ${.IMPSRC} allsrc ${.ALLSRC}.
+
+all: