Module Name:    src
Committed By:   christos
Date:           Tue Oct 10 19:28:34 UTC 2017

Modified Files:
        src/lib: Makefile
Added Files:
        src/lib/librumpres: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 src/lib/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/librumpres/Makefile

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

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.252 src/lib/Makefile:1.253
--- src/lib/Makefile:1.252	Tue Aug 22 04:21:36 2017
+++ src/lib/Makefile	Tue Oct 10 15:28:33 2017
@@ -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+=	libquota	# depends on libprop a
 SUBDIR+=	librefuse	# depends on libpuffs
 SUBDIR+=	libisns 	# depends on libpthread
 .if (${MKRUMP} != "no")
-SUBDIR+=	librumpuser	# depends on libpthread
 SUBDIR+=	librumphijack	# depends on librumpclient and libpthread
+SUBDIR+=	librumpres	# depends on librumpclient
+SUBDIR+=	librumpuser	# depends on libpthread
 .endif
 
 .if (${MKNPF} != "no")

Added files:

Index: src/lib/librumpres/Makefile
diff -u /dev/null src/lib/librumpres/Makefile:1.1
--- /dev/null	Tue Oct 10 15:28:34 2017
+++ src/lib/librumpres/Makefile	Tue Oct 10 15:28:33 2017
@@ -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>

Reply via email to