aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-06-14 03:32:49 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-06-14 03:32:49 +0000
commitc090bf86eb782a28165ff3bb4d4f5952882c2bea (patch)
tree0291488ed23b6b04cb54961eea3a09044211b303 /usr.bin/xlint
parentc55c82f66970f6a0f9200a28df274a0731ee6221 (diff)
Notes
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/llib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/xlint/llib/Makefile b/usr.bin/xlint/llib/Makefile
index 9f1e3c1568ed..8ee7e1787cd2 100644
--- a/usr.bin/xlint/llib/Makefile
+++ b/usr.bin/xlint/llib/Makefile
@@ -8,6 +8,8 @@ FILESDIR= ${LINTLIBDIR}
CLEANFILES+= ${LIBS}
+
+
llib-lposix.ln: llib-lposix
${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
@@ -15,3 +17,7 @@ llib-lstdc.ln: llib-lstdc
${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
.include <bsd.prog.mk>
+
+.if ${MK_META_MODE} == "yes"
+LINTFLAGS+= -I${STAGE_INCLUDEDIR}
+.endif