xref: /freebsd/sys/modules/nfslockd/Makefile (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc
4KMOD=	nfslockd
5SRCS=	vnode_if.h \
6	nlm_advlock.c \
7	nlm_prot_clnt.c \
8	nlm_prot_impl.c \
9	nlm_prot_server.c \
10	nlm_prot_svc.c \
11	nlm_prot_xdr.c \
12	sm_inter_xdr.c
13SRCS+=	opt_inet6.h opt_nfs.h
14
15.if !defined(KERNBUILDDIR)
16NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel
17
18.if ${NFS_INET6} > 0
19opt_inet6.h:
20	echo "#define INET6 1" > ${.TARGET}
21.endif
22
23.endif
24
25.include <bsd.kmod.mk>
26