Annotation of researchv10dc/cmd/pascal/pc0/mkfile, revision 1.1

1.1     ! root        1: CC = cc
        !             2: WHOAMI = pc
        !             3: INSTALLNAME = $DESTDIR/usr/lib/pascal/pc0
        !             4: VERSION = 2.0
        !             5: O=o
        !             6: BUILTINS=
        !             7: 
        !             8: MKSTR = /n/bowell/usr/bin/mkstr
        !             9: EYACC = /usr/bin/eyacc
        !            10: RM = rm -f
        !            11: GET = touch
        !            12: 
        !            13: CFLAGS = -O
        !            14: LDFLAGS = -z
        !            15: 
        !            16: LIBDIR = ${DESTDIR}/usr/lib/pascal
        !            17: TMPDIR = tmp
        !            18: 
        !            19: ERRORSTRINGS = ${WHOAMI}${VERSION}strings
        !            20: 
        !            21: SRCS = ato.c \
        !            22:        call.c case.c clas.c const.c conv.c cset.c \
        !            23:        error.c fdec.c fend.c fhdr.c flvalue.c forop.c func.c gen.c hash.c \
        !            24:        lab.c lookup.c lval.c stklval.c \
        !            25:        main.c nl.c proc.c put.c \
        !            26:        rec.c rval.c stkrval.c\
        !            27:        stat.c string.c subr.c \
        !            28:        tmps.c tree.c type.c var.c \
        !            29:        TRdata.c \
        !            30:        treen.c yycopy.c \
        !            31:        yycosts.c yyerror.c yyget.c yyid.c yylex.c yymain.c yyoptions.c \
        !            32:        yypanic.c yyparse.c yyprint.c yyput.c yyrecover.c yyseman.c yytree.c \
        !            33:        p2put.c stab.c pcproc.c pcfunc.c pccaseop.c pclval.c
        !            34: 
        !            35: HDRS = 0.h OPnames.h align.h iorec.h objfmt.h pstab.h pc.h pcops.h \
        !            36:        send.h tree.h whoami.h yy.h
        !            37: 
        !            38: OTHERS = pas.y opc.c version.c gram pic.c
        !            39: 
        !            40: OBJS = ato.$O \
        !            41:        call.$O case.$O clas.$O const.$O conv.$O cset.$O \
        !            42:        error.$O fdec.$O fend.$O fhdr.$O flvalue.$O forop.$O func.$O gen.$O hash.$O \
        !            43:        lab.$O lookup.$O lval.$O stklval.$O \
        !            44:        main.$O nl.$O proc.$O put.$O \
        !            45:        rec.$O rval.$O stkrval.$O\
        !            46:        stat.$O string.$O subr.$O \
        !            47:        tmps.$O tree.$O type.$O var.$O \
        !            48:        TRdata.$O \
        !            49:        treen.$O yycopy.$O \
        !            50:        y.tab.$O \
        !            51:        yycosts.$O yyerror.$O yyget.$O yyid.$O yylex.$O yymain.$O yyoptions.$O \
        !            52:        yypanic.$O yyparse.$O yyprint.$O yyput.$O yyrecover.$O yyseman.$O yytree.$O \
        !            53:        p2put.$O stab.$O pcproc.$O pcfunc.$O pccaseop.$O pclval.$O
        !            54: 
        !            55: %.$O:  %.c
        !            56:        ${RM} ${TMPDIR}/$stem.c
        !            57:        ${MKSTR} - ${ERRORSTRINGS} ${TMPDIR}/ $stem.c
        !            58:        (cd ${TMPDIR}; ${CC} ${CFLAGS} -c -I.. $stem.c; ${RM} ../$stem.$O; mv $stem.$O ..)
        !            59:        ${RM} ${TMPDIR}/$stem.c
        !            60: 
        !            61: a.out: ${OBJS} version
        !            62:        ${RM} Version.[2oc]
        !            63:        ./version > Version.c
        !            64:        ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} Version.c
        !            65: 
        !            66: sources: ${SRCS} ${HDRS} ${OTHERS}
        !            67:        
        !            68: ${SRCS} ${HDRS} ${OTHERS}:
        !            69:        ${GET} ${target}
        !            70: 
        !            71: y.tab.h: pas.y gram
        !            72:        ${RM} y.tab.h y.tab.c
        !            73:        ${EYACC} pas.y > /dev/null
        !            74:        ex - y.tab.c <gram
        !            75:        echo that makes y.tab.h and y.tab.c
        !            76: 
        !            77: opcode.h: OPnames.h opc.c
        !            78:        ${RM} opcode.h
        !            79:        cc opc.c -o opc
        !            80:        opc >opcode.h
        !            81:        ${RM} opc
        !            82: 
        !            83: pTree.h:
        !            84:        echo "/* this is not pTree.h */" > pTree.h
        !            85: 
        !            86: version: version.c
        !            87:        ${CC} version.c -o version
        !            88: 
        !            89: clean:
        !            90:        ${RM} *.$O ${TMPDIR}/*.c
        !            91:        ${RM} ${ERRORSTRINGS}
        !            92:        ${RM} version Version.c
        !            93:        ${RM} a.out core *.list *.bak
        !            94:        ${RM} opc pic tags
        !            95: #      ${RM} y.tab.h y.tab.c y.tab.out
        !            96: 
        !            97: install: a.out
        !            98:        cp ${ERRORSTRINGS} ${LIBDIR}/${ERRORSTRINGS}
        !            99:        chown bin,bin ${LIBDIR}/${ERRORSTRINGS}
        !           100:        chmod o-w,g+w ${LIBDIR}/${ERRORSTRINGS}
        !           101:        strip a.out
        !           102:        cp a.out ${INSTALLNAME}
        !           103:        chown bin,bin ${INSTALLNAME}
        !           104:        chmod o-w,g+w ${INSTALLNAME}
        !           105: 
        !           106: depend:        sources
        !           107:        /bin/grep '^#[  ]*include' *.h \
        !           108:                | sed '/<.*>/d' \
        !           109:                | sed 's/\(.*\):[^"]*"\([^"]*\)".*/\1: \2/' >makedep
        !           110:        /bin/grep '^#[  ]*include' *.c \
        !           111:                | sed '/<.*>/d' \
        !           112:                | sed 's/:[^"]*"\([^"]*\)".*/: \1/' \
        !           113:                | sed 's/\.c/.$O/' >>makedep
        !           114:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
        !           115:        echo '$$r makedep' >>eddep
        !           116:        echo 'w' >>eddep
        !           117:        cp makefile makefile.bak
        !           118:        ed - makefile < eddep
        !           119:        rm eddep makedep
        !           120:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> makefile
        !           121:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> makefile
        !           122:        echo '# see make depend above' >> makefile
        !           123: 
        !           124: # DO NOT DELETE THIS LINE -- make depend uses it
        !           125: 
        !           126: 0.h: pTree.h
        !           127: yy.h: y.tab.h
        !           128: TRdata.$O: whoami.h
        !           129: TRdata.$O: 0.h
        !           130: ato.$O: whoami.h
        !           131: ato.$O: 0.h
        !           132: call.$O: whoami.h
        !           133: call.$O: 0.h
        !           134: call.$O: tree.h
        !           135: call.$O: opcode.h
        !           136: call.$O: objfmt.h
        !           137: call.$O: pc.h
        !           138: call.$O: pcops.h
        !           139: case.$O: whoami.h
        !           140: case.$O: 0.h
        !           141: case.$O: tree.h
        !           142: case.$O: opcode.h
        !           143: clas.$O: whoami.h
        !           144: clas.$O: 0.h
        !           145: clas.$O: tree.h
        !           146: const.$O: whoami.h
        !           147: const.$O: 0.h
        !           148: const.$O: tree.h
        !           149: conv.$O: whoami.h
        !           150: conv.$O: 0.h
        !           151: conv.$O: opcode.h
        !           152: conv.$O: pcops.h
        !           153: cset.$O: whoami.h
        !           154: cset.$O: 0.h
        !           155: cset.$O: tree.h
        !           156: cset.$O: opcode.h
        !           157: cset.$O: objfmt.h
        !           158: cset.$O: pc.h
        !           159: cset.$O: pcops.h
        !           160: error.$O: whoami.h
        !           161: error.$O: 0.h
        !           162: error.$O: yy.h
        !           163: fdec.$O: whoami.h
        !           164: fdec.$O: 0.h
        !           165: fdec.$O: tree.h
        !           166: fdec.$O: opcode.h
        !           167: fdec.$O: objfmt.h
        !           168: fdec.$O: align.h
        !           169: fdec.$O: pc.h
        !           170: fdec.$O: pcops.h
        !           171: fend.$O: whoami.h
        !           172: fend.$O: 0.h
        !           173: fend.$O: tree.h
        !           174: fend.$O: opcode.h
        !           175: fend.$O: objfmt.h
        !           176: fend.$O: align.h
        !           177: fend.$O: pc.h
        !           178: fend.$O: pcops.h
        !           179: fhdr.$O: whoami.h
        !           180: fhdr.$O: 0.h
        !           181: fhdr.$O: tree.h
        !           182: fhdr.$O: opcode.h
        !           183: fhdr.$O: objfmt.h
        !           184: fhdr.$O: align.h
        !           185: fhdr.$O: pc.h
        !           186: fhdr.$O: pcops.h
        !           187: flvalue.$O: whoami.h
        !           188: flvalue.$O: 0.h
        !           189: flvalue.$O: tree.h
        !           190: flvalue.$O: opcode.h
        !           191: flvalue.$O: objfmt.h
        !           192: flvalue.$O: pc.h
        !           193: flvalue.$O: pcops.h
        !           194: forop.$O: whoami.h
        !           195: forop.$O: 0.h
        !           196: forop.$O: opcode.h
        !           197: forop.$O: tree.h
        !           198: forop.$O: objfmt.h
        !           199: forop.$O: pc.h
        !           200: forop.$O: pcops.h
        !           201: func.$O: whoami.h
        !           202: func.$O: 0.h
        !           203: func.$O: tree.h
        !           204: func.$O: opcode.h
        !           205: gen.$O: whoami.h
        !           206: gen.$O: 0.h
        !           207: gen.$O: tree.h
        !           208: gen.$O: opcode.h
        !           209: gen.$O: objfmt.h
        !           210: hash.$O: whoami.h
        !           211: hash.$O: 0.h
        !           212: hash.$O: yy.h
        !           213: lab.$O: whoami.h
        !           214: lab.$O: 0.h
        !           215: lab.$O: tree.h
        !           216: lab.$O: opcode.h
        !           217: lab.$O: objfmt.h
        !           218: lab.$O: pc.h
        !           219: lab.$O: pcops.h
        !           220: lookup.$O: whoami.h
        !           221: lookup.$O: 0.h
        !           222: lval.$O: whoami.h
        !           223: lval.$O: 0.h
        !           224: lval.$O: tree.h
        !           225: lval.$O: opcode.h
        !           226: lval.$O: objfmt.h
        !           227: lval.$O: pc.h
        !           228: lval.$O: pcops.h
        !           229: main.$O: whoami.h
        !           230: main.$O: 0.h
        !           231: main.$O: yy.h
        !           232: main.$O: objfmt.h
        !           233: nl.$O: whoami.h
        !           234: nl.$O: 0.h
        !           235: nl.$O: opcode.h
        !           236: nl.$O: objfmt.h
        !           237: opc.$O: OPnames.h
        !           238: p2put.$O: whoami.h
        !           239: p2put.$O: 0.h
        !           240: p2put.$O: pcops.h
        !           241: p2put.$O: pc.h
        !           242: pccaseop.$O: whoami.h
        !           243: pccaseop.$O: 0.h
        !           244: pccaseop.$O: tree.h
        !           245: pccaseop.$O: objfmt.h
        !           246: pccaseop.$O: pcops.h
        !           247: pccaseop.$O: pc.h
        !           248: pcfunc.$O: whoami.h
        !           249: pcfunc.$O: 0.h
        !           250: pcfunc.$O: tree.h
        !           251: pcfunc.$O: opcode.h
        !           252: pcfunc.$O: pc.h
        !           253: pcfunc.$O: pcops.h
        !           254: pclval.$O: whoami.h
        !           255: pclval.$O: 0.h
        !           256: pclval.$O: tree.h
        !           257: pclval.$O: opcode.h
        !           258: pclval.$O: objfmt.h
        !           259: pclval.$O: pc.h
        !           260: pclval.$O: pcops.h
        !           261: pcproc.$O: whoami.h
        !           262: pcproc.$O: 0.h
        !           263: pcproc.$O: tree.h
        !           264: pcproc.$O: opcode.h
        !           265: pcproc.$O: pc.h
        !           266: pcproc.$O: pcops.h
        !           267: pic.$O: OPnames.h
        !           268: proc.$O: whoami.h
        !           269: proc.$O: 0.h
        !           270: proc.$O: tree.h
        !           271: proc.$O: opcode.h
        !           272: proc.$O: objfmt.h
        !           273: put.$O: whoami.h
        !           274: put.$O: opcode.h
        !           275: put.$O: 0.h
        !           276: put.$O: objfmt.h
        !           277: put.$O: pc.h
        !           278: put.$O: OPnames.h
        !           279: rec.$O: whoami.h
        !           280: rec.$O: 0.h
        !           281: rec.$O: tree.h
        !           282: rec.$O: opcode.h
        !           283: rval.$O: whoami.h
        !           284: rval.$O: 0.h
        !           285: rval.$O: tree.h
        !           286: rval.$O: opcode.h
        !           287: rval.$O: objfmt.h
        !           288: rval.$O: pc.h
        !           289: rval.$O: pcops.h
        !           290: stab.$O: whoami.h
        !           291: stab.$O: 0.h
        !           292: stab.$O: pstab.h
        !           293: stab.$O: pc.h
        !           294: stat.$O: whoami.h
        !           295: stat.$O: 0.h
        !           296: stat.$O: tree.h
        !           297: stat.$O: objfmt.h
        !           298: stat.$O: pcops.h
        !           299: stat.$O: pc.h
        !           300: stat.$O: opcode.h
        !           301: stklval.$O: whoami.h
        !           302: stklval.$O: 0.h
        !           303: stklval.$O: tree.h
        !           304: stklval.$O: opcode.h
        !           305: stklval.$O: objfmt.h
        !           306: stkrval.$O: whoami.h
        !           307: stkrval.$O: 0.h
        !           308: stkrval.$O: tree.h
        !           309: stkrval.$O: opcode.h
        !           310: stkrval.$O: objfmt.h
        !           311: stkrval.$O: pcops.h
        !           312: string.$O: whoami.h
        !           313: string.$O: 0.h
        !           314: string.$O: send.h
        !           315: subr.$O: whoami.h
        !           316: subr.$O: 0.h
        !           317: tmps.$O: whoami.h
        !           318: tmps.$O: 0.h
        !           319: tree.$O: whoami.h
        !           320: tree.$O: 0.h
        !           321: type.$O: whoami.h
        !           322: type.$O: 0.h
        !           323: type.$O: tree.h
        !           324: type.$O: objfmt.h
        !           325: var.$O: whoami.h
        !           326: var.$O: 0.h
        !           327: var.$O: align.h
        !           328: var.$O: iorec.h
        !           329: var.$O: pc.h
        !           330: var.$O: pcops.h
        !           331: y.tab.$O: whoami.h
        !           332: y.tab.$O: 0.h
        !           333: y.tab.$O: yy.h
        !           334: y.tab.$O: tree.h
        !           335: yycopy.$O: 0.h
        !           336: yycopy.$O: yy.h
        !           337: yycosts.$O: whoami.h
        !           338: yycosts.$O: 0.h
        !           339: yycosts.$O: yy.h
        !           340: yyerror.$O: whoami.h
        !           341: yyerror.$O: 0.h
        !           342: yyerror.$O: yy.h
        !           343: yyget.$O: whoami.h
        !           344: yyget.$O: 0.h
        !           345: yyget.$O: yy.h
        !           346: yyid.$O: whoami.h
        !           347: yyid.$O: 0.h
        !           348: yyid.$O: yy.h
        !           349: yylex.$O: whoami.h
        !           350: yylex.$O: 0.h
        !           351: yylex.$O: yy.h
        !           352: yymain.$O: whoami.h
        !           353: yymain.$O: 0.h
        !           354: yymain.$O: yy.h
        !           355: yymain.$O: objfmt.h
        !           356: yyoptions.$O: whoami.h
        !           357: yyoptions.$O: 0.h
        !           358: yyoptions.$O: yy.h
        !           359: yypanic.$O: whoami.h
        !           360: yypanic.$O: 0.h
        !           361: yypanic.$O: yy.h
        !           362: yyparse.$O: whoami.h
        !           363: yyparse.$O: 0.h
        !           364: yyparse.$O: yy.h
        !           365: yyprint.$O: whoami.h
        !           366: yyprint.$O: 0.h
        !           367: yyprint.$O: yy.h
        !           368: yyput.$O: whoami.h
        !           369: yyput.$O: 0.h
        !           370: yyput.$O: tree.h
        !           371: yyput.$O: yy.h
        !           372: yyrecover.$O: whoami.h
        !           373: yyrecover.$O: 0.h
        !           374: yyrecover.$O: yy.h
        !           375: yyseman.$O: whoami.h
        !           376: yyseman.$O: 0.h
        !           377: yyseman.$O: yy.h
        !           378: yytree.$O: whoami.h
        !           379: yytree.$O: 0.h
        !           380: yytree.$O: tree.h
        !           381: # DEPENDENCIES MUST END AT END OF FILE
        !           382: # IF YOU PUT STUFF HERE IT WILL GO AWAY
        !           383: # see make depend above

unix.superglobalmegacorp.com

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