1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../rpc ${.CURDIR}/../../xdr 4KMOD= krpc 5SRCS= auth_none.c \ 6 auth_unix.c \ 7 authunix_prot.c \ 8 clnt_bck.c \ 9 clnt_dg.c \ 10 clnt_rc.c \ 11 clnt_vc.c \ 12 getnetconfig.c \ 13 rpc_callmsg.c \ 14 rpc_generic.c \ 15 rpc_prot.c \ 16 rpcb_clnt.c \ 17 rpcb_prot.c \ 18 replay.c \ 19 svc.c \ 20 svc_auth.c \ 21 svc_auth_unix.c \ 22 svc_dg.c \ 23 svc_generic.c \ 24 svc_vc.c \ 25 26SRCS+= xdr.c \ 27 xdr_array.c \ 28 xdr_mbuf.c \ 29 xdr_mem.c \ 30 xdr_reference.c \ 31 xdr_sizeof.c 32 33SRCS+= opt_inet6.h 34 35.if !defined(KERNBUILDDIR) 36NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel 37 38.if ${NFS_INET6} > 0 39opt_inet6.h: 40 echo "#define INET6 1" > ${.TARGET} 41.endif 42.endif 43 44.include <bsd.kmod.mk> 45