Module Name:    src
Committed By:   christos
Date:           Tue Oct 10 19:30:06 UTC 2017

Modified Files:
        src/sbin/ifconfig: Makefile
        src/sbin/ping6: Makefile
        src/sbin/route: Makefile

Log Message:
user librumpres


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sbin/ifconfig/Makefile
cvs rdiff -u -r1.16 -r1.17 src/sbin/ping6/Makefile
cvs rdiff -u -r1.29 -r1.30 src/sbin/route/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/ifconfig/Makefile
diff -u src/sbin/ifconfig/Makefile:1.60 src/sbin/ifconfig/Makefile:1.61
--- src/sbin/ifconfig/Makefile:1.60	Wed Feb  8 18:34:15 2017
+++ src/sbin/ifconfig/Makefile	Tue Oct 10 15:30:06 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.60 2017/02/08 23:34:15 rin Exp $
+#	$NetBSD: Makefile,v 1.61 2017/10/10 19:30:06 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/5/93
 
 # when making a change to this file, please check if the change is
@@ -22,10 +22,10 @@ SRCS+=		af_inet6.c
 
 .include "Makefile.common"
 
-.PATH:		${.CURDIR}/../../lib/libc/net
-RUMPSRCS=	getifaddrs.c getnameinfo.c if_indextoname.c
 .if (${MKRUMP} != "no")
 CPPFLAGS+=	-DRUMP_ACTION
+LDADD.rump +=	-lrumpres
+DPADD.rump +=	${LIBRUMPRES}
 .endif
 
 .include <bsd.prog.mk>

Index: src/sbin/ping6/Makefile
diff -u src/sbin/ping6/Makefile:1.16 src/sbin/ping6/Makefile:1.17
--- src/sbin/ping6/Makefile:1.16	Wed Sep  9 06:06:05 2015
+++ src/sbin/ping6/Makefile	Tue Oct 10 15:30:06 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2015/09/09 10:06:05 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.17 2017/10/10 19:30:06 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -15,11 +15,10 @@ CPPFLAGS+=	-DIPSEC
 LDADD+=		-lipsec -lm
 DPADD+=		${LIBIPSEC} ${LIBM}
 
-.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>

Index: src/sbin/route/Makefile
diff -u src/sbin/route/Makefile:1.29 src/sbin/route/Makefile:1.30
--- src/sbin/route/Makefile:1.29	Mon Sep 14 01:12:52 2015
+++ src/sbin/route/Makefile	Tue Oct 10 15:30:06 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.29 2015/09/14 05:12:52 ozaki-r Exp $
+#	$NetBSD: Makefile,v 1.30 2017/10/10 19:30:06 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/5/93
 
 .include <bsd.own.mk>
@@ -7,11 +7,10 @@ RUMPPRG=route
 MAN=	route.8
 SRCS=	route.c show.c keywords.c rtutil.c
 
-.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
 
 .if (${USE_INET6} != "no")

Reply via email to