Makefile revision 151350
150477Speter# $FreeBSD: head/sys/modules/nfsclient/Makefile 151350 2005-10-14 23:30:17Z yar $ 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 15122770Simp# USE THE RPCCLNT: 16122770SimpCFLAGS+= -DRPCCLNT_DEBUG 17122770SimpSRCS+= rpcclnt.c 18122770Simp 19122770Simp# USE THE NEW IDMAPPER 20122770SimpCFLAGS+= -DUSE_NEW_IDMAPPER 21122770Simp 22151350Syar.if !defined(KERNBUILDDIR) 23151350SyarNFS_INET?= 1 # 0/1 - requires INET to be configured in kernel 24151350SyarNFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel 25151350Syar 26134748Sru.if ${NFS_INET} > 0 2783651Speteropt_inet.h: 2837462Sbde echo "#define INET 1" > ${.TARGET} 2932357Seivind.endif 3032357Seivind 31100134Salfred.if ${NFS_INET6} > 0 32100134Salfredopt_inet6.h: 33100134Salfred echo "#define INET6 1" > ${.TARGET} 34100134Salfred.endif 35151350Syar.endif 36100134Salfred 3760966Speter.include <bsd.kmod.mk> 38100134Salfred 39