Annotation of 43BSDTahoe/ucb/pascal/pxp/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: #      @(#)Makefile    5.3 (Berkeley) 10/27/87
                      7: #
                      8: SCCSID = "@(#)Makefile 5.3 (Berkeley) 10/27/87"
                      9: DESTDIR=
                     10: ED=    -ex
                     11: AS=    -as
                     12: RM=    rm -f
                     13: EYACC= ../eyacc/eyacc
                     14: CFLAGS=        -O -I. -I${SRCDIR} -w -DRMOTHERS
                     15: SRCDIR=        ../src
                     16: BINDIR=        ../pxp
                     17: #
                     18: # Files which are specific to PXP
                     19: #
                     20: LOCOBJ=        Version.o call.o case.o const.o cset.o error.o fdec.o func.o \
                     21:        lab.o lval.o main.o pmon.o pp.o proc.o rec.o rval.o stat.o \
                     22:        type.o var.o y.tab.o yycomm.o yyerror.o \
                     23:        yymain.o yyput.o rmothers.o
                     24: #
                     25: # Files which are shared with pi and pc0
                     26: #
                     27: SRCOBJ=        TRdata.o hash.o nl.o string.o subr.o tree.o treen.o yycopy.o \
                     28:        yycosts.o yyget.o yyid.o yylex.o yypanic.o yyparse.o yyprint.o \
                     29:        yyrecover.o yyseman.o yytree.o
                     30: SRCSRC=        TRdata.c hash.c nl.c string.c subr.c tree.c treen.c yycopy.c \
                     31:        yycosts.c yyget.c yyid.c yylex.c yypanic.c yyparse.c yyprint.c \
                     32:        yyrecover.c yyseman.c yytree.c
                     33: 
                     34: all: a.out
                     35: 
                     36: a.out: ${LOCOBJ} ${SRCOBJ}
                     37:        ${CC} ${CFLAGS} ${LOCOBJ} ${SRCOBJ}
                     38: 
                     39: ${SRCOBJ}:
                     40:        -ln ${SRCDIR}/$*.c $*.c
                     41:        ${CC} ${CFLAGS} -c $*.c
                     42:        ${RM} $*.c
                     43: 
                     44: y.tab.h y.tab.c: ${SRCDIR}/pas.y
                     45:        ${EYACC} ${SRCDIR}/pas.y >/dev/null
                     46:        ${ED} - y.tab.c < ${SRCDIR}/gram
                     47: 
                     48: newversion: version
                     49:        version > Version.c
                     50: 
                     51: version: version.c Version.o
                     52:        cc -o version version.c Version.o
                     53: 
                     54: opcode.h: ${SRCDIR}/OPnames.h ${SRCDIR}/opc.c
                     55:        ${RM} opcode.h
                     56:        cc ${SRCDIR}/opc.c -o opc
                     57:        ./opc >opcode.h
                     58:        ${RM} opc
                     59: 
                     60: clean:
                     61:        -rm -f a.out core errs version *.bak
                     62:        -rm -f *.o x* y.tab.c y.tab.h opcode.h
                     63: 
                     64: install: a.out
                     65:        install -s a.out ${DESTDIR}/usr/ucb/pxp
                     66: #      cp a.outNOID /usr/ucb/pxp34
                     67: 
                     68: print:
                     69:        @pr Makefile READ_ME
                     70:        @ls -ls | pr
                     71:        @size a.out *.o | pr
                     72: #      @cxref *.c | pr
                     73:        @pr 0.h main.c ${SRCDIR}/pas.y
                     74:        @pr yy.h yy*.c
                     75:        @pr [a-ln-x]*.c
                     76: #      @pr putn.s treen.s yycopy.s
                     77: 
                     78: depend:
                     79:        ls *.c | sed 's;^\([a-zA-Z0-9.]*\)\.c;\1.o: &;' >makedep
                     80:        cd ${SRCDIR}; ls ${SRCSRC} | sed \
                     81:                -e 's;^\([a-zA-Z0-9.]*\)\.c;\1.o: ${SRCDIR}/&;' \
                     82:                >>${BINDIR}/makedep
                     83:        grep '^#[       ]*include' *.h ${SRCDIR}/*.h | sed \
                     84:                -e '/<.*>/d' \
                     85:                -e 's;\(.*\):[^"]*"\([^"]*\)".*;\1: \2;' >>makedep
                     86:        cd ${SRCDIR}; grep '^#[         ]*include' ${SRCSRC} | sed \
                     87:                -e '/<.*>/d' \
                     88:                -e 's;:[^"]*"\([^"]*\)".*;: ${SRCDIR}/\1;' \
                     89:                -e 's;^\([a-zA-Z0-9.]*\)\.c;\1.o;' \
                     90:                -e 's;: ${SRCDIR}/0.h;: 0.h;' \
                     91:                -e 's;: ${SRCDIR}/whoami.h;: whoami.h;' \
                     92:                -e 's;: ${SRCDIR}/opcode.h;: opcode.h;' >>${BINDIR}/makedep
                     93:        grep '^#[       ]*include' *.c | sed \
                     94:                -e '/<.*>/d' \
                     95:                -e 's;:[^"]*"\([^"]*\)".*;: ${SRCDIR}/\1;' \
                     96:                -e 's;^\([a-zA-Z0-9.]*\)\.c;\1.o;' \
                     97:                -e 's;: ${SRCDIR}/0.h;: 0.h;' \
                     98:                -e 's;: ${SRCDIR}/whoami.h;: whoami.h;' \
                     99:                -e 's;: ${SRCDIR}/opcode.h;: opcode.h;' >>makedep
                    100:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                    101:        echo '$$r makedep' >>eddep
                    102:        echo 'w' >>eddep
                    103:        cp Makefile Makefile.bak
                    104:        ed - Makefile < eddep
                    105:        rm eddep makedep
                    106:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                    107:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                    108:        echo '# see make depend above' >> Makefile
                    109: 
                    110: # DO NOT DELETE THIS LINE
                    111: # DEPENDENCIES MUST END AT END OF FILE
                    112: Version.o: Version.c
                    113: call.o: call.c
                    114: case.o: case.c
                    115: const.o: const.c
                    116: cset.o: cset.c
                    117: error.o: error.c
                    118: fdec.o: fdec.c
                    119: func.o: func.c
                    120: lab.o: lab.c
                    121: lval.o: lval.c
                    122: main.o: main.c
                    123: pmon.o: pmon.c
                    124: pp.o: pp.c
                    125: proc.o: proc.c
                    126: rec.o: rec.c
                    127: rmothers.o: rmothers.c
                    128: rval.o: rval.c
                    129: stat.o: stat.c
                    130: type.o: type.c
                    131: var.o: var.c
                    132: version.o: version.c
                    133: y.tab.o: y.tab.c
                    134: yycomm.o: yycomm.c
                    135: yyerror.o: yyerror.c
                    136: yymain.o: yymain.c
                    137: yyput.o: yyput.c
                    138: TRdata.o: ../src/TRdata.c
                    139: hash.o: ../src/hash.c
                    140: nl.o: ../src/nl.c
                    141: string.o: ../src/string.c
                    142: subr.o: ../src/subr.c
                    143: tree.o: ../src/tree.c
                    144: treen.o: ../src/treen.c
                    145: yycopy.o: ../src/yycopy.c
                    146: yycosts.o: ../src/yycosts.c
                    147: yyget.o: ../src/yyget.c
                    148: yyid.o: ../src/yyid.c
                    149: yylex.o: ../src/yylex.c
                    150: yypanic.o: ../src/yypanic.c
                    151: yyparse.o: ../src/yyparse.c
                    152: yyprint.o: ../src/yyprint.c
                    153: yyrecover.o: ../src/yyrecover.c
                    154: yyseman.o: ../src/yyseman.c
                    155: yytree.o: ../src/yytree.c
                    156: ../src/yy.h: y.tab.h
                    157: TRdata.o: whoami.h
                    158: TRdata.o: 0.h
                    159: hash.o: whoami.h
                    160: hash.o: 0.h
                    161: hash.o: ../src/tree_ty.h
                    162: hash.o: ../src/yy.h
                    163: nl.o: whoami.h
                    164: nl.o: 0.h
                    165: nl.o: opcode.h
                    166: nl.o: ../src/objfmt.h
                    167: string.o: whoami.h
                    168: string.o: ../src/align.h
                    169: string.o: 0.h
                    170: string.o: ../src/send.h
                    171: subr.o: whoami.h
                    172: subr.o: 0.h
                    173: tree.o: whoami.h
                    174: tree.o: 0.h
                    175: treen.o: 0.h
                    176: treen.o: ../src/tree_ty.h
                    177: yycopy.o: whoami.h
                    178: yycopy.o: 0.h
                    179: yycopy.o: ../src/tree_ty.h
                    180: yycopy.o: ../src/yy.h
                    181: yycosts.o: whoami.h
                    182: yycosts.o: 0.h
                    183: yycosts.o: ../src/tree_ty.h
                    184: yycosts.o: ../src/yy.h
                    185: yyget.o: whoami.h
                    186: yyget.o: 0.h
                    187: yyget.o: ../src/tree_ty.h
                    188: yyget.o: ../src/yy.h
                    189: yyid.o: whoami.h
                    190: yyid.o: 0.h
                    191: yyid.o: ../src/tree_ty.h
                    192: yyid.o: ../src/yy.h
                    193: yylex.o: whoami.h
                    194: yylex.o: 0.h
                    195: yylex.o: ../src/tree_ty.h
                    196: yylex.o: ../src/yy.h
                    197: yypanic.o: whoami.h
                    198: yypanic.o: 0.h
                    199: yypanic.o: ../src/tree_ty.h
                    200: yypanic.o: ../src/yy.h
                    201: yyparse.o: whoami.h
                    202: yyparse.o: 0.h
                    203: yyparse.o: ../src/tree_ty.h
                    204: yyparse.o: ../src/yy.h
                    205: yyprint.o: whoami.h
                    206: yyprint.o: 0.h
                    207: yyprint.o: ../src/tree_ty.h
                    208: yyprint.o: ../src/yy.h
                    209: yyrecover.o: whoami.h
                    210: yyrecover.o: 0.h
                    211: yyrecover.o: ../src/tree_ty.h
                    212: yyrecover.o: ../src/yy.h
                    213: yyseman.o: whoami.h
                    214: yyseman.o: 0.h
                    215: yyseman.o: ../src/tree_ty.h
                    216: yyseman.o: ../src/yy.h
                    217: yytree.o: whoami.h
                    218: yytree.o: 0.h
                    219: yytree.o: ../src/tree.h
                    220: yytree.o: ../src/tree_ty.h
                    221: call.o: 0.h
                    222: call.o: ../src/tree.h
                    223: case.o: 0.h
                    224: case.o: ../src/tree.h
                    225: const.o: 0.h
                    226: const.o: ../src/tree.h
                    227: cset.o: 0.h
                    228: cset.o: ../src/tree.h
                    229: error.o: whoami.h
                    230: error.o: 0.h
                    231: error.o: ../src/yy.h
                    232: fdec.o: 0.h
                    233: fdec.o: ../src/tree.h
                    234: func.o: 0.h
                    235: func.o: ../src/tree.h
                    236: lab.o: 0.h
                    237: lval.o: 0.h
                    238: lval.o: ../src/tree.h
                    239: main.o: 0.h
                    240: pmon.o: 0.h
                    241: pp.o: 0.h
                    242: proc.o: 0.h
                    243: proc.o: ../src/tree.h
                    244: rec.o: 0.h
                    245: rmothers.o: 0.h
                    246: rmothers.o: ../src/tree.h
                    247: rval.o: 0.h
                    248: rval.o: ../src/tree.h
                    249: stat.o: 0.h
                    250: stat.o: ../src/tree.h
                    251: type.o: 0.h
                    252: type.o: ../src/tree.h
                    253: var.o: 0.h
                    254: var.o: ../src/tree.h
                    255: y.tab.o: whoami.h
                    256: y.tab.o: 0.h
                    257: y.tab.o: ../src/tree_ty.h
                    258: y.tab.o: ../src/yy.h
                    259: y.tab.o: ../src/tree.h
                    260: yycomm.o: whoami.h
                    261: yycomm.o: 0.h
                    262: yycomm.o: ../src/yy.h
                    263: yyerror.o: whoami.h
                    264: yyerror.o: 0.h
                    265: yyerror.o: ../src/yy.h
                    266: yymain.o: whoami.h
                    267: yymain.o: 0.h
                    268: yymain.o: ../src/yy.h
                    269: yyput.o: whoami.h
                    270: yyput.o: 0.h
                    271: yyput.o: ../src/tree.h
                    272: yyput.o: ../src/yy.h
                    273: # DEPENDENCIES MUST END AT END OF FILE
                    274: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                    275: # 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.