Lines Matching refs:call
2 $description = "Test the call function.\n";
4 $details = "Try various uses of call and ensure they all give the correct
16 # A complex `map' function, using recursive `call'.
18 map = $(foreach a,$2,$(call $1,$a))
20 # Test using a builtin; this is silly as it's simpler to do without call
22 my-notdir = $(call notdir,$(1))
29 # Test recursive invocations of call with different arguments
32 two = $(call one,$(1),foo,$(2))
36 # Implement transitive closure using $(call ...)
42 $(call tclose,$(sort ${DEP_$(firstword $1)} $(call rest,$1))))
44 all: ; @echo '$(call reverse,bar,foo)'; \
45 echo '$(call map,origin,MAKE reverse map)'; \
46 echo '$(call my-notdir,a/b c/d e/f)'; \
47 echo '$(call my-foreach)'; \
48 echo '$(call my-foreach,a,,,)'; \
49 echo '$(call my-if,a,b,c)'; \
50 echo '$(call two,bar,baz)'; \
51 echo '$(call tclose,foo)'
58 # echo '$(call my-foreach,a,x y z,$(a)$(a))'; \
59 # echo '$(call my-if,,$(warning don't print this),ok)'
82 level1 = $(call all,$1,$2,$3,$4,$5)
83 level2 = $(call level1,$1,$2,$3)
84 level3 = $(call level2,$1,$2,$3,$4,$5)
87 @echo $(call all,1,2,3,4,5,6,7,8,9,10,11)
88 @echo $(call level1,1,2,3,4,5,6,7,8)
89 @echo $(call level2,1,2,3,4,5,6,7,8)
90 @echo $(call level3,1,2,3,4,5,6,7,8)