1 # $NetBSD: directive-include.mk,v 1.3 2020/10/31 23:01:23 rillig Exp $
3 # Tests for the .include directive, which includes another file.
9 # All included files are recorded in the variable .MAKE.MAKEFILES.
10 # In this test, only the basenames of the files are compared since
11 # the directories can differ.
13 .if ${.MAKE.MAKEFILES:T} != "${.PARSEFILE} null"
17 # Each file is recorded only once in the variable .MAKE.MAKEFILES.
18 # Between 2015-11-26 and 2020-10-31, the very last file could be repeated,
19 # due to an off-by-one bug in ParseTrackInput.
21 .if ${.MAKE.MAKEFILES:T} != "${.PARSEFILE} null"