]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/varname-dot-includes.mk
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / varname-dot-includes.mk
1 # $NetBSD: varname-dot-includes.mk,v 1.2 2020/09/13 16:53:19 rillig Exp $
2 #
3 # Tests for the special .INCLUDES variable, which is not documented in the
4 # manual page.
5 #
6 # It is yet unclear in which situations this feature is useful.
7
8 .SUFFIXES: .h
9
10 .PATH.h: . ..
11
12 .INCLUDES: .h
13
14 # The .INCLUDES variable is not yet available.
15 .if defined(.INCLUDES)
16 .  error
17 .endif
18
19 all:
20         @echo .INCLUDES=${.INCLUDES:Q}