1 2.include <src.opts.mk> 3 4PROG= rpc.tlsclntd 5MAN= rpc.tlsclntd.8 6SRCS= rpc.tlsclntd.c rpc.tlscommon.c rpctlscd.h rpctlscd_svc.c rpctlscd_xdr.c 7 8CFLAGS+= -I. -I${SRCTOP}/usr.sbin/rpc.tlsservd 9 10LIBADD= ssl crypto util 11 12CLEANFILES= rpctlscd_svc.c rpctlscd_xdr.c rpctlscd.h 13 14RPCSRC= ${SRCTOP}/sys/rpc/rpcsec_tls/rpctlscd.x 15RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C -M 16 17rpctlscd_svc.c: ${RPCSRC} rpctlscd.h 18 ${RPCGEN} -m -o ${.TARGET} ${RPCSRC} 19 20rpctlscd_xdr.c: ${RPCSRC} rpctlscd.h 21 ${RPCGEN} -c -o ${.TARGET} ${RPCSRC} 22 23rpctlscd.h: ${RPCSRC} 24 ${RPCGEN} -h -o ${.TARGET} ${RPCSRC} 25 26.PATH: ${SRCTOP}/sys/rpc/rpcsec_tls ${SRCTOP}/usr.sbin/rpc.tlsservd 27 28.include <bsd.prog.mk> 29