OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Variable
(Results
1 - 25
of
38
) sorted by relevancy
1
2
/src/usr.bin/make/unit-tests/
cond-undef-lint.exp
1
make: cond-undef-lint.mk:24:
Variable
"UNDEF" is undefined
2
make: cond-undef-lint.mk:35:
Variable
"VAR." is undefined
3
make: cond-undef-lint.mk:45:
Variable
"VAR.defined" is undefined
varparse-dynamic.exp
1
make: varparse-dynamic.mk:9:
Variable
".TARGEX" is undefined
2
make: varparse-dynamic.mk:12:
Variable
".TARGXX" is undefined
cond-op-and.exp
1
make: cond-op-and.mk:36:
Variable
"UNDEF" is undefined
2
make: cond-op-and.mk:41:
Variable
"UNDEF" is undefined
3
make: cond-op-and.mk:44:
Variable
"UNDEF" is undefined
cond-op-or.exp
1
make: cond-op-or.mk:36:
Variable
"UNDEF" is undefined
2
make: cond-op-or.mk:41:
Variable
"UNDEF" is undefined
3
make: cond-op-or.mk:44:
Variable
"UNDEF" is undefined
directive-include-fatal.exp
1
make: directive-include-fatal.mk:14:
Variable
"UNDEF" is undefined
cond-token-var.exp
2
make: cond-token-var.mk:30:
Variable
"UNDEF" is undefined
3
make: cond-token-var.mk:36:
Variable
"UNDEF" is undefined
4
make: cond-token-var.mk:46:
Variable
"UNDEF" is undefined
5
make: cond-token-var.mk:64:
Variable
"U" is undefined
6
make: cond-token-var.mk:69:
Variable
"U" is undefined
7
make: cond-token-var.mk:78:
Variable
"U" is undefined
19
make: cond-token-var.mk:133:
Variable
"UNDEF" is undefined
20
while evaluating
variable
"UNDEF" with value ""
21
make: cond-token-var.mk:142:
Variable
"UNDEF" is undefined
22
while evaluating
variable
"UNDEF" with value "
[
all
...]
opt-debug-lint.exp
1
make: opt-debug-lint.mk:20:
Variable
"X" is undefined
2
make: opt-debug-lint.mk:43:
Variable
"UNDEF" is undefined
4
while evaluating
variable
"value" with value "value"
6
while evaluating
variable
"value" with value "value"
8
while evaluating
variable
"value" with value ""
var-recursive.exp
1
make: var-recursive.mk:11:
Variable
DIRECT is recursive.
2
while evaluating
variable
"DIRECT" with value "${DIRECT}"
5
make: var-recursive.mk:19:
Variable
INDIRECT1 is recursive.
6
while evaluating
variable
"INDIRECT2" with value "${INDIRECT1}"
7
while evaluating
variable
"INDIRECT1" with value "${INDIRECT2}"
11
make: var-recursive.mk:34:
Variable
MODIFIERS is recursive.
12
while evaluating
variable
"MODIFIERS" with value "${MODIFIERS:Mpattern}"
15
make: var-recursive.mk:43:
Variable
V is recursive.
16
while evaluating
variable
"V" with value "$V"
23
make:
Variable
VAR is recursive
[
all
...]
opt-debug-var.exp
6
make: opt-debug-var.mk:34:
Variable
"U" is undefined
8
make: opt-debug-var.mk:40:
Variable
"<" is undefined
var-recursive.mk
8
DIRECT= ${DIRECT} # Defining a recursive
variable
is not an error.
9
# expect+2:
Variable
DIRECT is recursive.
11
. info <${DIRECT}> # But expanding such a
variable
is an error.
17
# expect+2:
Variable
INDIRECT1 is recursive.
22
# The
variable
refers to itself, but only in the branch of a condition that
32
# expect+2:
Variable
MODIFIERS is recursive.
37
# Short
variable
names can be expanded using the short-hand $V notation,
38
# which takes a different code path in Var_Parse for parsing the
variable
41
# expect+2:
Variable
V is recursive.
51
# expect: make:
Variable
VAR is recursive
[
all
...]
directive-export-gmake.exp
4
make: directive-export-gmake.mk:92:
Variable
/Value missing from "export"
varmod-range.exp
1
make: varmod-range.mk:43:
Variable
"" is undefined
8
while evaluating
variable
"a b c" with value "a b c"
10
while evaluating
variable
"a b c" with value "a b c"
12
while evaluating
variable
"a b c" with value "a b c"
cond-token-var.mk
5
# Note the fine distinction between a
variable
and an expression.
6
# A
variable
has a name and a value. To access the value, one writes an
9
#
variable
modifiers such as in ${VAR:Mpattern}.
11
# XXX: Strictly speaking,
variable
modifiers should be called expression
12
# modifiers instead since they only modify the expression, not the
variable
.
14
# of the
variable
.
20
# A defined
variable
may appear on either side of the comparison.
28
# A
variable
that appears on the left-hand side must be defined.
29
# expect+1:
Variable
"UNDEF" is undefined
34
# A
variable
that appears on the right-hand side must be defined
[
all
...]
opt-debug-var.mk
4
#
variable
assignment and evaluation.
31
# An expression for a
variable
with a single-character ordinary name.
33
# expect+1:
Variable
"U" is undefined
37
# An expression for a target-specific
variable
with a single-character name.
39
# expect+1:
Variable
"<" is undefined
varname.exp
19
make: varname.mk:98: warning: Invalid character " " in
variable
name "if ,yes,no"
20
make: varname.mk:113: warning: Invalid character " " in
variable
name "if ,yes,no"
21
make: varname.mk:120: warning: Invalid character " " in
variable
name "if ,,"
23
while evaluating
variable
"if ,answer" with value ""
24
while evaluating
variable
"GNU_MAKE_IF_MODIFIER" with value "$(if ${HAVE_STRLEN},answer:yes,answer:no)"
25
make: varname.mk:138: warning: Invalid character "\x09" in
variable
name "a b"
26
make: varname.mk:138:
Variable
"a b" is undefined
27
make: varname.mk:144:
Variable
"ÄÖÜ" is undefined
cond-op-and.mk
35
# expect+1:
Variable
"UNDEF" is undefined
40
# expect+1:
Variable
"UNDEF" is undefined
43
# expect+1:
Variable
"UNDEF" is undefined
cond-op-or.mk
35
# expect+1:
Variable
"UNDEF" is undefined
40
# expect+1:
Variable
"UNDEF" is undefined
43
# expect+1:
Variable
"UNDEF" is undefined
cond-undef-lint.mk
17
# An expression based on a defined
variable
is fine.
23
# expect+1:
Variable
"UNDEF" is undefined
30
# The
variable
name depends on the undefined
variable
, which is probably a
31
# mistake. The
variable
UNDEF, as used here, can be easily turned into
34
# expect+1:
Variable
"VAR." is undefined
41
# The inner
variable
DEF is defined, but the resulting name VAR.defined
42
# refers to an undefined
variable
, thus an error message.
44
# expect+1:
Variable
"VAR.defined" is undefined
58
# The crucial point is that at the point where the
variable
appears in th
[
all
...]
directive-include-fatal.mk
12
# Using an undefined
variable
in a condition generates a fatal error.
13
# expect+1:
Variable
"UNDEF" is undefined
17
# Including another file does not reset the global
variable
"fatals".
23
# in the global "makefiles"
variable
, but not immediately run through
recursive.mk
3
# In -dL mode, a
variable
may get expanded before it makes sense.
7
# The purpose of evaluating that
variable
early was just to detect
8
# whether there are unclosed variables. The
variable
value is therefore
21
# 2020-08-06, when make ran in -dL mode, it reported: "
Variable
am__v_lt_ is
30
# can be achieved by just parsing the
variable
and not evaluating it.
32
# When the
variable
is only parsed but not evaluated, bugs in nested
37
# expect+1: Unclosed
variable
"MISSING_PAREN"
39
# expect+1: Unclosed
variable
"MISSING_BRACE"
vardebug.mk
16
# The
variable
with the empty name cannot be set at all.
17
# expect: Global: ignoring ' = empty name' as the
variable
name '${:U}' expands to empty
19
# expect: Global: ignoring ' += empty name' as the
variable
name '${:U}' expands to empty
62
# expect+1:
Variable
"UNDEFINED" is undefined
opt-debug-lint.mk
19
# expect+1:
Variable
"X" is undefined
27
# will later be expanded correctly, when the
variable
is evaluated again in
30
# Even though the "@"
variable
is not defined at this point, this is not an
41
# conditional was well-formed and the only error was an undefined
variable
.
42
# expect+1:
Variable
"UNDEF" is undefined
53
# may assume that the
variable
is defined since they will only be evaluated
54
# if the
variable
is indeed defined. Otherwise they are only parsed, and
55
# for parsing it doesn't make a difference whether the
variable
is defined
61
# Since 2020-10-03, in lint mode the
variable
modifier must be separated
70
#
variable
modifier had to be separated by colons. This was wrong thoug
[
all
...]
var-op-append.mk
3
# Tests for the '+='
variable
assignment operator, which appends to a
4
#
variable
, creating it if necessary.
10
# The '+='
variable
assignment operator is planned to be added in
17
# The '+='
variable
assignment operator was added before 1993-03-21.
19
# Appending to an undefined
variable
is possible.
20
# The
variable
is created, and no extra space is added before the value.
26
# Appending to an existing
variable
adds a single space and the value.
38
#
Variable
names may contain '+', and this character is also part of the
48
# Before var.c 1.793 from 2021-02-03, the
variable
name of a newly created
49
#
variable
was expanded two times in a row, which was unexpected bu
[
all
...]
cmdline.mk
21
# The .OBJDIR can be set via the MAKEOBJDIR command line
variable
.
22
# It must be a command line
variable
; an environment
variable
would not work.
27
# The .OBJDIR can be set via the MAKEOBJDIR command line
variable
,
28
# and expressions based on that
variable
can contain the usual modifiers.
30
# the SUB2
variable
in the modifier is not defined yet and is therefore empty.
31
# The SUB1 in the resulting path comes from the environment
variable
TMPBASE,
41
#
Variable
assignments in the command line are handled differently from
42
#
variable
assignments in makefiles. In the command line, trailing whitespace
48
# Leading whitespace in the
variable
value is discarded though, which make
[
all
...]
vardebug.exp
8
Global: ignoring ' = empty name' as the
variable
name '${:U}' expands to empty
9
Global: ignoring ' += empty name' as the
variable
name '${:U}' expands to empty
10
Global: ignoring 'FROM_CMDLINE = overwritten' due to a command line
variable
of the same name
55
Result of ${:Uvariable} is "
variable
" (eval, defined)
56
Evaluating modifier ${:u...} on value "
variable
" (eval, defined)
58
while evaluating "${:Uvariable:unknown}" with value "
variable
"
60
make: vardebug.mk:63:
Variable
"UNDEFINED" is undefined
Completed in 21 milliseconds
1
2
Indexes created Mon Oct 13 16:09:52 GMT 2025