Lines Matching +full:set +full:- +full:up

1 # $NetBSD: deptgt-posix.mk,v 1.4 2022/05/07 21:24:52 rillig Exp $
5 # As of 2022-04-18, when parsing the dependency line '.POSIX', the variable
7 # that, POSIX support is still incomplete, the exact set of supported features
8 # needs to be cross-checked with the POSIX specification.
11 # option '-r' was given. This means that an implementation of <posix.mk> must
15 # directory to prevent unit-tests/posix.mk from interfering with the posix.mk
24 TESTTMP= ${TMPDIR:U/tmp}/make.test.deptgt-posix
32 set-up-sysdir: .USEBEFORE
33 mkdir -p ${SYSDIR}
35 'CC=sys-cc' \
38 'CC=posix-cc'
40 check-is-posix: .USE
42 '.if $${CC} != "posix-cc"' \
50 check-not-posix: .USE
52 '.if $${CC} != "sys-cc"' \
60 check-not-seen-sys-mk: .USE
68 -m "${SYSDIR}" -f ${MAIN_MK:T})
69 rm -rf ${TESTTMP}
71 # If the main makefile has a '.for' loop as its first non-comment line, a
72 # strict reading of POSIX 2018 makes the makefile non-conforming.
73 all: after-for
74 after-for: .PHONY set-up-sysdir check-not-posix run
82 # If the main makefile has an '.if' conditional as its first non-comment line,
83 # a strict reading of POSIX 2018 makes the makefile non-conforming.
84 all: after-if
85 after-if: .PHONY set-up-sysdir check-not-posix run
95 all: in-included-file
96 in-included-file: .PHONY set-up-sysdir check-not-posix run
102 all: in-first-line
103 in-first-line: .PHONY set-up-sysdir check-is-posix run
109 # <number-sign> ('#') as the first character".
110 all: after-comment-lines
111 after-comment-lines: .PHONY set-up-sysdir check-is-posix run
117 # Running make with the option '-r' skips the builtin rules from <sys.mk>.
119 MAKEFLAGS.no-builtins= -r
120 all: no-builtins
121 no-builtins: .PHONY set-up-sysdir check-is-posix check-not-seen-sys-mk run