Annotation of researchv10no/cmd/odist/ape/mkfile, revision 1.1.1.1

1.1       root        1: <../mkconf.$SYS
                      2: <../mkrules.$SYS
                      3: 
                      4: CFLAGS=-g
                      5: BPROG=dist
                      6: LPROG=receive transmit showq cleanq genmail nightly
                      7: LSUID=transmit cleanq
                      8: 
                      9: LIBOBJ=chat.$O chkperm.$O crc.$O eprintf.$O path.$O scanq.$O tryperm.$O
                     10: 
                     11: %.$O: %.c
                     12:        $CC -DLDIR='"'$LDIR'"' -DSDIR='"'$SDIR'"' -c $stem.c
                     13: 
                     14: %: %.$SH
                     15:        sed -e s@%LDIR%@$LDIR@ -e s@%SDIR%@$SDIR@ $stem.$SH > $target || rm -f $target
                     16:        chmod +x $target
                     17: 
                     18: compile:V: $BPROG $LPROG
                     19: 
                     20: install:V: compile
                     21:        test -d $LDIR || mkdir $LDIR
                     22:        test -d $SDIR || mkdir $SDIR && chmod 777 $SDIR
                     23:        cp $BPROG $BDIR
                     24:        cp $LPROG $LDIR
                     25:        (cd $LDIR; chown root $LSUID; chmod 4755 $LSUID)
                     26: 
                     27: receive: receive.$O lib.a ../$SYS/lib.a
                     28:        $CC -o receive receive.$O lib.a ../$SYS/lib.a $CCLIB
                     29: 
                     30: transmit: transmit.$O lib.a ../$SYS/lib.a
                     31:        $CC -o transmit transmit.$O lib.a ../$SYS/lib.a $CCLIB
                     32: 
                     33: showq: showq.$O lib.a ../$SYS/lib.a
                     34:        $CC -o showq showq.$O lib.a ../$SYS/lib.a $CCLIB
                     35: 
                     36: cleanq: cleanq.$O lib.a ../$SYS/lib.a
                     37:        $CC -o cleanq cleanq.$O lib.a ../$SYS/lib.a $CCLIB
                     38: 
                     39: lib.a: ${LIBOBJ:%=lib.a(%)}
                     40:        $RL lib.a
                     41: 
                     42: lib.a(%): %
                     43:        ar r lib.a $stem
                     44: 
                     45: clean:V:
                     46:        rm -f $BPROG $LPROG *.[$OS] lib.a

unix.superglobalmegacorp.com

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