1*2c3632d1SSimon J. Gerraty# $NetBSD: directive-undef.mk,v 1.3 2020/08/23 19:30:13 rillig Exp $ 2*2c3632d1SSimon J. Gerraty# 3*2c3632d1SSimon J. Gerraty# Tests for the .undef directive. 4*2c3632d1SSimon J. Gerraty 5*2c3632d1SSimon J. Gerraty# As of 2020-07-28, .undef only undefines the first variable. 6*2c3632d1SSimon J. Gerraty# All further variable names are silently ignored. 7*2c3632d1SSimon J. Gerraty# See parse.c, string literal "undef". 8*2c3632d1SSimon J. Gerraty1= 1 9*2c3632d1SSimon J. Gerraty2= 2 10*2c3632d1SSimon J. Gerraty3= 3 11*2c3632d1SSimon J. Gerraty.undef 1 2 3 12*2c3632d1SSimon J. Gerraty.if ${1:U_}${2:U_}${3:U_} != _23 13*2c3632d1SSimon J. Gerraty.warning $1$2$3 14*2c3632d1SSimon J. Gerraty.endif 15*2c3632d1SSimon J. Gerraty 16*2c3632d1SSimon J. Gerratyall: 17*2c3632d1SSimon J. Gerraty @:; 18