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