Module Name: src
Committed By: martin
Date: Tue Aug 27 14:54:17 UTC 2019
Modified Files:
src/lib/libnpf: Makefile
Log Message:
Include libnv directly into this library
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libnpf/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/libnpf/Makefile
diff -u src/lib/libnpf/Makefile:1.11 src/lib/libnpf/Makefile:1.12
--- src/lib/libnpf/Makefile:1.11 Sat Aug 24 13:20:52 2019
+++ src/lib/libnpf/Makefile Tue Aug 27 14:54:17 2019
@@ -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 @@ SRCS= npf.c
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