Lines Matching defs:action

42 #define RUNNING		005		/* job action sent to coshell	*/
83 char* action; /* unexpanded action */
164 * apply operator or action with attributes in r given lhs, rhs and job flags
165 * blocks until action is complete
193 x->action = act;
194 act = r->action;
197 x->action = r->action;
212 oaction = r->action;
213 r->action = null;
215 r->action = oaction;
233 * apply() returning (temporary) CO_DATAFILE pointer to stdout of action
463 if (job->action && !job->context)
498 * restore action by expanding into buf using original context
539 else if ((r->property & (P_make|P_local|P_use)) == (P_make|P_local) && r->action)
540 parse(NiL, r->action, r->name, opt);
570 if (job->action)
571 expand(buf, job->action);
761 error(3, "%s: cannot send action to coshell", job->target->name);
840 error(state.explain ? 0 : -1, "cancelling %s action", r->name);
1103 * clear job list on any unexpected action error
1149 error(state.explain ? 0 : -1, "cancelling %s action -- %s", job->target->name, job->status == INTERMEDIATE ? "intermediate not needed" : "missing intermediates accepted");
1306 x->action = s->action;
1349 * trigger action to build r
1350 * a contains the action attributes
1356 trigger(register Rule_t* r, Rule_t* a, char* action, Flags_t flags)
1383 if (action)
1385 message((-1, "triggering %s action%s%s", r->name, r == a ? null : " using ", r == a ? null : a->name));
1392 if (!*action)
1393 action = 0;
1395 if (state.coshell && (action && !(r->property & P_make) || (flags & CO_FOREGROUND)))
1426 if (action && cancel(r, prereqs))
1434 if (action)
1435 switch (parse(NiL, action, r->name, NiL))
1477 * only one repeat action at a time
1523 if (action)
1546 if (action || n != READY)
1584 job->action = action;