Lines Matching defs:targets

94  *	Parse_MainName	Populate the list of targets to create.
171 SP_MAIN, /* .MAIN and no user-specified targets to make */
220 * The target to be made if no targets are specified in the command line.
226 * During parsing, the targets from the left-hand side of the currently
230 * See unit-tests/deptgt.mk, keyword "parse.c:targets".
232 static GNodeList *targets;
236 * All shell commands for all targets, in no particular order and possibly
635 * Add the child to the parent's children, and for non-special targets, vice
648 * Special targets like .END do not need to be informed once the child
668 for (ln = targets->first; ln != NULL; ln = ln->next)
736 for (ln = targets->first; ln != NULL; ln = ln->next)
853 * attribute (such as .SILENT) and if so, apply it to all targets. Otherwise
856 * Otherwise, make the source a child of the targets.
886 for (ln = targets->first; ln != NULL; ln = ln->next) {
940 * Handle special targets like .PATH, .DEFAULT, .BEGIN, .ORDER.
962 * Allow targets from the command line to override the
977 Lst_Append(targets, gn);
990 Lst_Append(targets, gn);
1051 Parse_Error(PARSE_FATAL, "Mismatched special targets");
1078 Lst_Append(targets, gn);
1134 * These create nodes on which to hang commands, so targets
1138 /* Nothing special here -- targets may be empty. */
1142 "Special and mundane targets don't mix. "
1149 * In a dependency line like 'targets: sources' or 'targets! sources', parse
1150 * the operator ':', '::' or '!' from between the targets and the sources.
1429 if (!Arch_ParseArchive(&p, targets, SCOPE_CMDLINE)) {
1488 for (ln = targets->first; ln != NULL; ln = ln->next)
1516 * The targets take real sources, so we must beware of archive
1565 * From a dependency line like 'targets: sources', parse the sources.
1621 * Parse a dependency line consisting of targets, followed by a dependency
1625 * targets. Nodes are created as necessary.
1627 * The operator is applied to each node in the global 'targets' list,
1628 * which is where the nodes found for the targets are kept.
1630 * The sources are parsed in much the same way as the targets, except
1633 * nodes is then linked to each of the targets as one of its children.
1635 * Certain targets and sources such as .PHONY or .PRECIOUS are handled
1648 * of .PATH targets */
1650 ParseSpecial special; /* in special targets, the children are
1665 if (!Lst_IsEmpty(targets))
2666 if (targets == NULL)
2669 for (ln = targets->first; ln != NULL; ln = ln->next) {
2683 Lst_Free(targets);
2684 targets = NULL;
2695 if (targets == NULL) {
2705 for (ln = targets->first; ln != NULL; ln = ln->next) {
2865 * Parsing the line first would also prevent that targets
2892 if (targets != NULL)
2893 Lst_Free(targets);
2894 targets = Lst_New();
2944 assert(targets == NULL);
2986 assert(targets == NULL);