diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2005-10-14 23:30:17 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2005-10-14 23:30:17 +0000 |
| commit | 822923447e454b30d310cb46903c9ddeca9f0a7a (patch) | |
| tree | 40653d874a438a3202bb62dd66566bfd5b1386c1 /sys/modules/nfsclient | |
| parent | 10d645b7e5a073fc2d4c2bd7472966b4381caf7c (diff) | |
Notes
Diffstat (limited to 'sys/modules/nfsclient')
| -rw-r--r-- | sys/modules/nfsclient/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index 1d7565e719ea..7b4a29d20065 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -12,9 +12,6 @@ SRCS+= nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \ nfs4_vfs_subs.c nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c 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 - # USE THE RPCCLNT: CFLAGS+= -DRPCCLNT_DEBUG SRCS+= rpcclnt.c @@ -22,6 +19,10 @@ SRCS+= rpcclnt.c # USE THE NEW IDMAPPER CFLAGS+= -DUSE_NEW_IDMAPPER +.if !defined(KERNBUILDDIR) +NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel +NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel + .if ${NFS_INET} > 0 opt_inet.h: echo "#define INET 1" > ${.TARGET} @@ -31,6 +32,7 @@ opt_inet.h: opt_inet6.h: echo "#define INET6 1" > ${.TARGET} .endif +.endif .include <bsd.kmod.mk> |
