Include libnv directly into this library

This commit is contained in:
martin 2019-08-27 14:54:17 +00:00
parent 9eeffa105b
commit 0c393ecfe5

View File

@ -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