2000-07-06 05:21:46 +04:00
|
|
|
# $NetBSD: Makefile,v 1.10 2000/07/06 01:21:46 christos Exp $
|
1995-07-04 00:56:35 +04:00
|
|
|
|
|
|
|
PROG= lint1
|
1998-04-09 04:32:31 +04:00
|
|
|
SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \
|
1995-07-04 00:56:35 +04:00
|
|
|
init.c emit.c emit1.c
|
2000-07-06 05:11:23 +04:00
|
|
|
MAN= lint.7
|
1995-07-04 00:56:35 +04:00
|
|
|
LDADD+= -ll
|
|
|
|
DPADD+= ${LIBL}
|
1998-04-09 04:32:31 +04:00
|
|
|
YHEADER=1
|
2000-07-03 06:51:12 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR} -I.
|
1995-07-04 00:56:35 +04:00
|
|
|
LINTFLAGS=-aehpz
|
|
|
|
|
|
|
|
BINDIR= /usr/libexec
|
|
|
|
|
1998-04-09 04:32:31 +04:00
|
|
|
scan.c: cgram.h
|
|
|
|
|
2000-07-06 05:21:46 +04:00
|
|
|
lint.7: ${PROG}
|
2000-07-06 05:11:23 +04:00
|
|
|
sh ${.CURDIR}/makeman ${.OBJDIR}/${PROG} -m > ${.TARGET}
|
|
|
|
|
2000-07-06 05:21:46 +04:00
|
|
|
all: lint.7
|
|
|
|
|
|
|
|
CLEANFILES+=${MAN}
|
|
|
|
|
1995-07-04 00:56:35 +04:00
|
|
|
.include <bsd.prog.mk>
|