Annotation of cci/d/io/makefile, revision 1.1

1.1     ! root        1: 
        !             2: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
        !             3: 
        !             4: SP  =  rtclk.sp ioboth.sp 
        !             5: 
        !             6: IOLIB = bio.o cp.o
        !             7: 
        !             8: 
        !             9: LD_FLG =  -T 0
        !            10: 
        !            11: .SUFFIXES:
        !            12: .SUFFIXES: .x .s .o .c .st .sp
        !            13: 
        !            14: ALL = ioboth rtclk
        !            15: all:    $(ALL)
        !            16: 
        !            17: .x.o:
        !            18:        cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp | ${AS} -o $*.o
        !            19: 
        !            20: 
        !            21: .s.o:
        !            22:        cat INCLUDE $*.s | ${AS} -o $*.o
        !            23: 
        !            24: .st.sp:
        !            25:        rm -f $*.sp;cp $*.st tmp$$;strip tmp$$
        !            26:        dd if=tmp$$ of=$*.sp skip=1 bs=1024
        !            27:        rm tmp$$
        !            28: 
        !            29: #
        !            30: #      i/o tests
        !            31: #
        !            32: 
        !            33: ioboth.st:     ioboth.o tail.o
        !            34:        ${LD} -T 800 -o ioboth.st ioboth.o tail.o
        !            35: 
        !            36: ioboth:        ioboth.sp
        !            37:        mv ioboth.sp ioboth
        !            38: 
        !            39: rtclk.st:      rtclk.o tail.o ctail.o bio.o cp.o
        !            40:        ${LD} -T 800 -o rtclk.st rtclk.o tail.o ctail.o bio.o cp.o
        !            41: 
        !            42: rtclk: rtclk.sp
        !            43:        mv rtclk.sp rtclk
        !            44: 
        !            45: bio.o: Lib/bio.c
        !            46:        ${CC} -c Lib/bio.c
        !            47: 
        !            48: cp.o:  Lib/cp.c
        !            49:        ${CC} -c Lib/cp.c
        !            50: 
        !            51: #
        !            52: TESTS =  init.o restart.o bio.o cp.o
        !            53: 
        !            54: pwfail.st  : $(TESTS)
        !            55:            ${LD}  $(LD_FLG) -N -x -o pwfail.st $(TESTS) 
        !            56: 
        !            57: pwfail  : pwfail.st
        !            58:            dd if=pwfail.st of=pwfail skip=1 bs=2080
        !            59: 
        !            60: clean   :
        !            61:            rm *.o *.st
        !            62: 
        !            63: cleansrc:
        !            64:            rm -f *.[csh] init.x INCLUDE makefile
        !            65:            rm -f Lib/*.c Lib/README
        !            66: 
        !            67: install:       all
        !            68:        for i in $(ALL); \
        !            69:        do install -c $$i ${DESTDIR}/d; \
        !            70:        done
        !            71: 
        !            72: depend:
        !            73:        grep '^#include' *.[cs] | grep -v '<' | \
        !            74:              sed 's/:[^"]*"\([^"]*\)".*/: \1/' | \
        !            75:              sed 's/\.c/.o/' | \
        !            76:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !            77:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !            78:                       else rec = rec " " $$2 } } \
        !            79:              END { print rec } ' > makedep
        !            80:        echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
        !            81:        echo '$$r makedep' >>eddep
        !            82:        echo 'w' >>eddep
        !            83:        cp makefile makefile.bak
        !            84:        ed - makefile < eddep
        !            85:        rm -f eddep makedep
        !            86: 
        !            87: # DO NOT DELETE THIS LINE -- make depend uses it

unix.superglobalmegacorp.com

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