Annotation of cci/d/dmp4/Makefile, revision 1.1

1.1     ! root        1: TASK=dmp4
        !             2: #
        !             3: #  HDRS                included files
        !             4: #
        !             5: #  SRCS                source files
        !             6: #
        !             7: CC=/REL/1.21/fcc.rcs
        !             8: 
        !             9: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
        !            10: 
        !            11: HDRS1 = prvreg.h psl.h pte.h pcboffset.h const.h scboffset.h \
        !            12:        sptoffset.h trap.h
        !            13: 
        !            14: LD_FLG =  -T 00000000
        !            15: 
        !            16: .SUFFIXES:
        !            17: .SUFFIXES: .x .s .o .c .lst 
        !            18: 
        !            19: .x.o:
        !            20:        cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp | ${AS} -o $*.o
        !            21: 
        !            22: .s.o:
        !            23:        cat INCLUDE $*.s | ${AS} -o $*.o
        !            24: 
        !            25: .c.o:   
        !            26:        cc -c $*.c
        !            27: 
        !            28: .x.lst:
        !            29:        cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp >temp.s
        !            30:        ${AS} temp.s -o /dev/null -P | absaddr > $*.lst
        !            31:        rm temp.s
        !            32: 
        !            33: .s.lst: 
        !            34:        cat INCLUDE $*.s | sed 's/^#\([^id]\)/ #\1/' > temp.s
        !            35:        ${AS} temp.s -o /dev/null -P | absaddr > $*.lst
        !            36:        rm temp.s
        !            37: 
        !            38: .c.lst :
        !            39:        ${CC} -S -L $*.c
        !            40:        ${AS} $*.s -o /dev/null -P | absaddr > $*.lst
        !            41:        rm -f $*.s
        !            42: 
        !            43: 
        !            44: 
        !            45: 
        !            46: SUPPORT =  init.o cp.o bio.o fpp_vars.o monitor.o \
        !            47:        messages.o fpp_event.o common.o inst_tbl.o \
        !            48:        pack_inst.o run_code.o 
        !            49: 
        !            50: SLISTS =  init.lst cp.lst bio.lst fpp_vars.lst monitor.lst \
        !            51:        messages.lst fpp_event.lst common.lst inst_tbl.lst \
        !            52:         pack_inst.lst run_code.lst 
        !            53: 
        !            54: 
        !            55: TESTS =        sched.o test_inst.o test_0_ops.o \
        !            56:        chk_sgl_acc.o chk_sgl_store.o chk_sgl_psl.o \
        !            57:        chk_dbl_acc.o chk_dbl_store.o chk_dbl_psl.o \
        !            58:        chk_trans_acc.o chk_math.o chk_fpm_trap.o bad_trans_stack.o
        !            59: 
        !            60: TLISTS = sched.lst test_inst.lst test_0_ops.lst \
        !            61:        chk_sgl_acc.lst chk_sgl_store.lst chk_sgl_psl.lst \
        !            62:        chk_dbl_acc.lst chk_dbl_store.lst chk_dbl_psl.lst \
        !            63:        chk_trans_acc.lst chk_math.lst chk_fpm_trap.lst bad_trans_stack.lst
        !            64: 
        !            65: DATA = Data/addd.o Data/addf.o Data/atanf.o Data/cmpd.o Data/cmpf.o \
        !            66:        Data/cosf.o Data/cvdf.o Data/cvdl.o  Data/cvfl.o Data/cvld.o \
        !            67:        Data/cvlf.o Data/divd.o Data/divf.o  Data/expf.o Data/ldd.o \
        !            68:        Data/ldf.o  Data/ldfd.o Data/lnd.o   Data/lnf.o  Data/logf.o \
        !            69:        Data/muld.o Data/mulf.o Data/sinf.o Data/sqrtf.o Data/stf.o \
        !            70:        Data/subd.o Data/subf.o Data/tstd.o  Data/tstf.o Data/std.o \
        !            71:        Data/negf.o Data/negd.o Data/mull.o
        !            72: 
        !            73: 
        !            74: 
        !            75: #all   : ${TASK} lists
        !            76: all    : ${TASK}
        !            77: 
        !            78: ${TASK}.st  : $(TESTS) $(SUPPORT) data
        !            79:            ${LD}  $(LD_FLG) -N -x -o ${TASK}.st $(SUPPORT) $(TESTS) $(DATA) 
        !            80: 
        !            81: data   :
        !            82:        (cd Data; make data)
        !            83: 
        !            84: ${TASK}        : ${TASK}.st
        !            85:        cp ${TASK}.st ${TASK}.st$$
        !            86:        strip ${TASK}.st$$
        !            87: #      dd if=${TASK}.st of=${TASK} skip=1 bs=2080
        !            88:        dd if=${TASK}.st$$ of=${TASK} skip=1 bs=2080
        !            89:        rm -f ${TASK}.st$$
        !            90: 
        !            91: lists  : dlists $(TLISTS) $(SLISTS)
        !            92: 
        !            93: dlists : a.sym
        !            94:        (cd Data; make lists)
        !            95: 
        !            96: #
        !            97: # a.sym  is the symbol table
        !            98: #
        !            99: a.sym  : ${TASK}.st absaddr
        !           100:        nm ${TASK}.st |sed 's/^/_/' |awk -f awknames |sort |sed 's/     _/      /' >a.sym
        !           101:        cp a.sym Data
        !           102:        cp absaddr Data
        !           103: 
        !           104: clean   :
        !           105:            rm -f *.o *.lst *.sf *.sp *.st ${TASK} a.sym
        !           106:            (cd Data; make clean)
        !           107: 
        !           108: cleansrc:
        !           109:            rm -f *.[csh] *.def init.x definitions INCLUDE makefile
        !           110: 
        !           111: install: all
        !           112:        install -c ${TASK} ${DESTDIR}/d
        !           113: 
        !           114: absaddr:       absaddr.c
        !           115:        ${CC} -O -o absaddr absaddr.c
        !           116: 
        !           117: depend:
        !           118:        grep '^#include' *.[cs] | grep -v '<' | \
        !           119:              sed 's/:[^"]*"\([^"]*\)".*/: \1/' | \
        !           120:              sed 's/\.c/.o/' | \
        !           121:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !           122:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !           123:                       else rec = rec " " $$2 } } \
        !           124:              END { print rec } ' > makedep
        !           125:        echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
        !           126:        echo '$$r makedep' >>eddep
        !           127:        echo 'w' >>eddep
        !           128:        cp makefile makefile.bak
        !           129:        ed - makefile < eddep
        !           130:        rm -f eddep makedep
        !           131: 
        !           132: # DO NOT DELETE THIS LINE -- make depend uses it
        !           133: 
        !           134: 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.