Annotation of researchv10dc/cmd/oworm/mkfile, revision 1.1

1.1     ! root        1: CFLAGS=-g -I. -I/n/bowell/usr/src/cmd/worm
        !             2: LIB=worm.a
        !             3: BIN=/usr/lib/worm
        !             4: L=io inode vlink flink sym getopt mapdev btree
        !             5: OBJ=`echo $L | sed -e 's:[^ ]*:$LIB(&.o):g'`
        !             6: COBJ=`echo $L | sed -e 's:[^ ]*:O/&.O:g'`
        !             7: NPROC=2
        !             8: # remember to change /usr/bin/worm if you add programs
        !             9: ALL=wmkfs wstat wwrite wread wls woffline wcat wormupd wbtree wrm wdir wreset wmv wtmpdir
        !            10: CALL=`echo $ALL | sed -e 's:[^ ]*:O/&:g'`
        !            11: BALL=`echo $ALL | sed -e 's:[^ ]*:$BIN/&:g'` $BIN/wmount $BIN/scsish
        !            12: F=../backup/src
        !            13: 
        !            14: all:V: $ALL
        !            15:        cd scsi; mk all
        !            16: cyntax:V:      $CALL
        !            17:        #cd scsi; mk cyntax
        !            18: 
        !            19: $LIB:Q:        $OBJ
        !            20:        names=`membername $newprereq`
        !            21:        ar rv $LIB $names && rm $names
        !            22:        ranlib $LIB
        !            23: 
        !            24: '^(w[^.]*)$':R:        \\1.o $LIB #O/\\1
        !            25:        $CC $CFLAGS -o $target $stem1.o $LIB -lcbt
        !            26: 
        !            27: '^(poot)$':R:  \\1.o $LIB #O/\\1
        !            28:        $CC $CFLAGS -o $target $stem1.o $LIB -lcbt
        !            29: 
        !            30: '^(O/w[^.]*)$':R:      \\1.O $COBJ
        !            31:        cyntax $prereq && > $target
        !            32: 
        !            33: $BIN/'(w[^.]*)$':R:    \\1
        !            34:        cp $stem1 $target && strip $target; chmod 775 $target
        !            35: 
        !            36: sym.o wtree.o thing.o: sym.h
        !            37: wtree.o thing.o:       thing.h
        !            38: 
        !            39: $LIB(%.o):N:   %.o
        !            40: %.o:   worm.h
        !            41: O/%.O: %.c
        !            42:        cyntax -c $stem.c && mv $stem.O O
        !            43: O/%.O: worm.h
        !            44: 
        !            45: pp:
        !            46:        smallpr mkfile worm.h *.c
        !            47: 
        !            48: clean:V:
        !            49:        rm -f *.o *.a $ALL core O/*
        !            50: 
        !            51: install:V:     $BALL
        !            52: 
        !            53: ship:V:        shipped
        !            54: shipped:       $BALL
        !            55:        ship $newprereq && touch $target
        !            56: 
        !            57: $BIN/wmount $BIN/scsish:       scsi/*
        !            58:        cd scsi; mk install
        !            59: 
        !            60: goo:V: wmv wls wwrite wmkfs
        !            61:        > temp
        !            62:        wmkfs -ftemp testa
        !            63:        wwrite -ftemp testa w*.[ch]
        !            64:        wls -ftemp -l wreset.c
        !            65:        wmv -ftemp testa wreset.c xxx
        !            66:        wls -ftemp -l wreset.c xxx
        !            67: 
        !            68: wild:  $BALL
        !            69:        dest=wild ship $newprereq && touch $target

unix.superglobalmegacorp.com

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