SCCS-vsn: old/pcc/lint/lpass1/Makefile 5.3
SCCS-vsn: old/pcc/lint/lpass2/Makefile 5.3
-# @(#)Makefile 5.2 (Berkeley) %G%
+# @(#)Makefile 5.3 (Berkeley) %G%
MIP= ${.CURDIR}/../../../libexec/pcc/mip
MIP= ${.CURDIR}/../../../libexec/pcc/mip
-CCOM= ${.CURDIR}/../../../libexec/pcc/ccom.vax
PROG= lintpass1
CFLAGS+=-I${MIP} -I. -I${.CURDIR}
PROG= lintpass1
CFLAGS+=-I${MIP} -I. -I${.CURDIR}
-.PATH: ${.CURDIR}/.. ${MIP}
SRCS= cgram.c common.c hash.c lint.c optim.c pftn.c rel.c rodata.c scan.c \
trees.c xdefs.c
BINDIR= /usr/libexec
SRCS= cgram.c common.c hash.c lint.c optim.c pftn.c rel.c rodata.c scan.c \
trees.c xdefs.c
BINDIR= /usr/libexec
yytable yycheck
mv y.tab.c cgram.c
yytable yycheck
mv y.tab.c cgram.c
-pcclocal.h: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcclocal.h: localdefs.h /usr/include/pcc.h
cat ${.ALLSRC} | \
egrep '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
cat ${.ALLSRC} | \
egrep '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
-pcctokens: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcctokens: localdefs.h /usr/include/pcc.h
cat ${.ALLSRC} | \
egrep '^#[ ]*define[ ][ ]*PCC_' | \
sed -e 's/^#[ ]*define[ ][ ]*PCC_/%term /' > \
cat ${.ALLSRC} | \
egrep '^#[ ]*define[ ][ ]*PCC_' | \
sed -e 's/^#[ ]*define[ ][ ]*PCC_/%term /' > \
-# @(#)Makefile 5.2 (Berkeley) %G%
+# @(#)Makefile 5.3 (Berkeley) %G%
MIP= ${.CURDIR}/../../../libexec/pcc/mip
MIP= ${.CURDIR}/../../../libexec/pcc/mip
-CCOM= ${.CURDIR}/../../../libexec/pcc/ccom.vax
PROG= lintpass2
SRCS= hash.c lpass2.c
CFLAGS+=-I${MIP} -I. -I${.CURDIR}/../lpass1
BINDIR= /usr/libexec
PROG= lintpass2
SRCS= hash.c lpass2.c
CFLAGS+=-I${MIP} -I. -I${.CURDIR}/../lpass1
BINDIR= /usr/libexec
-.PATH: ${.CURDIR}/../lpass1
+.PATH: ${.CURDIR}/../lpass1 ${MIP}
+CLEANFILES+=pcclocal.h
NOMAN= noman
.include <bsd.prog.mk>
NOMAN= noman
.include <bsd.prog.mk>
-pcclocal.h: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcclocal.h: localdefs.h /usr/include/pcc.h
cat ${.ALLSRC} | \
egrep '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
cat ${.ALLSRC} | \
egrep '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
sed -e 's/PCC[A-Z]*_//' > ${.TARGET}