Annotation of 43BSDTahoe/ucb/pascal/pi/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: # Copyright (c) 1980 Regents of the University of California.
                      3: # All rights reserved.  The Berkeley software License Agreement
                      4: # specifies the terms and conditions for redistribution.
                      5: #
                      6: #      @(#)pimakefile  5.2 (Berkeley) 9/7/85
                      7: #
                      8: SCCSID = "@(#)pimakefile 5.2 9/7/85"
                      9: 
                     10: INSTALLDIR = ${DESTDIR}/usr/ucb
                     11: INSTALLNAME = ${INSTALLDIR}/pi
                     12: BINDIR = ../pi
                     13: SRCDIR = ../src
                     14: VPATH = ../src
                     15: WHOAMI = pi
                     16: VERSION = 3.1
                     17: DATE = 9/7/85
                     18: 
                     19: MKSTR = /usr/ucb/mkstr
                     20: EYACC = ../eyacc/eyacc
                     21: RM = -rm -f
                     22: TOUCH = touch -f
                     23: 
                     24: CFLAGS = -O
                     25: LDFLAGS = -z
                     26: 
                     27: LIBDIR = ${DESTDIR}/usr/lib
                     28: TMPDIR = tmp
                     29: 
                     30: ERRORSTRINGS = ${WHOAMI}${VERSION}strings
                     31: OLDSTRINGS = ${WHOAMI}[0-9]*.[0-9]*strings
                     32: HOWFILE = how_${WHOAMI}
                     33: 
                     34: SRCS = ato.c \
                     35:        call.c case.c clas.c const.c conv.c cset.c \
                     36:        error.c fdec.c fend.c fhdr.c flvalue.c forop.c func.c gen.c hash.c \
                     37:        lab.c lookup.c lval.c stklval.c \
                     38:        main.c nl.c proc.c put.c \
                     39:        rec.c rval.c stkrval.c\
                     40:        savenl.c \
                     41:        stat.c string.c subr.c \
                     42:        tmps.c tree.c type.c var.c \
                     43:        TRdata.c \
                     44:        treen.c yycopy.c \
                     45:        yycosts.c yyerror.c yyget.c yyid.c yylex.c yymain.c yyoptions.c \
                     46:        yypanic.c yyparse.c yyprint.c yyput.c yyrecover.c yyseman.c yytree.c \
                     47:        p2put.c stab.c pcproc.c pcfunc.c pccaseop.c pclval.c sconv.c
                     48: 
                     49: HDRS = 0.h OPnames.h align.h iorec.h objfmt.h pstab.h pc.h \
                     50:        send.h tree.h whoami.h yy.h config.h
                     51: 
                     52: OTHERS = pas.y opc.c CONFIG.c gram pic.c
                     53: 
                     54: OBJS = ato.o \
                     55:        call.o case.o clas.o const.o conv.o cset.o \
                     56:        error.o fdec.o fend.o fhdr.o flvalue.o forop.o func.o gen.o hash.o \
                     57:        lab.o lookup.o lval.o stklval.o \
                     58:        main.o nl.o proc.o put.o \
                     59:        rec.o rval.o stkrval.o\
                     60:        savenl.o \
                     61:        stat.o string.o subr.o \
                     62:        tmps.o tree.o type.o var.o \
                     63:        TRdata.o \
                     64:        treen.o yycopy.o \
                     65:        yycosts.o yyerror.o yyget.o yyid.o yylex.o yymain.o yyoptions.o \
                     66:        yypanic.o yyparse.o yyprint.o yyput.o yyrecover.o yyseman.o yytree.o \
                     67:        p2put.o stab.o pcproc.o pcfunc.o pccaseop.o pclval.o sconv.o
                     68: 
                     69: a.out: ${OBJS} y.tab.o config.c
                     70:        ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} y.tab.o config.c
                     71: 
                     72: ${OBJS}:
                     73:        ${RM} `basename $@ .o`.c
                     74:        cd ${SRCDIR}; \
                     75:            ${MKSTR} - ${BINDIR}/${ERRORSTRINGS} ${BINDIR}/ `basename $@ .o`.c
                     76:        ${CC} ${CFLAGS} -I. -I${SRCDIR} -c `basename $@ .o`.c
                     77:        ${RM} `basename $@ .o`.c
                     78: 
                     79: lint:
                     80:        cd ${SRCDIR}; lint -I. -I${BINDIR} ${SRCS} ${BINDIR}/*.c
                     81: 
                     82: y.tab.h: ${SRCDIR}/pas.y ${SRCDIR}/gram
                     83:        ${RM} y.tab.h y.tab.c
                     84:        ${EYACC} ${SRCDIR}/pas.y > /dev/null
                     85:        ex - y.tab.c <${SRCDIR}/gram
                     86:        @echo that makes y.tab.h and y.tab.c
                     87: y.tab.o: y.tab.c y.tab.h
                     88:        ${RM} x.y.tab.c
                     89:        ${MKSTR} - ${ERRORSTRINGS} x. y.tab.c
                     90:        ${CC} ${CFLAGS} -I${SRCDIR} -I. -c x.y.tab.c
                     91:        mv x.y.tab.o y.tab.o
                     92:        ${RM} x.y.tab.c
                     93: 
                     94: picture: ${SRCDIR}/OPnames.h ${SRCDIR}/pic.c
                     95:        ${RM} picture
                     96:        cc ${SRCDIR}/pic.c -o pic
                     97:        pic >picture
                     98:        ${RM} pic
                     99: 
                    100: opcode.h: ${SRCDIR}/OPnames.h ${SRCDIR}/opc.c
                    101:        ${RM} opcode.h
                    102:        cc ${SRCDIR}/opc.c -o opc
                    103:        opc >opcode.h
                    104:        ${RM} opc
                    105: 
                    106: ${SRCDIR}/0.h:
                    107:        ${TOUCH} ${SRCDIR}/0.h
                    108: 
                    109: config.c: ${SRCDIR}/CONFIG.c
                    110:        sed -e "s?VERSION?${VERSION}?g" \
                    111:            -e "s?DATE?${DATE}?g" \
                    112:            -e "s?INSTALLDIR?${INSTALLDIR}?g" \
                    113:            -e "s?LIBDIR?${LIBDIR}?g" \
                    114:            -e "s?ERRORSTRINGS?${ERRORSTRINGS}?g" \
                    115:            -e "s?HOWFILE?${HOWFILE}?g" \
                    116:            < ${SRCDIR}/CONFIG.c >config.c
                    117: 
                    118: clean:
                    119:        ${RM} *.o *.c
                    120:        ${RM} y.tab.h y.tab.c y.tab.out
                    121:        ${RM} ${WHOAMI}*strings
                    122:        ${RM} config.c opcode.h picture
                    123:        ${RM} a.out core *.list *.bak errs
                    124:        ${RM} opc pic tags
                    125: 
                    126: install: a.out
                    127:        ${RM} ${LIBDIR}/${OLDSTRINGS}
                    128:        install -c -m 664 ${ERRORSTRINGS} ${LIBDIR}/${ERRORSTRINGS}
                    129:        install -s -m 775 a.out ${INSTALLNAME}
                    130: 
                    131: depend: ${SRCS} opcode.h y.tab.h
                    132:        mkdep ${CFLAGS} -I. ${SRCS}
                    133: 
                    134: # DO NOT DELETE THIS LINE -- mkdep uses it.
                    135: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
                    136: 
                    137: ato.o: ../src/ato.c whoami.h ../src/0.h /usr/include/stdio.h
                    138: ato.o: /usr/include/sys/types.h
                    139: call.o: ../src/call.c whoami.h ../src/0.h /usr/include/stdio.h
                    140: call.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    141: call.o: ../src/align.h ../src/tmps.h ../src/tree_ty.h
                    142: case.o: ../src/case.c whoami.h ../src/0.h /usr/include/stdio.h
                    143: case.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/tree_ty.h
                    144: clas.o: ../src/clas.c whoami.h ../src/0.h /usr/include/stdio.h
                    145: clas.o: /usr/include/sys/types.h ../src/tree.h ../src/tree_ty.h
                    146: const.o: ../src/const.c whoami.h ../src/0.h /usr/include/stdio.h
                    147: const.o: /usr/include/sys/types.h ../src/tree.h ../src/tree_ty.h
                    148: conv.o: ../src/conv.c whoami.h ../src/0.h /usr/include/stdio.h
                    149: conv.o: /usr/include/sys/types.h opcode.h ../src/tree_ty.h
                    150: cset.o: ../src/cset.c whoami.h ../src/0.h /usr/include/stdio.h
                    151: cset.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    152: cset.o: ../src/tree_ty.h
                    153: error.o: ../src/error.c whoami.h ../src/0.h /usr/include/stdio.h
                    154: error.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    155: fdec.o: ../src/fdec.c whoami.h ../src/0.h /usr/include/stdio.h
                    156: fdec.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    157: fdec.o: ../src/align.h ../src/tmps.h
                    158: fend.o: ../src/fend.c whoami.h ../src/0.h /usr/include/stdio.h
                    159: fend.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    160: fend.o: ../src/align.h ../src/tmps.h ../src/tree_ty.h
                    161: fhdr.o: ../src/fhdr.c whoami.h ../src/0.h /usr/include/stdio.h
                    162: fhdr.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    163: fhdr.o: ../src/align.h ../src/tree_ty.h
                    164: flvalue.o: ../src/flvalue.c whoami.h ../src/0.h /usr/include/stdio.h
                    165: flvalue.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    166: flvalue.o: ../src/tree_ty.h ../src/tmps.h
                    167: forop.o: ../src/forop.c whoami.h ../src/0.h /usr/include/stdio.h
                    168: forop.o: /usr/include/sys/types.h opcode.h ../src/tree.h ../src/objfmt.h
                    169: forop.o: ../src/tmps.h ../src/tree_ty.h
                    170: func.o: ../src/func.c whoami.h ../src/0.h /usr/include/stdio.h
                    171: func.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/tree_ty.h
                    172: gen.o: ../src/gen.c whoami.h ../src/0.h /usr/include/stdio.h
                    173: gen.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    174: hash.o: ../src/hash.c whoami.h ../src/0.h /usr/include/stdio.h
                    175: hash.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    176: lab.o: ../src/lab.c whoami.h ../src/0.h /usr/include/stdio.h
                    177: lab.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    178: lab.o: ../src/tree_ty.h
                    179: lookup.o: ../src/lookup.c whoami.h ../src/0.h /usr/include/stdio.h
                    180: lookup.o: /usr/include/sys/types.h
                    181: lval.o: ../src/lval.c whoami.h ../src/0.h /usr/include/stdio.h
                    182: lval.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    183: lval.o: ../src/tree_ty.h
                    184: stklval.o: ../src/stklval.c whoami.h ../src/0.h /usr/include/stdio.h
                    185: stklval.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    186: stklval.o: ../src/tree_ty.h
                    187: main.o: ../src/main.c whoami.h ../src/0.h /usr/include/stdio.h
                    188: main.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    189: main.o: /usr/include/signal.h /usr/include/machine/trap.h ../src/objfmt.h
                    190: main.o: ../src/config.h
                    191: nl.o: ../src/nl.c whoami.h ../src/0.h /usr/include/stdio.h
                    192: nl.o: /usr/include/sys/types.h opcode.h ../src/objfmt.h
                    193: proc.o: ../src/proc.c whoami.h ../src/0.h /usr/include/stdio.h
                    194: proc.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    195: proc.o: ../src/tmps.h ../src/tree_ty.h
                    196: put.o: ../src/put.c whoami.h opcode.h ../src/0.h /usr/include/stdio.h
                    197: put.o: /usr/include/sys/types.h ../src/objfmt.h ../src/OPnames.h
                    198: rec.o: ../src/rec.c whoami.h ../src/0.h /usr/include/stdio.h
                    199: rec.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/align.h
                    200: rec.o: ../src/tree_ty.h
                    201: rval.o: ../src/rval.c whoami.h ../src/0.h /usr/include/stdio.h
                    202: rval.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    203: rval.o: ../src/tmps.h ../src/tree_ty.h
                    204: stkrval.o: ../src/stkrval.c whoami.h ../src/0.h /usr/include/stdio.h
                    205: stkrval.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    206: stkrval.o: ../src/align.h ../src/tree_ty.h
                    207: savenl.o: ../src/savenl.c whoami.h ../src/0.h /usr/include/stdio.h
                    208: savenl.o: /usr/include/sys/types.h ../src/objfmt.h ../src/../pdx/defs.h
                    209: savenl.o: /usr/include/stdio.h ../src/../pdx/object.h
                    210: savenl.o: ../src/../pdx/object/objsym.rep ../src/../pdx/mappings.h
                    211: savenl.o: ../src/../pdx/mappings/filetab.h
                    212: stat.o: ../src/stat.c whoami.h ../src/0.h /usr/include/stdio.h
                    213: stat.o: /usr/include/sys/types.h ../src/tree.h ../src/objfmt.h ../src/tmps.h
                    214: stat.o: opcode.h ../src/tree_ty.h
                    215: string.o: ../src/string.c whoami.h ../src/align.h ../src/0.h
                    216: string.o: /usr/include/stdio.h /usr/include/sys/types.h
                    217: subr.o: ../src/subr.c whoami.h ../src/0.h /usr/include/stdio.h
                    218: subr.o: /usr/include/sys/types.h /usr/include/sys/stat.h
                    219: tmps.o: ../src/tmps.c whoami.h ../src/0.h /usr/include/stdio.h
                    220: tmps.o: /usr/include/sys/types.h ../src/objfmt.h ../src/align.h ../src/tmps.h
                    221: tree.o: ../src/tree.c whoami.h ../src/0.h /usr/include/stdio.h
                    222: tree.o: /usr/include/sys/types.h
                    223: type.o: ../src/type.c whoami.h ../src/0.h /usr/include/stdio.h
                    224: type.o: /usr/include/sys/types.h ../src/tree.h ../src/objfmt.h ../src/tree_ty.h
                    225: var.o: ../src/var.c whoami.h ../src/0.h /usr/include/stdio.h
                    226: var.o: /usr/include/sys/types.h ../src/objfmt.h ../src/align.h ../src/iorec.h
                    227: var.o: /usr/include/stdio.h ../src/tmps.h ../src/tree_ty.h
                    228: TRdata.o: ../src/TRdata.c whoami.h ../src/0.h /usr/include/stdio.h
                    229: TRdata.o: /usr/include/sys/types.h
                    230: treen.o: ../src/treen.c ../src/0.h /usr/include/stdio.h
                    231: treen.o: /usr/include/sys/types.h ../src/tree_ty.h
                    232: yycopy.o: ../src/yycopy.c whoami.h ../src/0.h /usr/include/stdio.h
                    233: yycopy.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    234: yycosts.o: ../src/yycosts.c whoami.h ../src/0.h /usr/include/stdio.h
                    235: yycosts.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    236: yyerror.o: ../src/yyerror.c whoami.h ../src/0.h /usr/include/stdio.h
                    237: yyerror.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    238: yyget.o: ../src/yyget.c whoami.h ../src/0.h /usr/include/stdio.h
                    239: yyget.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    240: yyid.o: ../src/yyid.c whoami.h ../src/0.h /usr/include/stdio.h
                    241: yyid.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    242: yylex.o: ../src/yylex.c whoami.h ../src/0.h /usr/include/stdio.h
                    243: yylex.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    244: yymain.o: ../src/yymain.c whoami.h ../src/0.h /usr/include/stdio.h
                    245: yymain.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    246: yymain.o: /usr/include/a.out.h /usr/include/sys/exec.h ../src/objfmt.h
                    247: yymain.o: /usr/include/signal.h /usr/include/machine/trap.h ../src/config.h
                    248: yyoptions.o: ../src/yyoptions.c whoami.h ../src/0.h /usr/include/stdio.h
                    249: yyoptions.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    250: yypanic.o: ../src/yypanic.c whoami.h ../src/0.h /usr/include/stdio.h
                    251: yypanic.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    252: yyparse.o: ../src/yyparse.c whoami.h ../src/0.h /usr/include/stdio.h
                    253: yyparse.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    254: yyprint.o: ../src/yyprint.c whoami.h ../src/0.h /usr/include/stdio.h
                    255: yyprint.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    256: yyput.o: ../src/yyput.c whoami.h ../src/0.h /usr/include/stdio.h
                    257: yyput.o: /usr/include/sys/types.h ../src/tree.h ../src/tree_ty.h ../src/yy.h
                    258: yyput.o: y.tab.h
                    259: yyrecover.o: ../src/yyrecover.c whoami.h ../src/0.h /usr/include/stdio.h
                    260: yyrecover.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    261: yyseman.o: ../src/yyseman.c whoami.h ../src/0.h /usr/include/stdio.h
                    262: yyseman.o: /usr/include/sys/types.h ../src/tree_ty.h ../src/yy.h y.tab.h
                    263: yytree.o: ../src/yytree.c whoami.h ../src/0.h /usr/include/stdio.h
                    264: yytree.o: /usr/include/sys/types.h ../src/tree.h ../src/tree_ty.h
                    265: p2put.o: ../src/p2put.c whoami.h
                    266: stab.o: ../src/stab.c whoami.h
                    267: pcproc.o: ../src/pcproc.c whoami.h
                    268: pcfunc.o: ../src/pcfunc.c whoami.h
                    269: pccaseop.o: ../src/pccaseop.c whoami.h
                    270: pclval.o: ../src/pclval.c whoami.h ../src/0.h /usr/include/stdio.h
                    271: pclval.o: /usr/include/sys/types.h ../src/tree.h opcode.h ../src/objfmt.h
                    272: pclval.o: ../src/tree_ty.h
                    273: sconv.o: ../src/sconv.c whoami.h
                    274: 
                    275: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

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