Lines Matching defs:mk
1 # $NetBSD: deptgt-posix.mk,v 1.4 2022/05/07 21:24:52 rillig Exp $
6 # '%POSIX' is defined and <posix.mk> is included, if it exists. Other than
10 # At the point of '.POSIX:', <sys.mk> has been loaded already, unless the
11 # option '-r' was given. This means that an implementation of <posix.mk> must
12 # work both with and without the system rules from <sys.mk> being in effect.
15 # directory to prevent unit-tests/posix.mk from interfering with the posix.mk
26 MAIN_MK= ${TESTTMP}/main.mk
27 INCLUDED_MK= ${TESTTMP}/included.mk
34 printf '%s\n' > ${SYSDIR}/sys.mk \
37 printf '%s\n' > ${SYSDIR}/posix.mk \
60 check-not-seen-sys-mk: .USE
97 printf 'include included.mk\n' > ${MAIN_MK}
117 # Running make with the option '-r' skips the builtin rules from <sys.mk>.
118 # In that mode, '.POSIX:' just loads <posix.mk>, which works as well.
121 no-builtins: .PHONY set-up-sysdir check-is-posix check-not-seen-sys-mk run