/src/usr.bin/make/unit-tests/ |
varmod-root.mk | 6 .if ${a/b/c:L:R} != "a/b/c" 10 .if ${def:L:R} != "def" 14 .if ${a.b.c:L:R} != "a.b" 18 .if ${a.b/c:L:R} != "a" 22 .if ${a:L:R} != "a" 26 .if ${a.a:L:R} != "a" 30 .if ${.gitignore:L:R} != "" 34 .if ${trailing/:L:R} != "trailing/"
|
cond-op-and.mk | 3 # Tests for the && operator in .if conditions. 5 .if 0 && 0 9 .if 1 && 0 13 .if 0 && 1 17 .if !(1 && 1) 24 .if 0 && ${UNDEF} 29 .if 1 || (${UNDEF} && ${UNDEF}) 33 # of the inner '&&' are only evaluated if necessary. 36 .if 0 || (${DEF} && ${UNDEF}) 38 .if 0 || (!${DEF} && ${UNDEF} [all...] |
cond-op-or.mk | 3 # Tests for the || operator in .if conditions. 5 .if 0 || 0 9 .if !(1 || 0) 13 .if !(0 || 1) 17 .if !(1 || 1) 24 .if 1 || ${UNDEF} 29 .if 0 && (!defined(UNDEF) || ${UNDEF}) 33 # of the inner '||' are only evaluated if necessary. 36 .if 1 && (!${DEF} || ${UNDEF}) 38 .if 1 && (${DEF} || ${UNDEF} [all...] |
directive-if-nested.mk | 1 # $NetBSD: directive-if-nested.mk,v 1.2 2025/01/03 05:00:37 rillig Exp $ 3 # Tests for deeply nested .if directives. By default, memory for 128 nested 4 # .if directives is pre-allocated, any deeper nesting is reallocated. 9 GEN= directive-if-nested.inc 14 @{ printf '.if %s\n' ${:U:range=1000}; \ 15 printf '.info deeply nested .if directives\n'; \
|
cond-func-make.mk | 3 # Tests for the make() function in .if conditions, which tests whether 7 .if !make(via-cmdline) 10 .if make(via-dot-makeflags) 16 .if !make(via-cmdline) 19 .if !make(via-dot-makeflags) 24 .if make([) 29 .if make(${UNDEF})
|
varmod-unique.mk | 6 .if ${1 2 1:L:u} != "1 2 1" 10 .if ${1 2 2 3:L:u} != "1 2 3" 14 .if ${:L:u} != "" 18 .if ${ :L:u} != "" 22 .if ${word:L:u} != "word" 26 .if ${ word :L:u} != "word" 30 .if ${1 1 1 1 1 1 1 1:L:u} != "1" 34 .if ${ 1 2 1 1 :L:u} != "1 2 1" 38 .if ${1 1 1 1 2:L:u} != "1 2" 42 .if ${1 2 2 2 2:L:u} != "1 2 [all...] |
directive-for-generating-endif.mk | 4 # directives to close nested .if directives. Depending on the exact 7 # If it were possible, the 3 .if directives would perfectly match the 10 # After the "included file" from the .for loop, the 3 .if directives 14 # included file, and in each included file the .if/.endif directives must be 17 .if 1 18 . if 2 19 . if 3 21 # expect+3: if-less endif 22 # expect+2: if-less endi [all...] |
cond-cmp-numeric-ne.mk | 3 # Tests for numeric comparisons with the != operator in .if conditions. 6 .if 1 != 1 11 .if 1 != 2 16 .if 2 != 1 22 .if 2e7 != 2000e4 26 .if 2000e4 != 2e7 32 .if 3.30000 != 3.3 36 .if 3.3 != 3.30000 44 .if 1.000000000000000001 != 1.000000000000000002
|
var-eval-short.mk | 4 # necessary computations. If the result of the expression is irrelevant, 6 # but if it is evaluated for simplicity of the code (such as ':ts'), it must 23 .if 0 && ${FAIL} 26 .if 0 && ${VAR::=${FAIL}} 31 .if 0 && ${${FAIL}:?then:else} 34 .if 0 && ${1:?${FAIL}:${FAIL}} 37 .if 0 && ${0:?${FAIL}:${FAIL}} 45 .if 0 && ${:Uword:@${FAIL}@expr@} 48 .if 0 && ${:Uword:@var@${FAIL}@} 54 .if 0 && ${:Uword:[${FAIL}] [all...] |
cond-token-number.mk | 3 # Tests for number tokens in .if conditions. 7 .if 0 16 .if -0 27 .if +0 38 .if !-1 49 .if !+1 57 .if ${:U+0} 63 .if !${:U+1} 68 .if 0x0 71 .if 0x [all...] |
varmod-to-title.mk | 8 .if ${:UUPPER:tt} != "Upper" 12 .if ${:Ulower:tt} != "Lower" 16 .if ${:UMixeD case.:tt} != "Mixed Case." 22 .if ${:Umultiple spaces:tt} != "Multiple Spaces" 26 # Note words only count if separated by spaces 27 .if ${:Uthis&that or os/2:tt} != "This&that Or Os/2"
|
cond-func-commands.mk | 3 # Tests for the commands() function in .if conditions. 9 .if commands(target) 16 .if commands(target) 24 .if commands(target) 32 .if !commands(target) 37 .if commands(${UNDEF})
|
cond-func-target.mk | 3 # Tests for the target() function in .if conditions. 8 .if target(target) 15 .if !target(target) 24 .if !target(target) 33 .if !target(target) 38 .if target(${UNDEF})
|
cond-cmp-numeric-ge.mk | 3 # Tests for numeric comparisons with the >= operator in .if conditions. 6 .if 1 >= 1 12 .if 1 >= 2 16 .if 2 >= 1 21 # If this comparison were character-based instead of numerical, the 23 .if 5 >= 14 27 .if 14 >= 5 33 .if 2e7 >= 1e8 37 .if 1e8 >= 2e7 44 .if 3.141 >= 111.22 [all...] |
cond-cmp-numeric-gt.mk | 3 # Tests for numeric comparisons with the > operator in .if conditions. 6 .if 1 > 1 11 .if 1 > 2 15 .if 2 > 1 20 # If this comparison were character-based instead of numerical, the 22 .if 5 > 14 26 .if 14 > 5 32 .if 2e7 > 1e8 36 .if 1e8 > 2e7 43 .if 3.141 > 111.22 [all...] |
cond-cmp-numeric-le.mk | 3 # Tests for numeric comparisons with the <= operator in .if conditions. 6 .if 1 <= 1 12 .if 1 <= 2 17 .if 2 <= 1 21 # If this comparison were character-based instead of numerical, the 23 .if 5 <= 14 28 .if 14 <= 5 33 .if 2e7 <= 1e8 38 .if 1e8 <= 2e7 44 .if 3.141 <= 111.22 [all...] |
cond-cmp-numeric-lt.mk | 3 # Tests for numeric comparisons with the < operator in .if conditions. 6 .if 1 < 1 11 .if 1 < 2 16 .if 2 < 1 20 # If this comparison were character-based instead of numerical, the 22 .if 5 < 14 27 .if 14 < 5 32 .if 2e7 < 1e8 37 .if 1e8 < 2e7 43 .if 3.141 < 111.22 [all...] |
/src/tools/gcc/ |
gcc-version.mk | 5 .if ${HAVE_GCC} == 12 8 .if ${HAVE_GCC} == 14
|
/src/sys/conf/ |
mdroot.mk | 3 .if defined(MEMORY_DISK_IMAGE)
|
newvers_stand.mk | 5 .if exists(${VERSIONFILE}) 7 .if !make(depend) 12 .if ${MKREPRO:Uno} == "yes" 13 . if ${MKREPRO_TIMESTAMP:U0} != 0
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/ |
rk3568-pinctrl.dtsi | 15 /omit-if-no-ref/ 36 /omit-if-no-ref/ 43 /omit-if-no-ref/ 50 /omit-if-no-ref/ 57 /omit-if-no-ref/ 64 /omit-if-no-ref/ 71 /omit-if-no-ref/ 80 /omit-if-no-ref/ 103 /omit-if-no-ref/ 128 /omit-if-no-ref [all...] |
rockchip-pinconf.dtsi | 7 /omit-if-no-ref/ 12 /omit-if-no-ref/ 17 /omit-if-no-ref/ 22 /omit-if-no-ref/ 28 /omit-if-no-ref/ 34 /omit-if-no-ref/ 40 /omit-if-no-ref/ 46 /omit-if-no-ref/ 52 /omit-if-no-ref/ 58 /omit-if-no-ref [all...] |
/src/share/mk/ |
bsd.obj.mk | 3 .if !defined(_BSD_OBJ_MK_) 10 .if ${MKOBJ} == "no" 13 .if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR) 14 .if defined(MAKEOBJDIRPREFIX) 21 # If that fails - we do a mkdir to get the appropriate error message 24 .if defined(MAKEOBJDIRPREFIX) 25 @if [ ! -d ${MAKEOBJDIRPREFIX} ]; then \ 30 .if ${.CURDIR} == ${.OBJDIR} 31 @if [ ! -d ${__objdir} ]; then \ 33 if [ ! -d ${__objdir} ]; then [all...] |
bsd.shlib.mk | 3 .if !defined(_BSD_SHLIB_MK_) 6 .if ${MKDYNAMICROOT} == "no" 12 .if ${MKDYNAMICROOT} == "no" || \ 20 .if ${USE_SHLIBDIR:Uno} != "no" 26 .if ${MKDYNAMICROOT} == "no" 32 .if ${MKDYNAMICROOT} == "no" || \
|
/src/compat/ |
compatsubdir.mk | 9 .if ${MKCOMPAT} != "no" 10 .if !make(includes) 16 .if defined(MAKEOBJDIRPREFIX) 23 .if defined(BOOTSTRAP_SUBDIRS) 28 .if ${MKCOMPATTESTS} != "no" 33 .if ${MKCOMPATX11} != no && ${MKX11} != no && make(obj)
|