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