xref: /freebsd/include/rpc/Makefile (revision fa1b961259bc5ba90b2ed693d8eb54c7641b6ec7)
1*fa1b9612SGleb Smirnoff.include <src.opts.mk>
2*fa1b9612SGleb Smirnoff.PATH: ${SRCTOP}/sys/rpc
3*fa1b9612SGleb Smirnoff
48360efbdSAlfred Perlstein.SUFFIXES: .x
58360efbdSAlfred Perlstein
65e0a19bdSDimitry AndricRPCCOM=	RPCGEN_CPP=${CPP:Q} rpcgen -C
78360efbdSAlfred Perlstein
88360efbdSAlfred PerlsteinHDRS=	rpcb_prot.h
98360efbdSAlfred Perlstein
108360efbdSAlfred PerlsteinXFILES= rpcb_prot.x
118360efbdSAlfred Perlstein
128360efbdSAlfred PerlsteinHFILES=	auth.h auth_unix.h clnt.h clnt_soc.h clnt_stat.h \
138360efbdSAlfred Perlstein	nettype.h pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h \
148f55a568SDoug Rabson	rpc.h rpc_msg.h rpcb_clnt.h rpcent.h rpc_com.h rpcsec_gss.h \
157f64b05fSPawel Jakub Dawidek	svc.h svc_auth.h svc_soc.h svc_dg.h xdr.h
168360efbdSAlfred Perlstein
17*fa1b9612SGleb Smirnoff# User visible declarations for kernel RPC modules
18*fa1b9612SGleb SmirnoffHFILES+= clnt_nl.h
19*fa1b9612SGleb Smirnoff
208360efbdSAlfred Perlstein# Secure RPC
218360efbdSAlfred PerlsteinHFILES+= auth_des.h des.h des_crypt.h
228360efbdSAlfred Perlstein
238360efbdSAlfred Perlstein# Kerberos
248360efbdSAlfred PerlsteinHFILES+= auth_kerb.h
258360efbdSAlfred Perlstein
268360efbdSAlfred PerlsteinCLEANFILES+= ${HDRS}
278360efbdSAlfred Perlstein
28c7b111cbSRuslan ErmilovINCS=	${HFILES} ${XFILES} ${HDRS}
29c7b111cbSRuslan ErmilovINCSDIR=${INCLUDEDIR}/rpc
308360efbdSAlfred Perlstein
318360efbdSAlfred Perlstein.x.h:
328360efbdSAlfred Perlstein	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
338360efbdSAlfred Perlstein
348360efbdSAlfred Perlstein.include <bsd.prog.mk>
35