Home | History | Annotate | Line # | Download | only in rpc
Makefile revision 1.5.2.6
      1  1.5.2.6   nathanw #	$NetBSD: Makefile,v 1.5.2.6 2002/11/11 22:24:27 nathanw 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.5.2.6   nathanw 	rpc_com.h 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.1      fvdl CLEANFILES+=	rpcb_prot.h
     10      1.1      fvdl 
     11      1.1      fvdl INCSDIR=	/usr/include/rpc
     12      1.1      fvdl 
     13      1.1      fvdl .include <bsd.prog.mk>
     14  1.5.2.2   nathanw 
     15  1.5.2.2   nathanw # Resolve rpcgen's path, to allow it to be a dependency.
     16  1.5.2.3  gmcgarry _RPCGEN:=	${RPCGEN:M*rpcgen}
     17  1.5.2.2   nathanw .if ${_RPCGEN:M/*} == ""
     18  1.5.2.2   nathanw _RPCGEN!=	type ${RPCGEN} | awk '{print $$NF}'
     19  1.5.2.2   nathanw .endif
     20  1.5.2.2   nathanw 
     21  1.5.2.2   nathanw rpcb_prot.h: rpcb_prot.x ${_RPCGEN}
     22  1.5.2.2   nathanw 	${RPCGEN} -C -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET}
     23