Annotation of 43BSDTahoe/ucb/tn3270/general/makefile.mak, revision 1.1

1.1     ! root        1: # variables...
        !             2: ALLPRINT =     ${ALLH} ${ALLC} vaxbsubs.s genbsubs.c
        !             3: ALLSOURCE =    ${ALLPRINT} makefile makefile.mak
        !             4: O =    .obj
        !             5: X =    .exe
        !             6: L =    -link
        !             7: CC =   cl
        !             8: MV =   rename
        !             9: RM =   erase
        !            10: LINT_ARGS =    -DLINT_ARGS
        !            11: DEBUG_FLAGS =  -Zi -Od
        !            12: AR =   lib
        !            13: AR1 =  
        !            14: AR2 =  +
        !            15: AR3 =  ";"
        !            16: RANLIB =       echo "Done with "
        !            17: PRINT =        print
        !            18: DEFINES =      ${LINT_ARGS}
        !            19: INCLUDES =     -I.
        !            20: OPTIMIZE =     ${DEBUG_FLAGS}
        !            21: CFLAGS =       ${OPTIMIZE} ${INCLUDES} ${DEFINES}
        !            22: LINTFLAGS =    -hbxaz
        !            23: DESTDIR =      
        !            24: BINDIR =       ${DESTDIR}\usr\ucb
        !            25: ETCDIR =       ${DESTDIR}\etc
        !            26: MANDIR =       ${DESTDIR}\usr\man\man
        !            27: LIBCURSES =    -lcurses
        !            28: LIBTERM =      -ltermlib
        !            29: ALLH = bsubs.ext general.h globals.h
        !            30: ALLC = globals.c
        !            31: SUBS = genbsubs.c
        !            32: SUBSO =        genbsubs${O}
        !            33: ALLS = 
        !            34: ALLO = globals${O} ${SUBSO}
        !            35: 
        !            36: 
        !            37: #targets...
        !            38: 
        !            39: .s.o:   
        !            40:        \lib\cpp -E $< | as -o $@
        !            41: 
        !            42: .c.obj:         
        !            43:        ${CC} ${CFLAGS} -c $<
        !            44: 
        !            45: general.lib:   ${ALLO} 
        !            46:        ${RM} $@
        !            47:        ${AR} ${AR1} $@ ${AR2} globals.obj${AR3}
        !            48:        cd ${CWD}
        !            49:        ${AR} ${AR1} $@ ${AR2} genbsubs.obj${AR3}
        !            50:        cd ${CWD}
        !            51:        
        !            52:        
        !            53:        ${RANLIB} $@
        !            54: 
        !            55: clean:  
        !            56:        ${RM} globals.obj
        !            57:        cd ${CWD}
        !            58:        ${RM} genbsubs.obj
        !            59:        cd ${CWD}
        !            60:        ${RM} errs
        !            61:        cd ${CWD}
        !            62:        ${RM} makefile.bak
        !            63:        cd ${CWD}
        !            64:        ${RM} general.lib
        !            65:        cd ${CWD}
        !            66:        
        !            67:        
        !            68: 
        !            69: sccsclean:      
        !            70:        -sccs clean
        !            71:        -sccs get makefile
        !            72: 
        !            73: sourcelist:    ${ALLSOURCE} 
        !            74:        echo ${DIRPATH}bsubs.ext
        !            75:        cd ${CWD}
        !            76:        echo ${DIRPATH}general.h
        !            77:        cd ${CWD}
        !            78:        echo ${DIRPATH}globals.h
        !            79:        cd ${CWD}
        !            80:        echo ${DIRPATH}globals.c
        !            81:        cd ${CWD}
        !            82:        echo ${DIRPATH}vaxbsubs.s
        !            83:        cd ${CWD}
        !            84:        echo ${DIRPATH}genbsubs.c
        !            85:        cd ${CWD}
        !            86:        echo ${DIRPATH}makefile
        !            87:        cd ${CWD}
        !            88:        echo ${DIRPATH}makefile.mak
        !            89:        cd ${CWD}
        !            90:        
        !            91:        
        !            92: 
        !            93: print:  
        !            94:        ${PRINT} ${ALLPRINT}
        !            95: 
        !            96: tags:  ${ALLC} ${ALLH} 
        !            97:        ctags -t ${ALLC} ${ALLH}
        !            98: 
        !            99: action:         
        !           100:        ${ACTION}
        !           101: 
        !           102: lint:   
        !           103:        lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${ALLC}
        !           104: 
        !           105: .DEFAULT:       
        !           106:        sccs get $<
        !           107: 
        !           108: depend:         
        !           109:        grep '^#include' ${ALLC} ${ALLH} | grep -v '<' | sed -e 's\:[^"]*"\([^"]*\)".*\: \1\' -e 's\\.c\$$O\' | awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !           110:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !           111:                       else rec = rec " " $$2 } } \
        !           112:              END { print rec } ' > makedep
        !           113:        echo '$$r makedep' >>eddep
        !           114:        echo '\^# DO NOT DELETE THIS LINE\+1,$$d' >eddep
        !           115:        echo '$$r makedep' >>eddep
        !           116:        echo 'w' >>eddep
        !           117:        -rm -f makefile.bak
        !           118:        cp makefile makefile.bak
        !           119:        ed - makefile < eddep
        !           120:        rm eddep makedep
        !           121: 
        !           122: globals${O}:   ..\ctlr\hostctlr.h ..\ctlr\oia.h ..\ctlr\options.h ..\ctlr\screen.h globals.h ..\general\general.h 
        !           123:        

unix.superglobalmegacorp.com

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