aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/nfsclient/Makefile
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-15 19:40:23 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-15 19:40:23 +0000
commit09ce4f7aaf5898daa573253450125b3f86bb946b (patch)
tree08c1766490b20ea5dcdd86157dd05bf33f410b18 /sys/modules/nfsclient/Makefile
parent702b2a722be2fd42ac517e65dd8437aa5c819abf (diff)
downloadsrc-09ce4f7aaf5898daa573253450125b3f86bb946b.tar.gz
src-09ce4f7aaf5898daa573253450125b3f86bb946b.zip
Add IPv6 support.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
Notes
Notes: svn path=/head/; revision=100134
Diffstat (limited to 'sys/modules/nfsclient/Makefile')
-rw-r--r--sys/modules/nfsclient/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index 55fcd880334e..0d2505ae1c1b 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/Makefile
@@ -6,8 +6,10 @@ SRCS= vnode_if.h \
nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
nfs_vfsops.c nfs_vnops.c nfs_common.c \
opt_inet.h opt_nfs.h opt_bootp.h
+SRCS+= opt_inet6.h
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
+NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
opt_inet.h:
touch ${.TARGET}
@@ -15,4 +17,10 @@ opt_inet.h:
echo "#define INET 1" > ${.TARGET}
.endif
+.if ${NFS_INET6} > 0
+opt_inet6.h:
+ echo "#define INET6 1" > ${.TARGET}
+.endif
+
.include <bsd.kmod.mk>
+