Lines Matching full:make
1 # $NetBSD: varname-dot-make-save_dollars.mk,v 1.7 2021/12/03 18:43:52 rillig Exp $
3 # Tests for the special .MAKE.SAVE_DOLLARS variable, which controls whether
11 # Initially, the variable .MAKE.SAVE_DOLLARS is undefined. At this point the
12 # behavior of the assignment operator ':=' depends. NetBSD's usr.bin/make
15 .if ${.MAKE.SAVE_DOLLARS:Uundefined} != "undefined"
23 .MAKE.SAVE_DOLLARS= yes
26 # condition; .MAKE.SAVE_DOLLARS only applies at the moment where the
35 .MAKE.SAVE_DOLLARS= no
42 .MAKE.SAVE_DOLLARS= yes
49 .MAKE.SAVE_DOLLARS= no
57 .MAKE.SAVE_DOLLARS= no
58 VAR:= $$$$-${.MAKE.SAVE_DOLLARS::=yes}-$$$$
65 # in the value of an expression, therefore .MAKE.SAVE_DOLLARS doesn't apply
67 .MAKE.SAVE_DOLLARS= no
68 VAR:= ${:U\$\$\$\$}-${.MAKE.SAVE_DOLLARS::=yes}-${:U\$\$\$\$}
73 # Undefining .MAKE.SAVE_DOLLARS does not have any effect, in particular it
75 .MAKE.SAVE_DOLLARS= no
76 .undef .MAKE.SAVE_DOLLARS
82 # Undefining .MAKE.SAVE_DOLLARS does not have any effect, in particular it
84 .MAKE.SAVE_DOLLARS= yes
85 .undef .MAKE.SAVE_DOLLARS
91 # The variable '.MAKE.SAVE_DOLLARS' not only affects literal '$$' on the
97 .MAKE.SAVE_DOLLARS= no
104 .MAKE.SAVE_DOLLARS= yes
112 # In the modifier ':@var@body@', .MAKE.SAVE_DOLLARS does not affect the body.
115 .MAKE.SAVE_DOLLARS= no
122 .MAKE.SAVE_DOLLARS= yes