From b96cc8c40e5a170012dfbda43de614ea95711516 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 24 Oct 2001 00:07:39 +0000 Subject: [PATCH] Let lint.7 get auto-built by the bsd.man.mk logic (don't explicitly depend on it via "realall:"). Fixes lint.7 problem in src/tools reported by mrg. While here, actually -I the arch subdir to pull in the correct targparam.h. --- usr.bin/xlint/lint1/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.bin/xlint/lint1/Makefile b/usr.bin/xlint/lint1/Makefile index c6546410c0b1..026e228f6c74 100644 --- a/usr.bin/xlint/lint1/Makefile +++ b/usr.bin/xlint/lint1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/10/22 05:19:31 jmc Exp $ +# $NetBSD: Makefile,v 1.16 2001/10/24 00:07:39 tv Exp $ PROG= lint1 SRCS= cgram.y scan.l mem1.c mem.c err.c main1.c decl.c tree.c func.c \ @@ -7,7 +7,7 @@ MAN= lint.7 LDADD+= -ll DPADD+= ${LIBL} YHEADER=1 -CPPFLAGS+=-I${.CURDIR} -I. +CPPFLAGS+=-I${.CURDIR} -I. -I${.CURDIR}/arch/${MACHINE_ARCH} LINTFLAGS=-aehpz WFORMAT=1 #hopeless BINDIR= /usr/libexec @@ -17,8 +17,6 @@ scan.c: cgram.h lint.7: ${PROG} sh ${.CURDIR}/makeman ${.OBJDIR}/${PROG} -m > ${.TARGET} -realall: lint.7 - CLEANFILES+=${MAN} .ifndef HOSTPROG