xref: /freebsd/include/rpc/Makefile (revision fa1b961259bc5ba90b2ed693d8eb54c7641b6ec7)
1.include <src.opts.mk>
2.PATH: ${SRCTOP}/sys/rpc
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# User visible declarations for kernel RPC modules
18HFILES+= clnt_nl.h
19
20# Secure RPC
21HFILES+= auth_des.h des.h des_crypt.h
22
23# Kerberos
24HFILES+= auth_kerb.h
25
26CLEANFILES+= ${HDRS}
27
28INCS=	${HFILES} ${XFILES} ${HDRS}
29INCSDIR=${INCLUDEDIR}/rpc
30
31.x.h:
32	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
33
34.include <bsd.prog.mk>
35