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