Home | History | Annotate | Download | only in unit-tests

Lines Matching defs:PARSEFILE

1 # $NetBSD: varname-dot-parsefile.mk,v 1.7 2023/06/21 07:30:50 rillig Exp $
3 # Tests for the special .PARSEFILE variable, which contains the basename part
12 # .PARSEDIR and .PARSEFILE were added on 1999-08-09.
14 .if ${.PARSEFILE} != "varname-dot-parsefile.mk"
18 # During parsing, it is possible to undefine .PARSEFILE.
21 .if !defined(.PARSEFILE)
24 .undef .PARSEFILE
25 .if defined(.PARSEFILE)
29 # The variable .PARSEFILE is indirectly used by the .info directive,
31 # expect+1: At this point, .PARSEFILE is undefined.
32 .info At this point, .PARSEFILE is undefined.
37 .PARSEFILE= fake-parsefile
40 # After including another file, .PARSEFILE is reset.
46 @echo At run time, .PARSEFILE is ${.PARSEFILE:Uundefined}.