Annotation of 43BSDReno/pgrm/lint/lpass1/Makefile, revision 1.1.1.1

1.1       root        1: #      @(#)Makefile    5.4 (Berkeley) 7/1/90
                      2: 
                      3: MIP=   ${.CURDIR}/../../../libexec/pcc/mip
                      4: 
                      5: PROG=  lintpass1
                      6: CFLAGS+=-I${MIP} -I. -I${.CURDIR}
                      7: SRCS=  cgram.c common.c hash.c lint.c optim.c pftn.c rel.c rodata.c scan.c \
                      8:        trees.c xdefs.c
                      9: .PATH: ${MIP}
                     10: BINDIR=        /usr/libexec
                     11: MAN1=  lint.0
                     12: CLEANFILES=cgram.c gram.in pcclocal.h pcctokens rodata.c
                     13: 
                     14: .include <bsd.prog.mk>
                     15: 
                     16: rodata.o:
                     17:        $(CC) -c ${CFLAGS} -R ${.IMPSRC}
                     18: 
                     19: common.o:
                     20:        ${CC} -c ${CFLAGS} -DPASS1COMMON ${.IMPSRC}
                     21: 
                     22: rodata.c cgram.c: pcclocal.h pcctokens
                     23:        cat pcctokens ${MIP}/cgram.y > gram.in
                     24:        ${YACC} gram.in
                     25:        yyfix rodata.c yylhs yylen yydefred yydgoto yysindex yyrindex yygindex \
                     26:            yytable yycheck
                     27:        mv y.tab.c cgram.c
                     28: 
                     29: pcclocal.h: localdefs.h /usr/include/pcc.h
                     30:        cat ${.ALLSRC} | \
                     31:           egrep '^#[   ]*(define[      ][      ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
                     32:           sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
                     33: 
                     34: pcctokens: localdefs.h /usr/include/pcc.h
                     35:        cat ${.ALLSRC} | \
                     36:            egrep '^#[  ]*define[       ][      ]*PCC_' | \
                     37:            sed -e 's/^#[       ]*define[       ][      ]*PCC_/%term    /' > \
                     38:            ${.TARGET}

unix.superglobalmegacorp.com

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