[BACK]Return to mod.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / npf

File: [cvs.NetBSD.org] / src / lib / npf / mod.mk (download)

Revision 1.7, Sat Sep 29 14:41:36 2018 UTC (23 months, 2 weeks ago) by rmind
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.6: +3 -2 lines

NPF: Major rework -- migrate NPF to the libnv library.
- This conversion significantly simplifies the code and moves NPF to
  a binary serialisation format (replacing the XML-like format).
- Fix some memory/reference leaks and possibly use-after-free bugs.
- Bump NPF_VERSION as this change makes libnpf incompatible with the
  previous versions.  Also, different serialisation format means NPF
  connection/config saving and loading is not compatible with the
  previous versions either.

Thanks to christos@ for extra testing.

#	$NetBSD: mod.mk,v 1.7 2018/09/29 14:41:36 rmind Exp $

.include <bsd.own.mk>

WARNS=		5
MKLINT=		no

USE_SHLIBDIR=	yes
LIBISMODULE=	yes
LIBROOTDIR=	/lib

#.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
#.endif

.if defined(MLIBDIR)
LIBDIR=		${LIBROOTDIR}/${MLIBDIR}/npf
SHLIBDIR=	${LIBROOTDIR}/${MLIBDIR}
SHLIBINSTALLDIR=${LIBROOTDIR}/${MLIBDIR}/npf
.else
LIBDIR=		${LIBROOTDIR}/npf
SHLIBDIR=	${LIBROOTDIR}
SHLIBINSTALLDIR=${LIBROOTDIR}/npf
.endif

LIB=		${MOD}
SRCS=		npf${MOD}.c

CPPFLAGS+=	-I ${NETBSDSRCDIR}/sys/external/bsd/libnv/dist
LIBDPLIBS+=	npf ${NETBSDSRCDIR}/lib/libnpf

.include <bsd.lib.mk>