Source-Changes-HG archive

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

[src/trunk]: src/lib/libnpf Include libnv directly into this library



details:   https://anonhg.NetBSD.org/src/rev/e68d91f51462
branches:  trunk
changeset: 965010:e68d91f51462
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Aug 27 14:54:17 2019 +0000

description:
Include libnv directly into this library

diffstat:

 lib/libnpf/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 47b220865853 -r e68d91f51462 lib/libnpf/Makefile
--- a/lib/libnpf/Makefile       Tue Aug 27 14:53:38 2019 +0000
+++ b/lib/libnpf/Makefile       Tue Aug 27 14:54:17 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/08/24 13:20:52 rmind Exp $
+# $NetBSD: Makefile,v 1.12 2019/08/27 14:54:17 martin Exp $
 
 USE_SHLIBDIR=   yes
 
@@ -12,11 +12,11 @@
 INCS=          npf.h
 INCSDIR=       /usr/include
 
-LIBNV!=                cd ${NETBSDSRCDIR}/external/bsd/libnv/lib && ${PRINTOBJDIR}
-CPPFLAGS+=     -I${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
+LIBNV_DIST=    ${NETBSDSRCDIR}/external/bsd/libnv/lib
 
-DPADD+=                ${LIBNV}/libnv.a
-LDADD+=                -L${LIBNV} -lnv
+.include "${LIBNV_DIST}/srcs.mk"
+SRCS+=         ${LIBNV_SRCS}
+CPPFLAGS.npf.c +=      -I${NVSRC_DISTPATH}
 
 WARNS=         5
 



Home | Main Index | Thread Index | Old Index