NetBSD/lib/npf/mod.mk

31 lines
585 B
Makefile

# $NetBSD: mod.mk,v 1.8 2019/08/24 13:20:52 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
LIBDPLIBS+= npf ${NETBSDSRCDIR}/lib/libnpf
.include <bsd.lib.mk>