Annotation of researchv9/cmd/sh/mkfile, revision 1.1.1.2

1.1.1.2 ! root        1: CC=cc
1.1       root        2: TESTDIR = .
                      3: FRC =
                      4: ROOT=
                      5: INSDIR =
1.1.1.2 ! root        6: CFLAGS = -O
1.1       root        7: LDFLAGS =
                      8: NPROC = 2
                      9: 
                     10: OFILES = shsetbrk.o blok.o stak.o cmd.o fault.o main.o word.o string.o\
                     11:        name.o args.o xec.o service.o error.o io.o print.o macro.o expand.o\
1.1.1.2 ! root       12:        sctype.o msg.o defs.o pathserv.o func.o spname.o
1.1       root       13: OOFILES = shsetbrk.O blok.O stak.O cmd.O fault.O main.O word.O string.O\
                     14:        name.O args.O xec.O service.O error.O io.O print.O macro.O expand.O\
                     15:        sctype.O msg.O defs.O pathserv.O func.O spname.O
                     16: 
                     17: all: sh
                     18: 
                     19: sh: $OFILES
                     20:        $CC $LDFLAGS $OFILES -o $TESTDIR/sh
                     21: 
                     22: $OFILES $OOFILES:      defs.h $FRC
                     23: 
                     24: blok.o fault.o main.o stak.o:  brkincr.h
                     25: blok.O fault.O main.O stak.O:  brkincr.h
                     26: cwd.o: mac.h
                     27: cwd.O: mac.h
                     28: cmd.o macro.o main.o msg.o name.o word.o xec.o:        sym.h
                     29: cmd.O macro.O main.O msg.O name.O word.O xec.O:        sym.h
                     30: main.o:        timeout.h
                     31: main.O:        timeout.h
                     32: 
                     33: install:  all
                     34:        mv /bin/sh /bin/osh;    cp sh /bin/sh;  strip /bin/sh
                     35:        /etc/chown bin,bin /bin/sh
                     36:        chmod o-w,g+w /bin/sh
                     37: 
                     38: clean:
                     39:        rm -f *.o *.O sh
                     40: 
                     41: clobber:  clean
                     42:        set -e
                     43:        rm -f $TESTDIR/sh
                     44:        rm -f $ROOT/bin/OLDrsh
                     45: 
                     46: cyntax:        $OOFILES
                     47:        cyntax $OOFILES > temp && touch cyntax
                     48: 
                     49: %.O:   %.c
                     50:        cyntax -c $CFLAGS $stem.c
                     51: xec.O: xec.c
                     52:        cyntax -c -Vexecute:3 $CFLAGS xec.c
                     53: 
                     54: FRC:
                     55: 
                     56: pp:
                     57:        pp -tsh makefile *.h *.c | dcan

unix.superglobalmegacorp.com

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