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