Makefile revision 131840
150477Speter# $FreeBSD: head/sys/modules/nfsclient/Makefile 131840 2004-07-08 22:35:36Z brian $ 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 2583651Speteropt_inet.h: 2683651Speter touch ${.TARGET} 2771985Speter.if ${NFS_INET} > 0 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 35100134Salfred 3660966Speter.include <bsd.kmod.mk> 37100134Salfred 38