2022-04-03 19:52:08 +00:00
|
|
|
# $NetBSD: deptgt-phony.mk,v 1.3 2022/02/11 23:44:18 rillig Exp $
|
2020-09-05 16:11:04 +00:00
|
|
|
#
|
|
|
|
# Tests for the special target .PHONY in dependency declarations.
|
|
|
|
|
|
|
|
# TODO: Implementation
|
|
|
|
|
|
|
|
all:
|
2022-04-03 19:52:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
# https://gnats.netbsd.org/15164 describes that .PHONY targets are still
|
|
|
|
# looked up in directories, even though .PHONY means that these targets do
|
|
|
|
# _not_ correspond to actual files.
|
|
|
|
#
|
|
|
|
# expect: Expanding "depsrc-phony-pr-15164-*-wildcard"...
|
|
|
|
# expect: Expanding "deptgt-phony-pr-15164-*-wildcard"...
|
|
|
|
.MAKEFLAGS: -dds
|
|
|
|
depsrc-phony-pr-15164: .PHONY
|
|
|
|
: Making ${.TARGET}
|
|
|
|
depsrc-phony-pr-15164-*-wildcard: .PHONY
|
|
|
|
: Making ${.TARGET}
|
|
|
|
|
|
|
|
.PHONY: deptgt-phony-pr-15164
|
|
|
|
deptgt-phony-pr-15164:
|
|
|
|
: Making ${.TARGET}
|
|
|
|
|
|
|
|
.PHONY: deptgt-phony-pr-15164-*-wildcard
|
|
|
|
deptgt-phony-pr-15164-*-wildcard:
|
|
|
|
: Making ${.TARGET}
|
|
|
|
|
|
|
|
all: depsrc-phony-pr-15164 depsrc-phony-pr-15164-*-wildcard
|
|
|
|
all: deptgt-phony-pr-15164 deptgt-phony-pr-15164-*-wildcard
|