Annotation of researchv10no/cmd/2500/mkfile, revision 1.1.1.1

1.1       root        1: CFLAGS=-g
                      2: OBJ=y.tab.o lex.o main.o fn.o helptab.o status.o time.o remote.o
                      3: CC=lcc
                      4: NPROC=2
                      5: 
                      6: 2500:  $OBJ
                      7:        $CC $CFLAGS -o $target $prereq -lipc
                      8: 
                      9: install:       2500
                     10:        cp $prereq /usr/bin
                     11: 
                     12: y.tab.c y.tab.h:       gram.y
                     13:        yacc -d -D gram.y
                     14:        ed - y.tab.c <<!
                     15:        ,s/printf/print/
                     16:        w
                     17:        q
                     18:        !
                     19: 
                     20: x.tab.h:Q:     y.tab.h
                     21:        cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h
                     22: 
                     23: y.tab.o lex.o: x.tab.h
                     24: 
                     25: lex.o: lex.l
                     26:        lex -t lex.l > lex.c
                     27:        ed - lex.c <<!
                     28:        ,s/fprintf(yyout/fprint(2/
                     29:        w
                     30:        q
                     31:        !
                     32:        $CC $CFLAGS -c lex.c && rm lex.c
                     33: 
                     34: helptab.c:QD:  gram.y
                     35:        ( echo 'char *helpstrs[] = {'
                     36:        sed -n -e '1,/^line/d
                     37:        /^\/\*DO NOT/,$d
                     38:        /::/s/\(.*\)::.*/\1",/
                     39:        /:/s/.*:/       "/p
                     40:        /       |/s/  *{.*/",/
                     41:        /       |/s/[^|]*|      */      "/p' < gram.y
                     42:        echo '  0'
                     43:        echo '};'
                     44:        ) | grep -v '""' > $target
                     45: 
                     46: poot:V:        2500
                     47:        echo 'still 5.0.0
                     48:        remote "pyxis" "/tmp/show /polygami/act3/seq/%0.4d"
                     49:        wait
                     50:        shoot 39 3
                     51:        still mode off
                     52:        stop' | 2500

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.