1*e2eeea75SSimon J. Gerraty# $NetBSD: depsrc-optional.mk,v 1.5 2020/11/08 10:33:47 rillig Exp $ 22c3632d1SSimon J. Gerraty# 3956e45f6SSimon J. Gerraty# Tests for the special source .OPTIONAL in dependency declarations, 4956e45f6SSimon J. Gerraty# which ignores the target if make cannot find out how to create it. 5956e45f6SSimon J. Gerraty# 6956e45f6SSimon J. Gerraty# TODO: Describe practical use cases for this feature. 72c3632d1SSimon J. Gerraty 8956e45f6SSimon J. Gerratyall: important 9956e45f6SSimon J. Gerraty : ${.TARGET} is made. 10956e45f6SSimon J. Gerraty 11*e2eeea75SSimon J. Gerratyimportant: optional optional-cohort 12956e45f6SSimon J. Gerraty : ${.TARGET} is made. 13956e45f6SSimon J. Gerraty 14956e45f6SSimon J. Gerratyoptional: .OPTIONAL 15*e2eeea75SSimon J. Gerraty : An optional leaf node is not executed. 16*e2eeea75SSimon J. Gerraty 17*e2eeea75SSimon J. Gerraty# See IsOODateRegular. 18*e2eeea75SSimon J. Gerratyoptional-cohort:: .OPTIONAL 19*e2eeea75SSimon J. Gerraty : A leaf node using '::' is considered out-of-date. 20*e2eeea75SSimon J. Gerraty 21*e2eeea75SSimon J. Gerraty.MAKEFLAGS: -dm 22