freebsd-dev/contrib/bmake/unit-tests/deptgt-phony.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
891 B
Makefile
Raw Normal View History

# $NetBSD: deptgt-phony.mk,v 1.3 2022/02/11 23:44:18 rillig Exp $
#
# Tests for the special target .PHONY in dependency declarations.
# TODO: Implementation
all:
# 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