summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-04-24 20:23:37 +0000
committerasmodai <asmodai@FreeBSD.org>2001-04-24 20:23:37 +0000
commitae091bd9b27772cf7a6b60658a6cae629e24cedb (patch)
treec7a102c9501f673057cf533c63181218d72e7475 /usr.bin
parent4c41346aa30b4cee2402225858ca5d693cf48b8c (diff)
downloadFreeBSD-src-ae091bd9b27772cf7a6b60658a6cae629e24cedb.zip
FreeBSD-src-ae091bd9b27772cf7a6b60658a6cae629e24cedb.tar.gz
Wrap lint calling in a variable.
Set LINT to the obj path, since we need to use the new lint's features to create .ln files. We do not want to use the installed version for that, since that might create files according to the old lint. This is still a work in progress to clean this all up, but it gets through buildworld, which was the problem at hand.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/xlint/llib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/xlint/llib/Makefile b/usr.bin/xlint/llib/Makefile
index 203a4af..2c569f5 100644
--- a/usr.bin/xlint/llib/Makefile
+++ b/usr.bin/xlint/llib/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
LIBS= llib-lposix.ln llib-lstdc.ln
+LINT= ${.OBJDIR}/../xlint/xlint
all: ${LIBS}
@@ -13,9 +14,9 @@ clean cleanall:
rm -f ${LIBS}
llib-lposix.ln: llib-lposix
- lint -Cposix ${.ALLSRC}
+ ${LINT} -Cposix ${.ALLSRC}
llib-lstdc.ln: llib-lstdc
- lint -Cstdc ${.ALLSRC}
+ ${LINT} -Cstdc ${.ALLSRC}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud