1.PATH: ${SRCTOP}/sys/rpc ${SRCTOP}/sys/rpc/rpcsec_tls 2KMOD= krpc 3SRCS= auth_none.c \ 4 auth_unix.c \ 5 authunix_prot.c \ 6 clnt_bck.c \ 7 clnt_dg.c \ 8 clnt_rc.c \ 9 clnt_vc.c \ 10 getnetconfig.c \ 11 rpc_callmsg.c \ 12 rpc_generic.c \ 13 rpc_prot.c \ 14 rpcb_clnt.c \ 15 rpcb_prot.c \ 16 replay.c \ 17 svc.c \ 18 svc_auth.c \ 19 svc_auth_unix.c \ 20 svc_dg.c \ 21 svc_generic.c \ 22 svc_vc.c 23 24SRCS+= rpctls_impl.c auth_tls.c 25 26SRCS+= opt_inet6.h opt_kern_tls.h 27 28SRCS+= rpctlscd.h rpctlscd_xdr.c rpctlscd_clnt.c 29CLEANFILES= rpctlscd.h rpctlscd_xdr.c rpctlscd_clnt.c 30 31S= ${SRCTOP}/sys 32 33rpctlscd.h: $S/rpc/rpcsec_tls/rpctlscd.x 34 RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/rpc/rpcsec_tls/rpctlscd.x | grep -v pthread.h > rpctlscd.h 35 36rpctlscd_xdr.c: $S/rpc/rpcsec_tls/rpctlscd.x 37 RPCGEN_CPP=${CPP:Q} rpcgen -c $S/rpc/rpcsec_tls/rpctlscd.x -o rpctlscd_xdr.c 38 39rpctlscd_clnt.c: $S/rpc/rpcsec_tls/rpctlscd.x 40 RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlscd.x | grep -v string.h > rpctlscd_clnt.c 41 42SRCS+= rpctlssd.h rpctlssd_xdr.c rpctlssd_clnt.c 43CLEANFILES= rpctlssd.h rpctlssd_xdr.c rpctlssd_clnt.c 44 45S= ${SRCTOP}/sys 46 47rpctlssd.h: $S/rpc/rpcsec_tls/rpctlssd.x 48 RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v pthread.h > rpctlssd.h 49 50rpctlssd_xdr.c: $S/rpc/rpcsec_tls/rpctlssd.x 51 RPCGEN_CPP=${CPP:Q} rpcgen -c $S/rpc/rpcsec_tls/rpctlssd.x -o rpctlssd_xdr.c 52 53rpctlssd_clnt.c: $S/rpc/rpcsec_tls/rpctlssd.x 54 RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v string.h > rpctlssd_clnt.c 55 56EXPORT_SYMS= YES 57 58.include <bsd.kmod.mk> 59