aboutsummaryrefslogblamecommitdiff
path: root/contrib/bmake/unit-tests/include-sub.mk
blob: 28856fcc6e60db6c5c3006eedfcc0f5a65a360ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                
# $NetBSD: include-sub.mk,v 1.1 2020/05/17 12:36:26 rillig Exp $

.if ${.INCLUDEDFROMFILE} == "include-main.mk"
LOG+=		sub-before-ok
.else
LOG+=		sub-before-fail
.endif

.include "include-subsub.mk"

.if ${.INCLUDEDFROMFILE} == "include-main.mk"
LOG+=		sub-after-ok
.else
.  for f in ${.INCLUDEDFROMFILE}
LOG+=		sub-after-fail\(${f:Q}\)
.  endfor
.endif