NetBSD/lib/npf/mod.mk

32 lines
587 B
Makefile
Raw Normal View History

# $NetBSD: mod.mk,v 1.6 2013/09/11 23:04:11 joerg Exp $
.include <bsd.own.mk>
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
#.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
#.endif
.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}
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}
SHLIBINSTALLDIR=${LIBROOTDIR}/npf
.endif
2013-03-11 01:45:46 +04:00
LIB= ${MOD}
SRCS= npf${MOD}.c
LIBDPLIBS+= npf ${NETBSDSRCDIR}/lib/libnpf
.include <bsd.lib.mk>