Makefile revision 134748
150477Speter# $FreeBSD: head/sys/modules/nfsclient/Makefile 134748 2004-09-04 06:37:58Z ru $ 22998Swollman 3122770Simp.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \ 4122770Simp ${.CURDIR}/../../nfs ${.CURDIR}/../../rpc 5122770Simp 683651SpeterKMOD= nfsclient 783651SpeterSRCS= vnode_if.h \ 883702Speter nfs_bio.c nfs_lock.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \ 983651Speter nfs_vfsops.c nfs_vnops.c nfs_common.c \ 10131840Sbrian opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h 11122770SimpSRCS+= nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \ 12122770Simp nfs4_vfs_subs.c nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c 13100134SalfredSRCS+= opt_inet6.h 1470711Sobrien 1532357SeivindNFS_INET?= 1 # 0/1 - requires INET to be configured in kernel 16100134SalfredNFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel 1732357Seivind 18122770Simp# USE THE RPCCLNT: 19122770SimpCFLAGS+= -DRPCCLNT_DEBUG 20122770SimpSRCS+= rpcclnt.c 21122770Simp 22122770Simp# USE THE NEW IDMAPPER 23122770SimpCFLAGS+= -DUSE_NEW_IDMAPPER 24122770Simp 25134748Sru.if ${NFS_INET} > 0 2683651Speteropt_inet.h: 2737462Sbde echo "#define INET 1" > ${.TARGET} 2832357Seivind.endif 2932357Seivind 30100134Salfred.if ${NFS_INET6} > 0 31100134Salfredopt_inet6.h: 32100134Salfred echo "#define INET6 1" > ${.TARGET} 33100134Salfred.endif 34100134Salfred 3560966Speter.include <bsd.kmod.mk> 36100134Salfred 37