Source-Changes-HG archive

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

[src/trunk]: src/external/bsd add libnv build glue



details:   https://anonhg.NetBSD.org/src/rev/5ac098b7f577
branches:  trunk
changeset: 433336:5ac098b7f577
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 08 14:11:10 2018 +0000

description:
add libnv build glue

diffstat:

 external/bsd/Makefile           |   4 ++--
 external/bsd/libnv/Makefile     |   5 +++++
 external/bsd/libnv/Makefile.inc |  12 ++++++++++++
 external/bsd/libnv/lib/Makefile |  19 +++++++++++++++++++
 4 files changed, 38 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r 74bd538fbc09 -r 5ac098b7f577 external/bsd/Makefile
--- a/external/bsd/Makefile     Sat Sep 08 14:02:15 2018 +0000
+++ b/external/bsd/Makefile     Sat Sep 08 14:11:10 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.60 2018/08/12 13:02:42 christos Exp $
+#      $NetBSD: Makefile,v 1.61 2018/09/08 14:11:10 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -44,6 +44,6 @@
 SUBDIR+= unbound
 .endif
 
-SUBDIR+= blacklist pdisk nvi ppp smbfs
+SUBDIR+= blacklist pdisk nvi ppp smbfs libnv
 
 .include <bsd.subdir.mk>
diff -r 74bd538fbc09 -r 5ac098b7f577 external/bsd/libnv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libnv/Makefile       Sat Sep 08 14:11:10 2018 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2018/09/08 14:11:10 christos Exp $
+
+SUBDIR=        lib
+
+.include <bsd.subdir.mk>
diff -r 74bd538fbc09 -r 5ac098b7f577 external/bsd/libnv/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libnv/Makefile.inc   Sat Sep 08 14:11:10 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile.inc,v 1.1 2018/09/08 14:11:10 christos Exp $
+
+.include <bsd.own.mk>
+
+LIBNV_DIR=     ${NETBSDSRCDIR}/sys/external/bsd/libnv
+LIBNV_DIST=    ${LIBNV_DIR}/dist
+
+#CPPFLAGS+=    -DWITH_MSGIO
+CPPFLAGS+=     -D_VA_LIST_DEFINED -D__FBSDID\(x\)=
+CPPFLAGS+=     -I${LIBNV_DIST}
+
+.PATH:         ${LIBNV_DIST}
diff -r 74bd538fbc09 -r 5ac098b7f577 external/bsd/libnv/lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libnv/lib/Makefile   Sat Sep 08 14:11:10 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/09/08 14:11:11 christos Exp $
+
+LIBISPRIVATE=  yes
+LIB=           nv
+#USE_SHLIBDIR= yes
+#SHLIB_MAJOR=  1
+#SHLIB_MINOR=  0
+
+WARNS?=                5
+
+.include <bsd.init.mk>
+
+#INCS=         nv.h dnv.h
+#INCSDIR=      /usr/include
+#MAN=          nv.3
+
+SRCS=          dnvlist.c msgio.c nvlist.c nvpair.c nv_kern_netbsd.c
+
+.include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index