summaryrefslogtreecommitdiff
path: root/unit-tests/sysv.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/sysv.mk')
-rw-r--r--unit-tests/sysv.mk43
1 files changed, 0 insertions, 43 deletions
diff --git a/unit-tests/sysv.mk b/unit-tests/sysv.mk
deleted file mode 100644
index 5c87579cc11b..000000000000
--- a/unit-tests/sysv.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: sysv.mk,v 1.9 2020/08/23 16:08:32 sjg Exp $
-
-all: foo fun sam bla
-
-FOO ?=
-FOOBAR = ${FOO:=bar}
-
-_this := ${.PARSEDIR}/${.PARSEFILE}
-
-B = /b
-S = /
-FUN = ${B}${S}fun
-SUN = the Sun
-
-# we expect nothing when FOO is empty
-foo:
- @echo FOOBAR = ${FOOBAR}
-.if empty(FOO)
- @FOO="foo fu" ${.MAKE} -f ${_this} foo
-.endif
-
-fun:
- @echo ${FUN:T}
- @echo ${FUN:${B}${S}fun=fun}
- @echo ${FUN:${B}${S}%=%}
- @echo ${In:L:%=% ${SUN}}
-
-
-SAM=sam.c
-
-sam:
- @echo ${SAM:s%.c=acme}
- @echo ${SAM:s%.c=a%.d}
- @echo ${SAM:s.c=a%.d}
- @echo ${SAM:sam.c=a%.c}
- @echo ${SAM:%=a%.c}
- @echo ${SAM:%.c=a%.c}
- @echo ${SAM:sam%=a%.c}
-
-BLA=
-
-bla:
- @echo $(BLA:%=foo/%x)