2013-09-12 03:04:09 +04:00
|
|
|
# $NetBSD: mod.mk,v 1.6 2013/09/11 23:04:11 joerg Exp $
|
2013-03-13 00:02:40 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2013-03-11 01:41:05 +04:00
|
|
|
|
2013-03-11 01:45:46 +04:00
|
|
|
WARNS= 5
|
|
|
|
MKLINT= no
|
|
|
|
|
2013-03-13 06:32:05 +04:00
|
|
|
USE_SHLIBDIR= yes
|
2013-03-11 01:45:46 +04:00
|
|
|
LIBISMODULE= yes
|
|
|
|
LIBROOTDIR= /lib
|
2013-03-11 01:41:05 +04:00
|
|
|
|
2013-03-13 00:02:40 +04:00
|
|
|
#.if exists(${.CURDIR}/../../Makefile.inc)
|
2013-03-11 01:41:05 +04:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
2013-03-13 00:02:40 +04:00
|
|
|
#.endif
|
2013-03-11 01:41:05 +04:00
|
|
|
|
|
|
|
.if defined(MLIBDIR)
|
2013-03-11 01:45:46 +04:00
|
|
|
LIBDIR= ${LIBROOTDIR}/${MLIBDIR}/npf
|
2013-03-13 06:32:05 +04:00
|
|
|
SHLIBDIR= ${LIBROOTDIR}/${MLIBDIR}
|
2013-03-11 01:41:05 +04:00
|
|
|
SHLIBINSTALLDIR=${LIBROOTDIR}/${MLIBDIR}/npf
|
|
|
|
.else
|
2013-03-11 01:45:46 +04:00
|
|
|
LIBDIR= ${LIBROOTDIR}/npf
|
2013-03-13 06:32:05 +04:00
|
|
|
SHLIBDIR= ${LIBROOTDIR}
|
2013-03-11 01:41:05 +04:00
|
|
|
SHLIBINSTALLDIR=${LIBROOTDIR}/npf
|
|
|
|
.endif
|
|
|
|
|
2013-03-11 01:45:46 +04:00
|
|
|
LIB= ${MOD}
|
|
|
|
SRCS= npf${MOD}.c
|
2013-03-11 01:41:05 +04:00
|
|
|
|
2013-09-12 03:04:09 +04:00
|
|
|
LIBDPLIBS+= npf ${NETBSDSRCDIR}/lib/libnpf
|
|
|
|
|
2013-03-11 01:41:05 +04:00
|
|
|
.include <bsd.lib.mk>
|