Don't bring in -lutil for tools.
This commit is contained in:
parent
21f4fe85eb
commit
cd2d88332f
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.15 2008/01/10 05:15:07 lukem Exp $
|
# $NetBSD: Makefile,v 1.16 2008/01/11 00:38:10 lukem Exp $
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../lint1
|
.PATH: ${.CURDIR}/../lint1
|
||||||
.PATH: ${.CURDIR}/../../mkdep
|
.PATH: ${.CURDIR}/../../mkdep
|
||||||
@ -11,7 +11,9 @@ MAN= lint.1
|
|||||||
CPPFLAGS+= -I${.CURDIR}/../lint1
|
CPPFLAGS+= -I${.CURDIR}/../lint1
|
||||||
CPPFLAGS+= -I${.CURDIR}/../../mkdep
|
CPPFLAGS+= -I${.CURDIR}/../../mkdep
|
||||||
|
|
||||||
|
.if (${HOSTPROG:U} == "")
|
||||||
DPADD+= ${LIBUTIL}
|
DPADD+= ${LIBUTIL}
|
||||||
LDADD+= -lutil
|
LDADD+= -lutil
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user