1 # $Id: sysv.mk,v 1.5 2020/07/04 18:16:55 sjg Exp $
6 _this := ${.PARSEDIR}/${.PARSEFILE}
13 # we expect nothing when FOO is empty
14 all: foo fun sam bla words
17 @echo FOOBAR = ${FOOBAR}
19 @FOO="foo fu" ${.MAKE} -f ${_this} foo
24 @echo ${FUN:${B}${S}fun=fun}
25 @echo ${FUN:${B}${S}%=%}
26 @echo ${In:L:%=% ${SUN}}
32 @echo ${SAM:s%.c=acme}
33 @echo ${SAM:s%.c=a%.d}
35 @echo ${SAM:sam.c=a%.c}
38 @echo ${SAM:sam%=a%.c}
45 # The :Q looks like a modifier but isn't.
46 # It is part of the replacement string.
48 @echo a${a b c d e:L:%a=x:Q}b