NetBSD/lib/npf/mod.mk
joerg 975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00

32 lines
587 B
Makefile

# $NetBSD: mod.mk,v 1.6 2013/09/11 23:04:11 joerg 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>