Home | History | Annotate | Download | only in make

Lines Matching defs:targets

94  *	Parse_MainName	Populate the list of targets to create.
155 SP_MAIN, /* .MAIN and no user-specified targets to make */
204 * The target to be made if no targets are specified in the command line.
210 * During parsing, the targets from the left-hand side of the currently
214 * See unit-tests/deptgt.mk, keyword "parse.c:targets".
216 static GNodeList *targets;
220 * All shell commands for all targets, in no particular order and possibly
677 * Add the child to the parent's children, and for non-special targets, vice
690 * Special targets like .END do not need to be informed once the child
710 for (ln = targets->first; ln != NULL; ln = ln->next)
778 for (ln = targets->first; ln != NULL; ln = ln->next)
844 * Add the name to the .TARGETS variable as well, so the user can
847 Global_Append(".TARGETS", src);
895 * attribute (such as .SILENT) and if so, apply it to all targets. Otherwise
898 * Otherwise, make the source a child of the targets.
928 for (ln = targets->first; ln != NULL; ln = ln->next) {
981 * Handle special targets like .PATH, .DEFAULT, .BEGIN, .ORDER.
1003 * Allow targets from the command line to override the
1018 Lst_Append(targets, gn);
1031 Lst_Append(targets, gn);
1092 Parse_Error(PARSE_FATAL, "Mismatched special targets");
1119 Lst_Append(targets, gn);
1175 * These create nodes on which to hang commands, so targets
1179 /* Nothing special here -- targets may be empty. */
1183 "Special and mundane targets don't mix. "
1190 * In a dependency line like 'targets: sources' or 'targets! sources', parse
1191 * the operator ':', '::' or '!' from between the targets and the sources.
1472 if (!Arch_ParseArchive(&p, targets, SCOPE_CMDLINE)) {
1531 for (ln = targets->first; ln != NULL; ln = ln->next)
1559 * The targets take real sources, so we must beware of archive
1608 * From a dependency line like 'targets: sources', parse the sources.
1664 * Parse a dependency line consisting of targets, followed by a dependency
1668 * targets. Nodes are created as necessary.
1670 * The operator is applied to each node in the global 'targets' list,
1671 * which is where the nodes found for the targets are kept.
1673 * The sources are parsed in much the same way as the targets, except
1676 * nodes is then linked to each of the targets as one of its children.
1678 * Certain targets and sources such as .PHONY or .PRECIOUS are handled
1691 * of .PATH targets */
1693 ParseSpecial special; /* in special targets, the children are
1708 if (!Lst_IsEmpty(targets))
2717 if (targets == NULL)
2720 for (ln = targets->first; ln != NULL; ln = ln->next) {
2734 Lst_Free(targets);
2735 targets = NULL;
2753 if (targets == NULL) {
2763 for (ln = targets->first; ln != NULL; ln = ln->next) {
2915 if (targets != NULL)
2916 Lst_Free(targets);
2917 targets = Lst_New();
2967 assert(targets == NULL);
3009 assert(targets == NULL);
3037 Global_Append(".TARGETS", mainNode->name);