etc/protocols - sync with NetBSD-8
[minix.git] / usr.bin / make / unit-tests / sysv.mk
blob3651eda6e004b9f87ebc48e521190635f6236aa6
1 # $Id: sysv.mk,v 1.2 2014/08/30 22:21:08 sjg Exp $
3 FOO ?=
4 FOOBAR = ${FOO:=bar}
6 _this := ${.PARSEDIR}/${.PARSEFILE}
8 B = /b
9 S = /
10 FUN = ${B}${S}fun
11 SUN = the Sun
13 # we expect nothing when FOO is empty
14 all: foo fun
16 foo:
17 @echo FOOBAR = ${FOOBAR}
18 .if empty(FOO)
19 @FOO="foo fu" ${.MAKE} -f ${_this} foo
20 .endif
22 fun:
23 @echo ${FUN:T}
24 @echo ${FUN:${B}${S}fun=fun}
25 @echo ${FUN:${B}${S}%=%}
26 @echo ${In:L:%=% ${SUN}}