summaryrefslogtreecommitdiffstats
path: root/sys/modules/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/nfs')
-rw-r--r--sys/modules/nfs/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/modules/nfs/Makefile b/sys/modules/nfs/Makefile
new file mode 100644
index 0000000..34d4006
--- /dev/null
+++ b/sys/modules/nfs/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../nfs
+KMOD= nfs
+SRCS= vnode_if.h \
+ nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
+ nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
+ nfs_vnops.c opt_inet.h opt_nfs.h opt_vmpage.h opt_bootp.h
+NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
+NOMAN=
+
+opt_inet.h:
+ touch ${.TARGET}
+.if ${NFS_INET} > 0
+ echo "#define INET 1" > ${.TARGET}
+.endif
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud