File: include-sub.mk

package info (click to toggle)
bmake 20200710-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,292 kB
  • sloc: ansic: 18,989; sh: 1,028; python: 487; makefile: 356; perl: 100
file content (17 lines) | stat: -rw-r--r-- 354 bytes parent folder | download | duplicates (3)
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