1
2.SUFFIXES: .x
3
4RPCCOM=	RPCGEN_CPP=${CPP:Q} rpcgen -C
5
6HDRS=	rpcb_prot.h
7
8XFILES= rpcb_prot.x
9
10HFILES=	auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
11	nettype.h pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h \
12	rpc.h rpc_msg.h rpcb_clnt.h rpcent.h rpc_com.h rpcsec_gss.h \
13	svc.h svc_auth.h svc_soc.h svc_dg.h xdr.h
14
15# Secure RPC
16HFILES+= auth_des.h des.h des_crypt.h
17
18# Kerberos
19HFILES+= auth_kerb.h
20
21CLEANFILES+= ${HDRS}
22
23INCS=	${HFILES} ${XFILES} ${HDRS}
24INCSDIR=${INCLUDEDIR}/rpc
25
26.x.h:
27	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
28
29.include <bsd.prog.mk>
30