]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/varname-dot-libs.mk
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / varname-dot-libs.mk
1 # $NetBSD: varname-dot-libs.mk,v 1.2 2020/09/13 16:53:19 rillig Exp $
2 #
3 # Tests for the special .LIBS 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: .a
9
10 .PATH.a: . ..
11
12 .LIBS: .a
13
14 # The .LIBS variable is not yet available.
15 .if defined(.LIBS)
16 .  error
17 .endif
18
19 all:
20         @echo .LIBS=${.LIBS:Q}