From 09ce4f7aaf5898daa573253450125b3f86bb946b Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Mon, 15 Jul 2002 19:40:23 +0000 Subject: Add IPv6 support. Submitted by: Jean-Luc Richier --- sys/modules/nfsclient/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/modules/nfsclient') 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 + -- cgit v1.3