Lines Matching refs:cmd
41 echo-cmd = $(if $($(quiet)cmd_$(1)),\
45 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
47 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file
51 make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1)))))
59 # Copy dependency data into .cmd file
62 dep-cmd = $(if $(wildcard $(fixdep)), \
63 $(fixdep) $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp; \
65 mv -f $(dot-target).tmp $(dot-target).cmd, \
66 printf '$(pound) cannot find fixdep (%s)\n' $(fixdep) > $(dot-target).cmd; \
67 printf '$(pound) using basic dep data\n\n' >> $(dot-target).cmd; \
68 cat $(depfile) >> $(dot-target).cmd; \
69 printf '\n%s\n' 'cmd_$@ := $(make-cmd)' >> $(dot-target).cmd)
74 # dependencies in the cmd file
77 $(echo-cmd) $(cmd_$(1)); \
78 $(dep-cmd))
84 $(echo-cmd) $(cmd_$(1)); \
85 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)