Lines Matching defs:if

11 #	.if !defined(GUARD_VARIABLE)
14 # .if !target(guard-target)
85 CASES+= variable-if
86 LINES.variable-if= \
87 '.if !defined(VARIABLE_IF)' \
90 # expect: Parse_PushInput: variable-if.tmp:1
91 # expect: Skipping 'variable-if.tmp' because 'VARIABLE_IF' is defined
96 CASES+= variable-if-reuse
97 LINES.variable-if-reuse= \
98 '.if !defined(VARIABLE_IF)' \
101 # expect: Parse_PushInput: variable-if-reuse.tmp:1
102 # expect: Skipping 'variable-if-reuse.tmp' because 'VARIABLE_IF' is defined
106 CASES+= variable-if-triple-negation
107 LINES.variable-if-triple-negation= \
108 '.if !!!defined(VARIABLE_IF_TRIPLE_NEGATION)' \
111 # expect: Parse_PushInput: variable-if-triple-negation.tmp:1
112 # expect: Parse_PushInput: variable-if-triple-negation.tmp:1
116 CASES+= variable-if-spaced
117 LINES.variable-if-spaced= \
118 '.if !defined( VARIABLE_IF_SPACED )' \
121 # expect: Parse_PushInput: variable-if-spaced.tmp:1
122 # expect: Parse_PushInput: variable-if-spaced.tmp:1
126 CASES+= variable-if-parenthesized
127 LINES.variable-if-parenthesized= \
128 '.if (!defined(VARIABLE_IF_PARENTHESIZED))' \
131 # expect: Parse_PushInput: variable-if-parenthesized.tmp:1
132 # expect: Parse_PushInput: variable-if-parenthesized.tmp:1
134 # A conditional other than '.if' or '.ifndef' does not guard the file, even if
144 # The variable names in the '.if' and the assignment must be the same.
164 # the '!' would be a negation. It is syntactically valid in a '.if !defined'
171 '.if !defined(!VARIABLE_NAME_EXCLAMATION)' \
213 CASES+= variable-if-plus
214 LINES.variable-if-plus= \
215 '.if !defined(VARIABLE_IF_PLUS) && !defined(VARIABLE_IF_SECOND)' \
219 # expect: Parse_PushInput: variable-if-plus.tmp:1
220 # expect: Parse_PushInput: variable-if-plus.tmp:1
232 # The variable name in an '.if' guard must be given directly, it must not
234 CASES+= variable-if-indirect
235 LINES.variable-if-indirect= \
236 '.if !defined($${VARIABLE_IF_INDIRECT:L})' \
239 # expect: Parse_PushInput: variable-if-indirect.tmp:1
240 # expect: Parse_PushInput: variable-if-indirect.tmp:1
270 '. if 1' \
282 # top-level '.if/.endif' conditional can be determined reliably enough to
307 # The whole file content must be guarded by a single '.if' conditional, not by
330 ${LINES.variable-if}
377 # The outermost '.if' must not have an '.elif' branch.
387 # When a file with an '.if/.elif/.endif' conditional at the top level is
398 # The outermost '.if' must not have an '.else' branch.
408 # When a file with an '.if/.else/.endif' conditional at the top level is
419 # The inner '.if' directives may have an '.elif' or '.else', and it doesn't
421 CASES+= inner-if-elif-else
422 LINES.inner-if-elif-else= \
425 '. if 0' \
429 '. if 0' \
433 '. if 1' \
438 # expect: Parse_PushInput: inner-if-elif-else.tmp:1
439 # expect: Skipping 'inner-if-elif-else.tmp' because 'INNER_IF_ELIF_ELSE' is defined
449 '.if !target(__target.tmp__)' \
460 '.if !target(__<target-sys.tmp>__)' \
474 '.if !target($${target-indirect.tmp:L})' \
481 # used if all files using this form have unique basenames. To get a robust
487 '.if !target(__$${.PARSEFILE}__)' \
497 '.if !target(__$${.PARSEFILE}__)' \
509 '.if !target(__$${.PARSEFILE}__)' \
518 '.if !target(__$${.PARSEDIR}/$${.PARSEFILE}__)' \
530 '.if !target(__$${.PARSEDIR}/$${.PARSEFILE}__)' \
542 '.if !target(target-unguarded)' \
550 '.if !target(target-plus) && 1' \
560 '.if !target(target-already-defined)' \
578 '.if !target(!target-name-exclamation)' \
588 '.if !target( target-name-leading-space)' \
598 '.if !target(target-name-trailing-space )' \
608 '.if (!target(target-call-parenthesized))' \
614 # If the '.if' or '.ifndef' directive spans more than a single line, it is