freebsd-dev/sys/modules/nfslockd/Makefile

26 lines
456 B
Makefile
Raw Normal View History

2008-03-27 11:55:03 +00:00
# $FreeBSD$
.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc
KMOD= nfslockd
SRCS= vnode_if.h \
nlm_advlock.c \
2008-03-27 11:55:03 +00:00
nlm_prot_clnt.c \
nlm_prot_impl.c \
nlm_prot_server.c \
nlm_prot_svc.c \
nlm_prot_xdr.c \
sm_inter_xdr.c
SRCS+= opt_inet6.h opt_nfs.h
2008-03-27 11:55:03 +00:00
.if !defined(KERNBUILDDIR)
NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
.if ${NFS_INET6} > 0
opt_inet6.h:
echo "#define INET6 1" > ${.TARGET}
.endif
2008-03-27 11:55:03 +00:00
.endif
.include <bsd.kmod.mk>