Lines Matching refs:target
15 # Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
16 dot-target = $(dir $@).$(notdir $@)
21 depfile = $(subst $(comma),_,$(dot-target).d)
24 # filename of target with directory and extension stripped
60 trap "rm -f $(dot-target).tmp" EXIT; \
61 { $(filechk_$(1)); } > $(dot-target).tmp; \
62 if [ ! -r $@ ] || ! cmp -s $@ $(dot-target).tmp; then \
64 mv -f $(dot-target).tmp $@; \
190 # Delete the target on interruption
192 # GNU Make automatically deletes the target if it has already been changed by
200 # To address it, we clean the target in signal traps.
202 # Make deletes the target when it catches SIGHUP, SIGINT, SIGQUIT, SIGTERM.
216 # target, or command line has changed
239 # Find any prerequisites that is newer than target or that does not exist.
246 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd, @:)
253 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
262 # why - tell why a target got built
265 # (1) - due to target is PHONY
266 # (2) - due to target missing
270 # (6) - due to target not in $(targets)
272 # (2) No target, so we better build it
273 # (3) Prerequisite is newer than target
274 # (4) The command line stored in the file named dir/.target.cmd
277 # (5) No dir/.target.cmd file (used to store command line)
278 # (6) No dir/.target.cmd file and target not listed in $(targets)
282 $(if $(filter $@, $(PHONY)),- due to target is PHONY, \
294 - due to target missing \