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