xref: /original-bsd/old/pcc/lint/lpass2/Makefile (revision b7261a4b)
1#	@(#)Makefile	5.4 (Berkeley) 06/19/90
2
3MIP=	${.CURDIR}/../../../libexec/pcc/mip
4
5PROG=	lintpass2
6SRCS=	hash.c lpass2.c
7CFLAGS+=-I${MIP} -I. -I${.CURDIR}/../lpass1
8BINDIR=	/usr/libexec
9.PATH:	${.CURDIR}/../lpass1 ${MIP}
10CLEANFILES+=pcclocal.h
11NOMAN=	noman
12
13.include <bsd.prog.mk>
14
15pcclocal.h: localdefs.h /usr/include/pcc.h
16	cat ${.ALLSRC} | \
17	   egrep '^#[ 	]*(define[ 	][ 	]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
18	   sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
19
20${OBJS} .depend: pcclocal.h
21