Lines Matching refs:MAKE
3 # Tests for the special .MAKE.LEVEL variable, which informs about the
11 @printf 'level 1: variable %s, env %s\n' ${.MAKE.LEVEL} "$$${.MAKE.LEVEL.ENV}"
12 @${MAKE} -f ${MAKEFILE} level_2
16 @printf 'level 2: variable %s, env %s\n' ${.MAKE.LEVEL} "$$${.MAKE.LEVEL.ENV}"
17 @${MAKE} -f ${MAKEFILE} level_3
20 # .MAKE.LEVEL.ENV make variable, which by default refers to the MAKELEVEL
28 @printf 'level 3: variable %s, env %s\n' ${.MAKE.LEVEL} "$$${.MAKE.LEVEL.ENV}"
37 # .MAKE.LEVEL.ENV variable in the scope for command line variables, and these
40 # internal .MAKE.LEVEL.ENV variable in the global scope but make it read-only
46 @${MAKE} -f ${MAKEFILE} ok .MAKE.LEVEL.ENV=${.MAKE.LEVEL.ENV} || echo "${.TARGET}: exit $$?"
49 # expect: make: Cannot override read-only global variable ".MAKE.LEVEL.ENV" with a command line variable
52 @${MAKE} -f ${MAKEFILE} ok .MAKE.LEVEL.ENV=CUSTOM || echo "${.TARGET}: exit $$?"