/ast/src/cmd/mam/ |
H A D | mamold.sh | 41 typeset -A prereqs implicit action 60 prereqs[$rule]="${prereqs[$rule]} $arg" 75 do [[ ! ${prereqs[$rule]} && ! ${action[$rule]} ]] && continue 77 closure ${prereqs[$rule]} && print && convert "$rule :$list"
|
H A D | mamnew.c | 72 #define A_listprereq (A_LAST<<5) /* prereqs listed */ 379 r->prereqs = 0; 399 for (p = r->prereqs; p; p = p->next) 418 for (p = r->prereqs; p; p = p->next) 452 if (r->action || r->prereqs) 460 for (p = r->prereqs; p; p = p->next) 469 for (p = r->prereqs; p; p = p->next) 630 for (p = state.atom.sources->prereqs; p; p = p->next) 631 if (p->rule->prereqs) 633 for (p = state.mam->main->root->prereqs; [all...] |
H A D | mamold.c | 64 #define A_listprereq (A_LAST<<1) /* prereqs listed */ 88 for (p = r->prereqs; p; p = p->next) 315 if (r->action || r->prereqs) 322 for (p = r->prereqs; p; p = p->next) 332 for (p = r->prereqs; p; p = p->next) 453 for (p = state.mam->main->root->prereqs; p; p = p->next)
|
H A D | mamtst.c | 49 for (p = pp->root->prereqs; p; p = p->next)
|
/ast/src/cmd/nmake/ |
H A D | metarule.c | 61 if (r->prereqs) 63 sfprintf(internal.met, "%s>%s", in, r->prereqs->rule->name); 272 for (q = internal.metarule->prereqs; q; q = q->next) 276 for (p = x->prereqs; p; p = p->next) 306 for (p = x->prereqs; p; p = p->next) 322 for (q = z->prereqs; q; q = q->next) 361 List_t* prereqs; local 370 prereqs = 0; 376 if (active->prereqs) 378 prereqs [all...] |
H A D | rule.c | 205 for (p = q->prereqs; p; p = p->next) 300 return r->prereqs->rule->prereqs; 318 if (p = r->prereqs) 330 r->prereqs = p->next; 348 p = r->prereqs; 357 r->prereqs = cons(x, r->prereqs); 365 r->prereqs = cons(x, r->prereqs); 513 getimmediate(register Rule_t* r, List_t** prereqs, char** action) argument 558 List_t* prereqs; local [all...] |
H A D | variable.c | 47 List_t* prereqs[4]; local 54 prereqs[i++] = x->prereqs; 59 if ((x = staterule(RULE, r, NiL, 0)) && x->prereqs != r->prereqs) 60 prereqs[i++] = x->prereqs; 61 prereqs[i++] = r->prereqs; 67 prereqs[ [all...] |
H A D | mam.c | 170 if ((r->property & (P_joint|P_target)) == (P_joint|P_target) && r->prereqs->rule->prereqs->rule == r && mampush(sp, r->prereqs->rule, flags|P_joint|P_virtual) && !(r->prereqs->rule->property & P_target)) 172 for (p = r->prereqs->rule->prereqs; p; p = p->next) 175 mampop(sp, r->prereqs->rule, flags|P_joint|P_virtual); 176 r->prereqs->rule->property |= P_target; 210 if ((r->property & (P_after|P_before)) || (r->property & P_dontcare) && !(state.mam.dontcare || r->prereqs || r->action && *r->action || (r0 = staterule(RULE, r, NiL, 0)) && (r0->dynamic & D_built) && r0->action && *r0->action || !(r->dynamic & D_global)))
|
H A D | make.c | 33 * make scan prereqs 64 * insert|append global g prereqs to r 78 if (p = x->prereqs) 93 r->prereqs = g == internal.insert_p ? append(q, r->prereqs) : append(r->prereqs, q); 96 remdup(r->prereqs); 290 if (a->prereqs) 291 freelist(a->prereqs); 292 a->prereqs [all...] |
H A D | command.c | 37 #define AFTER 0 /* done -- making after prereqs */ 38 #define BEFORE 001 /* done -- before after prereqs */ 39 #define BLOCKED 002 /* waiting for prereqs */ 81 List_t* prereqs; /* these must be done */ member in struct:Joblist_s 185 x->prereqs = &lhs_prereqs; 207 if (r->prereqs) 420 for (p = job->prereqs; p; p = p->next) 428 job->prereqs->next = 0; 429 freelist(job->prereqs); 531 for (p = job->prereqs; 1360 List_t* prereqs; local [all...] |
H A D | main.c | 602 if (p = internal.makefiles->prereqs) 604 p = internal.tmplist->prereqs = listcopy(p); 607 freelist(internal.tmplist->prereqs); 608 internal.tmplist->prereqs = 0; 771 internal.args->prereqs = p = 0; 781 internal.args->prereqs = p = q; 827 if (!internal.args->prereqs && internal.main->prereqs) 828 internal.args->prereqs = listcopy(internal.main->prereqs); [all...] |
H A D | parse.c | 2080 List_t* prereqs; local 2094 if (internal.assert_p->prereqs && (opr = associate(internal.assert_p, NiL, lhs, NiL)) && opr->prereqs && (opr = opr->prereqs->rule) && (opr->property & P_operator) && !opr->uname) 2405 prereqs = p; 2431 jointail = joint->prereqs = cons(r, NiL); 2476 for (p = prereqs, prereqs = q = 0; p; q = p, p = p->next) 2488 else if (!prereqs) 2489 prereqs [all...] |
H A D | scan.c | 1161 for (q = internal.scan->prereqs; q; q = q->next) 1242 * cons prereqs on p 1296 p = internal.implicit->prereqs; 1297 internal.implicit->prereqs = 0; 1787 s->prereqs = 0; 1793 for (p = internal.scan->prereqs; p; p = p->next) 1806 return s->prereqs; 1807 oprereqs = s->prereqs; 1822 s->prereqs = scanexec(fd, r, ss, ss->before ? scanmatch(NiL, ss->before, r, null, null, 0, 1) : (List_t*)0); 1835 if (alt->prereqs ! [all...] |
H A D | object.c | 86 * 1 # prereqs prereq list index 127 #define setoldrule(r,o) (r->status=OLDRULE,r->action=(char*)o,r->prereqs=(List_t*)oldrules,oldrules=r) 135 #define HEADER_PREREQS 1 /* prereqs optional header */ 228 OLD_list_t* prereqs; /* prerequisites */ member in struct:OLD_rule_s 348 for (p = r->prereqs; p; p = p->next) 369 for (p = r->prereqs; p; p = p->next) 428 * mark selected rules and immediate prereqs for compilation 454 * mark rules so that only state vars and immediate prereqs will be compiled 497 for (p = r->prereqs; p; p = p->next) 565 r->prereqs [all...] |
H A D | read.c | 67 if (p = internal.globalfiles->prereqs) 69 for (p = internal.tmplist->prereqs = listcopy(p); p; p = p->next) 71 freelist(internal.tmplist->prereqs); 72 internal.tmplist->prereqs = 0;
|
H A D | state.c | 216 s->prereqs = listcopy(v->prereqs); 218 for (p = s->prereqs; p; p = p->next) 971 * sync>0 syncs the state rule prereqs and action 1155 if (s->prereqs != r->prereqs) 1158 freelist(s->prereqs); 1159 s->prereqs = r->prereqs;
|
H A D | dump.c | 117 for (p = internal.attribute->prereqs; p; p = p->next) 121 for (p = internal.scan->prereqs; p; p = p->next) 402 if (p = r->prereqs)
|
H A D | expand.c | 394 * prereqs already marked with m are also marked with c 395 * if c!=0 then c marked prereqs listed in xp 396 * otherwise m marked prereqs listed in xp 415 for (p = r->prereqs; p; p = p->next) 430 for (p = r->prereqs; p; p = p->next) 642 * expand the rules in v that have any of the prereqs in w 666 for (p = r->prereqs; p; p = p->next) 1149 if (r->prereqs) 1153 for (p = r->prereqs; p; p = p->next) 1174 for (p = r->prereqs; [all...] |
H A D | bind.c | 1007 if ((p = x->prereqs) && (p->rule != internal.dot || (p = p->next))) 1017 if ((p = x->prereqs) && (p->rule != internal.dot || (p = p->next))) 1028 if ((p = z->prereqs) && (p->rule != internal.dot || (p = p->next))) 1039 if ((p = a->prereqs) && (p->rule != internal.dot || (p = p->next))) 1756 * fix up .SOURCE prereqs after user assertion 1771 freelist(r->prereqs); 1773 r->prereqs = listcopy(x->prereqs); 1825 for (p = r->prereqs; p; p = p->next) 1884 q = r->prereqs; [all...] |
H A D | make.h | 173 #define PREREQS 2 /* alternate prereqs in staterule() */ 194 #define A_nooptions (1<<7) /* assertion() no more option prereqs */ 198 #define A_scope (1<<11) /* assertion() metarule scope prereqs */ 334 #define D_hasafter (1<<9) /* rule has after prereqs */ 335 #define D_hasbefore (1<<10) /* rule has before prereqs */ 361 #define D_hasscope (1L<<26) /* has D_scope prereqs */ 364 #define D_hasmake (1L<<28) /* rule has .MAKE after prereqs */ 422 #define JOB_blocked 1 /* blocked jobs with prereqs */ 464 List_t* prereqs; /* original prereqs */ member in struct:Frame_s 500 List_t* prereqs; /* prerequisites */ member in struct:Rule_s [all...] |
H A D | option.c | 1398 freelist((*(Rule_t**)op->value)->prereqs); 1399 (*(Rule_t**)op->value)->prereqs = 0; 1537 p = (*(Rule_t**)op->value)->prereqs; 2039 if (!(p = internal.makefiles->prereqs))
|
/ast/src/cmd/std/ |
H A D | tsort.c | 54 struct List_s* prereqs; member in struct:Node_s 78 for (p = x->prereqs; p; p = p->next) 125 p->next = x->prereqs; 126 x->prereqs = p;
|
/ast/src/lib/libmam/ |
H A D | mam.h | 56 struct list* prereqs; /* explicit prerequisite list */ member in struct:rule
|
H A D | mam.c | 47 x = r->prereqs; 413 if (!p) p = &r->prereqs;
|
/ast/src/cmd/INIT/ |
H A D | mamake.c | 186 List_t* prereqs; /* prerequisites */ member in struct:Rule_s 616 * prepend p onto rule r prereqs 624 for (x = r->prereqs; x && x->rule != p; x = x->next); 630 x->next = r->prereqs; 631 r->prereqs = x; 1765 for (x = r->prereqs; x; x = x->next) 1778 * scan makefile prereqs 1963 * descend into op and its prereqs
|