summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfslockd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/nfslockd/Makefile')
-rw-r--r--sys/modules/nfslockd/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/modules/nfslockd/Makefile b/sys/modules/nfslockd/Makefile
new file mode 100644
index 0000000..8c02c88
--- /dev/null
+++ b/sys/modules/nfslockd/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc
+KMOD= nfslockd
+SRCS= vnode_if.h \
+ 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
+
+.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
+.endif
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud