Home | History | Annotate | Download | only in make-3.81

Lines Matching refs:targets

93       while (rule->targets[ntargets] != 0)
301 for (i = 0; rule->targets[i] != 0; ++i)
303 for (j = 0; r->targets[j] != 0; ++j)
304 if (!streq (rule->targets[i], r->targets[j]))
306 if (r->targets[j] == 0)
307 /* All the targets matched. */
370 r->targets = (char **) xmalloc (2 * sizeof (char *));
374 r->targets[1] = 0;
381 r->targets[0] = savestring (p->target, r->lens[0]);
382 r->suffixes[0] = find_percent (r->targets[0]);
419 for (i = 0; rule->targets[i] != 0; ++i)
420 free (rule->targets[i]);
435 free ((char *) rule->targets);
442 the `struct file's for other suffix rules or plain targets given
464 /* Create a new pattern rule with the targets in the nil-terminated
465 array TARGETS. If TARGET_PERCENTS is not nil, it is an array of
466 pointers into the elements of TARGETS, where the `%'s are.
471 The storage for TARGETS and its elements is used and must not be freed
476 create_pattern_rule (char **targets, char **target_percents,
485 r->targets = targets;
490 for (i = 0; targets[i] != 0; ++i)
500 r->lens[i] = strlen (targets[i]);
501 r->suffixes[i] = (target_percents == 0 ? find_percent (targets[i])
528 for (i = 0; r->targets[i] != 0; ++i)
530 fputs (r->targets[i], stdout);
531 if (r->targets[i + 1] != 0)