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