Lines Matching defs:targets

96  *	targets currently being defined are kept in the 'targets' Lst.
241 /* targets we're working on */
242 static Lst targets;
245 /* command lines for targets */
294 * the 'op' field is the operator to apply to the list of targets if the
869 * Lst_ForEach call by ParseDoDependency once all targets have
950 * and apply it to the targets if it is. Else decide if there is
953 * source be a child of the targets in the list 'targets'
956 * tOp operator (if any) from special targets
963 * Operator bits may be added to the list of targets or to the source.
964 * The targets may have a new source added to their lists of children.
979 Lst_ForEach(targets, ParseDoOp, &op);
997 Lst_ForEach(targets, ParseLinkSrc, gn);
1055 * to all the targets.
1058 /* Find/create the 'src' node and attach to all targets */
1065 Lst_ForEach(targets, ParseLinkSrc, gn);
1155 * targets. Some nodes may be created.
1158 * finding nodes in the list of all targets with that name. This is done
1162 * The parsed operator is applied to each node in the 'targets' list,
1163 * which is where the nodes found for the targets are kept, by means of
1165 * The sources are read in much the same way as the targets were except
1167 * and all instances of the resulting words in the list of all targets
1169 * targets as one of its children.
1170 * Certain targets are handled specially. These are the ones detailed
1187 * a list of .PATH targets */
1192 * to the targets list */
1239 if (Arch_ParseArchive(&line, targets, VAR_CMD) != SUCCESS) {
1279 Parse_Error(PARSE_FATAL, "Mismatched special targets");
1287 * Certain special targets have special semantics:
1305 * .PHONY The list of targets
1338 (void)Lst_AtEnd(targets, gn);
1343 (void)Lst_AtEnd(targets, gn);
1384 * the end of the targets list
1418 (void)Lst_AtEnd(targets, gn);
1458 if (!Lst_IsEmpty(targets)) {
1461 Parse_Error(PARSE_WARNING, "Special and mundane targets don't mix. Mundane ones ignored");
1471 * targets shouldn't be empty...
1475 * Nothing special here -- targets can be empty if it wants.
1502 Lst_ForEach(targets, ParseDoOp, &op);
1513 * Several special targets take different actions if present with no
1516 * a .PRECIOUS line makes all targets precious
1517 * a .IGNORE line ignores errors for all targets
1518 * a .SILENT line creates silence when making all targets
1644 * The targets take real sources, so we must beware of archive
1696 Lst_ForEach(targets, ParseFindMain, NULL);
1966 * Lst_ForEach function to add a command line to all targets
1983 /* Add to last (ie current) cohort for :: targets */
2015 * targets on the last dependency line. Marks a target as already
2804 * inLine set FALSE. 'targets' list destroyed.
2812 Lst_ForEach(targets, Suff_EndTransform, NULL);
2813 Lst_Destroy(targets, ParseHasCommands);
2814 targets = NULL;
2836 * Loads. Nodes are added to the list of all targets, nodes and links
2924 * commands of all targets in the dependency spec
2926 if (targets) {
2928 Lst_ForEach(targets, ParseAddCmd, cp);
2974 * and add it to the current list of targets.
3039 if (targets)
3040 Lst_Destroy(targets, NULL);
3042 targets = Lst_Init(FALSE);
3098 if (targets)
3099 Lst_Destroy(targets, NULL);