3 .PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \
4 ${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
8 nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
9 nfs_vfsops.c nfs_vnops.c nfs_common.c \
10 opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
11 SRCS+= nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \
12 nfs4_vfs_subs.c nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c
16 CFLAGS+= -DRPCCLNT_DEBUG
19 # USE THE NEW IDMAPPER
20 CFLAGS+= -DUSE_NEW_IDMAPPER
22 .if !defined(KERNBUILDDIR)
23 NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
24 NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
25 NFS_ROOT?= 1 # 0/1 - requires NFS_ROOT to be configured in kernel
29 echo "#define INET 1" > ${.TARGET}
34 echo "#define INET6 1" > ${.TARGET}
39 echo "#define NFS_ROOT 1" > ${.TARGET}
42 OPT_NFS_ROOT!= cat ${KERNBUILDDIR}/opt_nfsroot.h
43 .if empty(OPT_NFS_ROOT)
54 .include <bsd.kmod.mk>