/ast/src/lib/libmam/ |
H A D | Makefile | 9 mam :LIBRARY: mam.h mam.c +ldll 11 $(INCLUDEDIR) :INSTALLPROTO: mam.h
|
H A D | mamlib.h | 47 #define _MAM_MAM_PRIVATE /* mam private */ \ 50 #include <mam.h>
|
H A D | mam.h | 101 struct proc /* mam process trace */ 122 struct mam /* mam state */ struct 138 extern struct mam* mamalloc(void); 139 extern void mamfree(struct mam*); 140 extern int mamscan(struct mam*, const char*);
|
H A D | mam.c | 30 static const char lib[] = "libmam:mam"; 62 getproc(struct mam* mp, long pid) 70 !(pp->rules = hashalloc(0, HASH_set, HASH_ALLOCATE, HASH_free, freerule, HASH_name, "mam-rules", 0)) || 71 !(pp->vars = hashalloc(0, HASH_set, HASH_ALLOCATE, HASH_free, free, HASH_name, "mam-variables", 0))) 84 * allocate a mam scope 87 struct mam* 90 register struct mam* mp; 92 if (!(mp = newof(0, struct mam, 1, 0))) return(0); 103 * free a mam scope 107 mamfree(register struct mam* m [all...] |
/ast/src/cmd/INIT/ |
H A D | mprobe.sh | 20 : mam probe script
|
H A D | package.mk | 250 package.mam = --never --force --mam=static --corrupt=accept --clobber --compare --link='lib*.a*' CC=$(CC.DIALECT:N=C++:?CC?cc?) package.license.class=$(license:Q) $(=) 'dontcare test' install test 673 info mam static 683 info mam static 709 $(MAKE) $(package.mam) $(export.$(style):Q) > $tmp/$m.mam 710 echo ";;;$tmp/$m.mam;$i/$j/Mamfile" 717 cat > $tmp/$m.mam <<'!' 718 info mam static 726 echo ";;;$tmp/$m.mam; [all...] |
H A D | mamprobe.sh | 44 \b$INSTALLROOT/lib/probe/C/mam/\b\ahash\a, where \ahash\a is a hash 192 *) tmp=/tmp/mam$$ 195 echo "probing C language processor $cc for mam information" >&2
|
/ast/src/cmd/nmake/ |
H A D | mam.c | 25 * mam support routines 31 * mam special pathcanon() 49 * output dynamic mam error message 59 if (state.mam.level > 0) 66 switch (state.mam.level) 80 sfprintf(state.mam.out, "%sinfo %s %-.*s", state.mam.label, t, n, s); 81 if (state.mam.regress) 88 * translate mam target name 100 if (state.mam [all...] |
H A D | main.c | 240 if ((state.mam.level = level) > 0 && !state.hold && (r = internal.error) && (r->property & (P_functional|P_target)) == (P_functional|P_target) && !state.compileonly && !state.interrupt && (m = stakptr(0)) && (n = staktell()) > 0) 551 * check for mam 554 if (state.mam.out) 556 if (!state.mam.statix || *state.mam.label) 558 if (state.mam.regress || state.regress) 560 sfprintf(state.mam.out, "%sinfo mam %s %05d\n", state.mam.label, state.mam [all...] |
H A D | read.c | 167 error(state.exec || state.mam.out ? -1 : 1, "%s: base rules changed to %s", sfstrbase(internal.tmp), sfstrbase(internal.wrk)); 196 error(state.exec || state.mam.out ? -1 : 1, "%s: recompiling", s); 446 if (state.mam.dynamic || state.mam.regress) 447 mampush(state.mam.out, r, P_force); 456 if (state.mam.dynamic || state.mam.regress) 457 mampop(state.mam.out, r, 0);
|
H A D | make.c | 129 if (r->view && a->active && !state.mam.statix) 188 if (u->active && !state.mam.statix) 200 if (u->active && !state.mam.statix) 230 if (u->active && !state.mam.statix) 336 Sfio_t* mam; local 475 if (mam = mamout(r)) 476 pop = mampush(mam, r, flags); 494 if (mam && pop) 496 if (state.mam.statix) 498 mampop(mam, [all...] |
H A D | command.c | 47 #define MAMNAME(r) ((state.mam.dynamic||(r)!=state.frame->target||((r)->property&P_after))?mamname(r):(char*)0) 312 if (state.mam.out) 317 dumpaction(state.mam.out, MAMNAME(job->target), sfstruse(tmp), NiL); 521 state.localview = state.mam.statix && !state.expandview && state.user && !(job->flags & CO_ALWAYS); 650 if ((state.mam.dynamic || state.mam.regress) && state.user && !(job->target->property & (P_after|P_before|P_dontcare|P_make|P_state|P_virtual))) 651 sfprintf(state.mam.out, "%sinit %s %s\n", state.mam.label, mamname(job->target), timefmt(NiL, CURTIME)); 671 else if (*t && (!state.silent || state.mam.regress)) 672 dumpaction(state.mam [all...] |
H A D | Makefile | 31 mam.c metarule.c misc.c object.c option.c parse.c read.c \ 55 Makeinstall.mk : $$(-mam:N=static*:??$$(-cctype|cctype:@P=P=C,pp)?)
|
H A D | object.c | 1028 if (state.mam.dynamic || state.mam.regress) 1030 mampush(state.mam.out, r, P_force); 1031 sfprintf(state.mam.out, "%sexec %s : compile into %s object\n", state.mam.label, state.mam.dynamic ? mamname(r) : null, error_info.id); 1032 mampop(state.mam.out, r, 0); 1306 error(state.exec || state.mam.out ? -1 : 1, "%s: %s not found", r->name, s); 1321 error(state.exec || state.mam.out ? -1 : 1, "%s: binding changed to %s from %s", s, x->name, sn); 1323 error(state.exec || state.mam [all...] |
H A D | Makerules.mk | 185 if MAKE_OPTIONS && ! "$(-mam:N=static*)" 201 if "$(-mam:N=(regress|static)*)" 635 if "$(-mam:N=static*,port*)" 672 if "$(-mam:N=static*,port*)" && ! .BIND.REAL. 872 if "$(-mam:N=static*,port*)" 906 if "$(-mam:N=static*)" && "$(%)" != "[-+]l+([a-zA-Z0-9_])" 911 if "$(-mam:N=static*)" 947 if "$(-mam:N=static*,port*)" 963 elif "$(-mam:N=static*,port*)" 1093 case $(-mam [all...] |
/ast/src/cmd/mam/ |
H A D | mamsh.sh | 20 : mam to sh script filter
|
H A D | mamnew.c | 36 " are generated by the \b--mam\b option of \bnmake\b(1) and" 54 " http://www.research.att.com/~gsf/mam/]" 59 #include <mam.h> 89 struct mam* mam; /* make abstract machine info */ member in struct:__anon157 138 d = mamrule(state.mam->main, s); 151 z = mamrule(state.mam->main, buf); 153 mamprereq(state.mam->main, z, d, NiL); 154 mamprereq(state.mam->main, state.atom.sources, z, NiL); 211 if (getvar(state.mam [all...] |
H A D | mamold.c | 36 " are generated by the \b--mam\b option of \bnmake\b(1) and" 52 " http://www.research.att.com/~gsf/mam/]" 57 #include <mam.h> 72 struct mam* mam; /* make abstract machine info */ member in struct:state 161 if (getvar(state.mam->main, s)) 445 if (!(state.mam = mamalloc())) 447 mamvar(state.mam->main, "HOME", ""); 448 mamvar(state.mam->main, "newline", ""); 449 if (mamscan(state.mam, Ni [all...] |
H A D | mamtst.c | 31 #include <mam.h> 58 struct mam* mp;
|
H A D | mamexec.sh | 38 Mamfiles are generated by the \b--mam\b option of \bnmake\b(1) and 80 _tmp_=/tmp/mam.$$.mam 166 "mam") _old_= ;; 183 mkdir /tmp/mam$$ 184 cd /tmp/mam$$ 193 rm -rf /tmp/mam$$
|
H A D | mamold.sh | 20 : convert mam to old make makefile
|
/ast/lib/package/ |
H A D | package.mk | 250 package.mam = --never --force --mam=static --corrupt=accept --clobber --compare --link='lib*.a*' CC=$(CC.DIALECT:N=C++:?CC?cc?) package.license.class=$(license:Q) $(=) 'dontcare test' install test 673 info mam static 683 info mam static 709 $(MAKE) $(package.mam) $(export.$(style):Q) > $tmp/$m.mam 710 echo ";;;$tmp/$m.mam;$i/$j/Mamfile" 717 cat > $tmp/$m.mam <<'!' 718 info mam static 726 echo ";;;$tmp/$m.mam; [all...] |
/ast/src/lib/libcmd/ |
H A D | Makefile | 40 cmdext.h : (src) $$(-mam:+$$(src)) 64 cmdlist.h : (src) $$(-mam:+$$(src))
|
/ast/src/lib/libexpr/ |
H A D | Makefile | 11 /* NOTE: --mam bug in -I for exparse.c if exparse.y not first */
|
/ast/src/lib/libcs/ |
H A D | Makefile | 31 $(CC.HOSTTYPE:N=$(-mam:N=static*:?UNKNOWN?sgi.mips*?):??-lsocket -linet -lnsl -ldl?)
|