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