• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/bmake/

Lines Matching refs:targ

535 			Suffix *targ = FindSuffixByName(str + src->nameLen);
536 if (targ != NULL) {
538 *out_targ = targ;
570 Suffix *src, *targ;
572 return ParseTransform(str, &src, &targ);
1018 CandidateList_Add(CandidateList *list, char *srcName, Candidate *targ,
1021 Candidate *cand = Candidate_New(srcName, targ->prefix, suff, targ,
1023 targ->numChildren++;
1027 Lst_Append(&targ->childrenList, cand);
1029 debug_tag, targ, targ->file, cand, cand->file, list);
1173 FindCmds(Candidate *targ, CandidateSearcher *cs)
1182 tgn = targ->node;
1183 prefLen = strlen(targ->prefix);
1202 if (strncmp(base, targ->prefix, prefLen) != 0)
1216 if (Lst_FindDatum(&suff->parents, targ->suff) != NULL)
1223 ret = Candidate_New(bmake_strdup(sgn->name), targ->prefix, suff, targ,
1225 targ->numChildren++;
1227 debug_printf("3 add targ %p:%s ret %p:%s\n",
1228 targ, targ->file, ret, ret->file);
1229 Lst_Append(&targ->childrenList, ret);
1710 Candidate *targ;
1719 targ = Candidate_New(bmake_strdup(gn->name), pref, suff, NULL,
1722 CandidateList_AddCandidatesFor(srcs, targ);
1725 Lst_Append(targs, targ);
1733 Candidate *targ;
1740 targ = Candidate_New(bmake_strdup(gn->name), bmake_strdup(sopref),
1750 CandidateList_AddCandidatesFor(srcs, targ);
1757 Lst_Append(targs, targ);
1767 FindDepsRegularPath(GNode *gn, Candidate *targ)
1774 (targ == NULL ? &dirSearchPath :
1775 targ->suff->searchPath));
1781 if (targ != NULL) {
1786 size_t savep = strlen(gn->path) - targ->suff->nameLen;
1789 Suffix_Reassign(&gn->suffix, targ->suff);
1828 Candidate *targ;
1857 targ = NULL;
1879 targ = targs.first->datum;
1881 targ = NULL;
1887 for (targ = bottom;
1888 targ->parent != NULL; targ = targ->parent)
1894 Var_Set(gn, PREFIX, targ != NULL ? targ->prefix : gn->name);
1908 if (targ == NULL) {
1912 FindDepsRegularPath(gn, targ);
1920 if (targ->suff->flags & SUFF_LIBRARY)
1927 src = FindCmds(targ, cs);
1954 * transformation rule used to get from the src suffix to the targ
1963 targ = src->parent;
1967 if (targ->node == NULL)
1968 targ->node = Targ_GetNode(targ->file);
1970 ApplyTransform(targ->node, src->node,
1971 targ->suff, src->suff);
1973 if (targ->node != gn) {
1983 targ->node->type |= OP_DEPS_FOUND;
1984 Var_Set(targ->node, PREFIX, targ->prefix);
1985 Var_Set(targ->node, TARGET, targ->node->name);