summaryrefslogtreecommitdiff
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2017-10-10 19:30:41 +0000
committerchristos <christos@NetBSD.org>2017-10-10 19:30:41 +0000
commit31ef94bc309d23b5ba9a68e0d0ba6ccc5731401f (patch)
tree6a2e5eecc43c26a9089780f44f618f6c3553e31b /usr.sbin/ndp
parent9e5b521441a72f0b7f87b3c6e9a6dee586cff560 (diff)
use librumpres
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ndp/Makefile b/usr.sbin/ndp/Makefile
index 67265fa92b5..31c111c97b0 100644
--- a/usr.sbin/ndp/Makefile
+++ b/usr.sbin/ndp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/12/14 06:17:05 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.13 2017/10/10 19:30:41 christos Exp $
.include <bsd.own.mk>
@@ -14,11 +14,10 @@ MAN= ndp.8
CPPFLAGS+= -DINET6
CPPFLAGS+= -I. -I${TCPDUMP}
-.PATH: ${.CURDIR}/../../lib/libc/net
-RUMPSRCS= getaddrinfo.c getifaddrs.c getnameinfo.c
-RUMPSRCS+= if_indextoname.c if_nametoindex.c
.if (${MKRUMP} != "no")
CPPFLAGS+= -DRUMP_ACTION
+LDADD.rump+= -lrumpres
+DPADD.rump+= ${LIBRUMPRES}
.endif
.include <bsd.prog.mk>