Lines Matching refs:cmd
43 echo-cmd = $(if $($(quiet)cmd_$(1)),\
47 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
49 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file
53 make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1)))))
61 # Copy dependency data into .cmd file
64 dep-cmd = $(if $(wildcard $(fixdep)), \
65 $(fixdep) $(depfile) $@ '$(make-cmd)' > $(dot-target).tmp; \
67 mv -f $(dot-target).tmp $(dot-target).cmd, \
68 printf '$(pound) cannot find fixdep (%s)\n' $(fixdep) > $(dot-target).cmd; \
69 printf '$(pound) using basic dep data\n\n' >> $(dot-target).cmd; \
70 cat $(depfile) >> $(dot-target).cmd; \
71 printf '\n%s\n' 'cmd_$@ := $(make-cmd)' >> $(dot-target).cmd)
76 # dependencies in the cmd file
79 $(echo-cmd) $(cmd_$(1)); \
80 $(dep-cmd))
86 $(echo-cmd) $(cmd_$(1)); \
87 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd)