1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/rpc ${SRCTOP}/sys/rpc/rpcsec_tls 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+= rpctls_impl.c auth_tls.c 27 28SRCS+= opt_inet6.h opt_kern_tls.h 29 30SRCS+= rpctlscd.h rpctlscd_xdr.c rpctlscd_clnt.c 31CLEANFILES= rpctlscd.h rpctlscd_xdr.c rpctlscd_clnt.c 32 33S= ${SRCTOP}/sys 34 35rpctlscd.h: $S/rpc/rpcsec_tls/rpctlscd.x 36 RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/rpc/rpcsec_tls/rpctlscd.x | grep -v pthread.h > rpctlscd.h 37 38rpctlscd_xdr.c: $S/rpc/rpcsec_tls/rpctlscd.x 39 RPCGEN_CPP=${CPP:Q} rpcgen -c $S/rpc/rpcsec_tls/rpctlscd.x -o rpctlscd_xdr.c 40 41rpctlscd_clnt.c: $S/rpc/rpcsec_tls/rpctlscd.x 42 RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlscd.x | grep -v string.h > rpctlscd_clnt.c 43 44SRCS+= rpctlssd.h rpctlssd_xdr.c rpctlssd_clnt.c 45CLEANFILES= rpctlssd.h rpctlssd_xdr.c rpctlssd_clnt.c 46 47S= ${SRCTOP}/sys 48 49rpctlssd.h: $S/rpc/rpcsec_tls/rpctlssd.x 50 RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v pthread.h > rpctlssd.h 51 52rpctlssd_xdr.c: $S/rpc/rpcsec_tls/rpctlssd.x 53 RPCGEN_CPP=${CPP:Q} rpcgen -c $S/rpc/rpcsec_tls/rpctlssd.x -o rpctlssd_xdr.c 54 55rpctlssd_clnt.c: $S/rpc/rpcsec_tls/rpctlssd.x 56 RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v string.h > rpctlssd_clnt.c 57 58.include <bsd.kmod.mk> 59