Makefile revision 1.10
11.10Sfvdl# $NetBSD: Makefile,v 1.10 2002/11/08 00:08:38 fvdl Exp $ 21.1Sfvdl# 31.1Sfvdl 41.1SfvdlINCS= auth.h auth_unix.h clnt.h clnt_soc.h nettype.h \ 51.1Sfvdl pmap_clnt.h pmap_prot.h pmap_rmt.h raw.h rpc.h \ 61.10Sfvdl rpc_com.h rpc_msg.h rpcb_clnt.h rpcb_prot.h rpcent.h \ 71.1Sfvdl svc.h svc_auth.h svc_soc.h types.h xdr.h 81.1Sfvdl 91.1SfvdlCLEANFILES+= rpcb_prot.h 101.1Sfvdl 111.1SfvdlINCSDIR= /usr/include/rpc 121.1Sfvdl 131.1Sfvdl.include <bsd.prog.mk> 141.7Stv 151.8Stv# Resolve rpcgen's path, to allow it to be a dependency. 161.9Stv_RPCGEN:= ${RPCGEN:M*rpcgen} 171.8Stv.if ${_RPCGEN:M/*} == "" 181.8Stv_RPCGEN!= type ${RPCGEN} | awk '{print $$NF}' 191.8Stv.endif 201.8Stv 211.8Stvrpcb_prot.h: rpcb_prot.x ${_RPCGEN} 221.7Stv ${RPCGEN} -C -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET} 23