Cross Reference: Makefile
xref: /src/include/rpc/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/include/rpc/
Makefile revision 1.5
1#	$NetBSD: Makefile,v 1.5 2001/01/16 02:42:39 cgd Exp $
2#
3
4INCS=	auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \
5	pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h rpc.h \
6	rpc_msg.h rpcb_clnt.h rpcb_prot.h rpcent.h \
7	svc.h svc_auth.h svc_soc.h types.h xdr.h
8
9.ifnmake getrpcgen
10XRPCGEN != (cd ${.CURDIR} && ${MAKE} -B ${MAKEFLAGS} getrpcgen)
11.endif
12
13getrpcgen:
14	@set -- X `type ${RPCGEN}` && shift `expr $$# - 1` && echo "$$1"
15
16rpcb_prot.h:: rpcb_prot.x ${XRPCGEN}
17	${RPCGEN} -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET}
18
19CLEANFILES+=	rpcb_prot.h
20
21INCSDIR=	/usr/include/rpc
22
23.include <bsd.prog.mk>
24

Indexes created Tue Dec 16 05:09:39 GMT 2025