Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin user librumpres



details:   https://anonhg.NetBSD.org/src/rev/2478a39f4c50
branches:  trunk
changeset: 827055:2478a39f4c50
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 10 19:30:06 2017 +0000

description:
user librumpres

diffstat:

 sbin/ifconfig/Makefile |  6 +++---
 sbin/ping6/Makefile    |  7 +++----
 sbin/route/Makefile    |  7 +++----
 3 files changed, 9 insertions(+), 11 deletions(-)

diffs (68 lines):

diff -r 8a7e237a9c0e -r 2478a39f4c50 sbin/ifconfig/Makefile
--- a/sbin/ifconfig/Makefile    Tue Oct 10 19:29:44 2017 +0000
+++ b/sbin/ifconfig/Makefile    Tue Oct 10 19:30:06 2017 +0000
@@ -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 @@
 
 .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>
diff -r 8a7e237a9c0e -r 2478a39f4c50 sbin/ping6/Makefile
--- a/sbin/ping6/Makefile       Tue Oct 10 19:29:44 2017 +0000
+++ b/sbin/ping6/Makefile       Tue Oct 10 19:30:06 2017 +0000
@@ -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 @@
 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>
diff -r 8a7e237a9c0e -r 2478a39f4c50 sbin/route/Makefile
--- a/sbin/route/Makefile       Tue Oct 10 19:29:44 2017 +0000
+++ b/sbin/route/Makefile       Tue Oct 10 19:30:06 2017 +0000
@@ -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 @@
 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")



Home | Main Index | Thread Index | Old Index