3 .PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
7 nfs_bio.c nfs_node.c nfs_subs.c nfs_nfsiod.c \
8 nfs_vfsops.c nfs_vnops.c nfs_krpc.c \
9 opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h
10 SRCS+= opt_inet6.h opt_kdtrace.h opt_kgssapi.h
12 .if !defined(KERNBUILDDIR)
13 NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
14 NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel
15 NFS_ROOT?= 1 # 0/1 - requires NFS_ROOT to be configured in kernel
19 echo "#define INET 1" > ${.TARGET}
24 echo "#define INET6 1" > ${.TARGET}
29 echo "#define NFS_ROOT 1" > ${.TARGET}
32 OPT_NFS_ROOT!= cat ${KERNBUILDDIR}/opt_nfsroot.h
33 .if empty(OPT_NFS_ROOT)
44 .include <bsd.kmod.mk>