diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-04-24 20:23:37 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-04-24 20:23:37 +0000 |
commit | ae091bd9b27772cf7a6b60658a6cae629e24cedb (patch) | |
tree | c7a102c9501f673057cf533c63181218d72e7475 /usr.bin/xlint | |
parent | 4c41346aa30b4cee2402225858ca5d693cf48b8c (diff) | |
download | FreeBSD-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/xlint')
-rw-r--r-- | usr.bin/xlint/llib/Makefile | 5 |
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> |