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.
This commit is contained in:
parent
e41281f1d2
commit
b94ea15307
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75923
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user