Home | History | Annotate | Line # | Download | only in rpc
Makefile revision 1.10
      1  1.10  fvdl #	$NetBSD: Makefile,v 1.10 2002/11/08 00:08:38 fvdl 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.10  fvdl 	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.7    tv 
     15   1.8    tv # Resolve rpcgen's path, to allow it to be a dependency.
     16   1.9    tv _RPCGEN:=	${RPCGEN:M*rpcgen}
     17   1.8    tv .if ${_RPCGEN:M/*} == ""
     18   1.8    tv _RPCGEN!=	type ${RPCGEN} | awk '{print $$NF}'
     19   1.8    tv .endif
     20   1.8    tv 
     21   1.8    tv rpcb_prot.h: rpcb_prot.x ${_RPCGEN}
     22   1.7    tv 	${RPCGEN} -C -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET}
     23