xref: /freebsd/contrib/bmake/unit-tests/depsrc-silent.mk (revision 2c3632d14fe37fa35c262ee9fb66835be0a52621)
1*2c3632d1SSimon J. Gerraty# $NetBSD: depsrc-silent.mk,v 1.3 2020/08/29 17:34:21 rillig Exp $
2*2c3632d1SSimon J. Gerraty#
3*2c3632d1SSimon J. Gerraty# Tests for the special source .SILENT in dependency declarations,
4*2c3632d1SSimon J. Gerraty# which hides the commands, no matter whether they are prefixed with
5*2c3632d1SSimon J. Gerraty# '@' or not.
6*2c3632d1SSimon J. Gerraty
7*2c3632d1SSimon J. Gerraty# Without the .SILENT, the commands 'echo one' and 'echo two' would be
8*2c3632d1SSimon J. Gerraty# written to stdout.
9*2c3632d1SSimon J. Gerratyall: .SILENT
10*2c3632d1SSimon J. Gerraty	echo one
11*2c3632d1SSimon J. Gerraty	echo two
12*2c3632d1SSimon J. Gerraty	@echo three
13