Annotation of cci/d/event/m2, revision 1.1

1.1     ! root        1: 
        !             2: #
        !             3: #  HDRS                included files
        !             4: #
        !             5: #  SRCS                source files
        !             6: #
        !             7: 
        !             8: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
        !             9: 
        !            10: HDRS1 = prvreg.h psl.h pte.h pcboffset.h const.h scboffset.h \
        !            11:        sptoffset.h trap.h
        !            12: 
        !            13: LD_FLG =  -T c0000000
        !            14: 
        !            15: .SUFFIXES:
        !            16: .SUFFIXES: .x .s .o .c .lst 
        !            17: 
        !            18: .x.o:
        !            19:        cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp | ${AS} -o $*.o
        !            20: 
        !            21: 
        !            22: .s.o:
        !            23:        cat INCLUDE $*.s | ${AS} -o $*.o
        !            24: 
        !            25: 
        !            26: .x.lst:
        !            27:        cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp >temp.s
        !            28:        as temp.s -o /dev/null -P | absaddr > $*.lst
        !            29:        rm temp.s
        !            30: 
        !            31: .s.lst:
        !            32:        cat INCLUDE $*.s | sed 's/^#\([^id]\)/ #\1/' > temp.s
        !            33:        as temp.s -o /dev/null -P | absaddr > $*.lst
        !            34:        rm temp.s
        !            35: 
        !            36: .c.lst:        
        !            37:        cc -S -L $*.c
        !            38:        as $*.s -o /dev/null -P | absaddr > $*.lst
        !            39:        rm -f $*.s
        !            40: 
        !            41: 
        !            42: 
        !            43: 
        !            44: TESTS =  init.o prvreg.o prvinstr.o  be_evt.o roprnd_evt.o \
        !            45:         prvins_evt.o align_evt.o \
        !            46:         raddr_evt.o \
        !            47:         rsvins_evt.o \
        !            48:         arith_evt.o \
        !            49:         bpt_evt.o \
        !            50:         ttrap_evt.o \
        !            51:         softint_evt.o \
        !            52:         vkcall_evt.o \
        !            53:         vtrans_evt.o \
        !            54:         vprobe_evt.o \
        !            55:         vksnv_evt.o \
        !            56:         mulevt.o \
        !            57:         visnv_evt.o \
        !            58:         error.o \
        !            59:         trap.o \
        !            60:         bio.o \
        !            61:         cp.o
        !            62: 
        !            63: 
        !            64: 
        !            65: all : event a.sym
        !            66: 
        !            67: event.st  : $(TESTS)
        !            68:            ${LD}  $(LD_FLG) -N -x -o event.st $(TESTS) 
        !            69: 
        !            70: event  : event.st
        !            71:        cp event.st $$event.st
        !            72:        strip $$event.st
        !            73:        dd if=$$event.st of=event skip=1 bs=2080
        !            74:        rm -f $$event.st
        !            75: 
        !            76: #
        !            77: # a.sym  is the symbol table
        !            78: #
        !            79: a.sym    : event.st absaddr
        !            80:        nm event.st |sed 's/^/_/' |awk -f awknames |sort |sed 's/       _/      /' >a.sym
        !            81: 
        !            82: 
        !            83: 
        !            84: clean   :
        !            85:            rm -f *.o *.lst *.sf *.sp *.st event
        !            86: 
        !            87: cleansrc:
        !            88:            rm -f *.[csh] *.def init.x definitions INCLUDE makefile
        !            89: 
        !            90: install: all
        !            91:        install -c event ${DESTDIR}/d
        !            92: 
        !            93: absaddr:       absaddr.c
        !            94:        cc -O -o absaddr absaddr.c
        !            95: 
        !            96: depend:
        !            97:        grep '^#include' *.[cs] | grep -v '<' | \
        !            98:              sed 's/:[^"]*"\([^"]*\)".*/: \1/' | \
        !            99:              sed 's/\.c/.o/' | \
        !           100:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !           101:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !           102:                       else rec = rec " " $$2 } } \
        !           103:              END { print rec } ' > makedep
        !           104:        echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
        !           105:        echo '$$r makedep' >>eddep
        !           106:        echo 'w' >>eddep
        !           107:        cp makefile makefile.bak
        !           108:        ed - makefile < eddep
        !           109:        rm -f eddep makedep
        !           110: 
        !           111: # DO NOT DELETE THIS LINE -- make depend uses it
        !           112: 
        !           113: bio.o: definitions

unix.superglobalmegacorp.com

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