1 # $NetBSD: varmod-to-upper.mk,v 1.5 2020/10/24 08:46:08 rillig Exp $
3 # Tests for the :tu variable modifier, which returns the words in the
4 # variable value, converted to uppercase.
6 .if ${:UUPPER:tu} != "UPPER"
10 .if ${:Ulower:tu} != "LOWER"
14 .if ${:UMixeD case.:tu} != "MIXED CASE."
18 # The :tu and :tl modifiers operate on the variable value as a single string,
19 # not as a list of words. Therefore, the adjacent spaces are preserved.
21 @echo $@: ${a b:L:tu:Q}