Source-Changes-HG archive

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

[src/trunk]: src/lib Add a library for the rump resolver interception code so...



details:   https://anonhg.NetBSD.org/src/rev/77f21e0dee6e
branches:  trunk
changeset: 827052:77f21e0dee6e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 10 19:28:33 2017 +0000

description:
Add a library for the rump resolver interception code so that it will become
easier to hide resolver internals later.

diffstat:

 lib/Makefile            |   5 +++--
 lib/librumpres/Makefile |  25 +++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 8c4264f3970e -r 77f21e0dee6e lib/Makefile
--- a/lib/Makefile      Tue Oct 10 19:17:57 2017 +0000
+++ b/lib/Makefile      Tue Oct 10 19:28:33 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.252 2017/08/22 08:21:36 mrg Exp $
+#      $NetBSD: Makefile,v 1.253 2017/10/10 19:28:33 christos Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -124,8 +124,9 @@
 SUBDIR+=       librefuse       # depends on libpuffs
 SUBDIR+=       libisns         # depends on libpthread
 .if (${MKRUMP} != "no")
+SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
+SUBDIR+=       librumpres      # depends on librumpclient
 SUBDIR+=       librumpuser     # depends on libpthread
-SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
 .endif
 
 .if (${MKNPF} != "no")
diff -r 8c4264f3970e -r 77f21e0dee6e lib/librumpres/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/librumpres/Makefile   Tue Oct 10 19:28:33 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/10/10 19:28:33 christos Exp $
+
+USE_FORT?=     yes
+USE_SHLIBDIR=   yes
+
+.include <bsd.own.mk>
+
+LIB=   rumpres
+
+SHLIB_MAJOR=0
+SHLIB_MINOR=0
+
+LIBDPLIBS+=     rumpclient    ${.CURDIR}/../librumpclient
+
+.if ${USE_INET6} != "no"
+CPPFLAGS+=      -DINET6
+.endif
+
+.PATH:         ${.CURDIR}/../libc/net
+SRCS=          getaddrinfo.c getifaddrs.c getnameinfo.c
+SRCS+=         if_indextoname.c if_nametoindex.c
+#SRCS+=                gethnamaddr.c sethostent.c
+CPPFLAGS+=     -DRUMP_ACTION
+
+.include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index