summaryrefslogtreecommitdiff
path: root/regress/usr.bin/make/mk10
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-12-31 16:44:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-12-31 16:44:15 +0000
commitca67588a43c5cc1c61b72e354ad3a66e49d18fbf (patch)
treec476e75214b64e030ecc406e2736323a55e66532 /regress/usr.bin/make/mk10
parentf127635efb3fe0a2fe09b5bae33373c792cd1bfa (diff)
Some tests for SysV extended local variables ${@D} and the likes.
Diffstat (limited to 'regress/usr.bin/make/mk10')
-rw-r--r--regress/usr.bin/make/mk1020
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/usr.bin/make/mk10 b/regress/usr.bin/make/mk10
new file mode 100644
index 00000000000..a6078ed65ad
--- /dev/null
+++ b/regress/usr.bin/make/mk10
@@ -0,0 +1,20 @@
+# $OpenBSD: mk10,v 1.1 2000/12/31 16:44:14 espie Exp $
+
+all: a b/o/d.e z.b
+
+a:
+# Regression test: this will parse as a recursive variable which
+# does not exist, but should not be interpreted as a dynamic variable
+ # ${@D) abcd ${@F}
+# And this is the real one
+ # ${@D} ${@F}
+
+b/o/d.e:
+ # ${@D} ${@F}
+
+.SUFFIXES: .a .b
+
+.a.b:
+ # ${*D} ${*F}
+
+.PHONY: a b/o/d.e