Lines Matching refs:MAKEFILE
1 # $NetBSD: varname-makefile.mk,v 1.3 2020/11/09 22:36:44 rillig Exp $
3 # Tests for the special MAKEFILE variable, which contains the current
4 # makefile from the -f command line option.
6 # When there are multiple -f options, the variable MAKEFILE is set
8 # Including a file via .include does not influence the MAKEFILE
11 .if ${MAKEFILE:T} != "varname-makefile.mk"
22 .undef MAKEFILE
23 .if ${MAKEFILE:T} != "varname-makefile.mk"
30 MAKEFILE= overwritten
31 .if ${MAKEFILE:T} != "overwritten"
38 .undef MAKEFILE
39 .if ${MAKEFILE:T} != "varname-makefile.mk"
44 # MAKEFILE is the file that appeared last in the command line.
45 : In the end, MAKEFILE is ${MAKEFILE}.
47 # Additional makefiles can be added while reading a makefile. They will be