975a152cfc
explicitly, even if the DT_NEEDED closure would normally already ensure the presence.
32 lines
587 B
Makefile
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>
|