11832Swollman#	from: @(#)Makefile	2.3 88/08/11 4.0 RPCSRC
250473Speter# $FreeBSD: releng/10.2/include/rpcsvc/Makefile 231118 2012-02-07 09:27:07Z dim $
31832Swollman
41832Swollman.SUFFIXES: .x
51832Swollman
6231118SdimRPCCOM=	RPCGEN_CPP=${CPP:Q} rpcgen -C
71832Swollman
826208SwpaulHDRS= key_prot.h klm_prot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h \
916123Swpaul      rquota.h rstat.h rwall.h sm_inter.h spray.h yppasswd.h yp.h \
1026208Swpaul      ypxfrd.h ypupdate_prot.h nis.h nis_cache.h nis_callback.h \
1126208Swpaul      bootparam_prot.h crypt.h
1226208SwpaulXFILES= bootparam_prot.x key_prot.x klm_prot.x mount.x nfs_prot.x nlm_prot.x \
131832Swollman      rex.x rnusers.x rquota.x rstat.x rwall.x sm_inter.x spray.x \
1426208Swpaul      yppasswd.x yp.x ypxfrd.x ypupdate_prot.x nis.x nis_cache.x nis_object.x \
1526208Swpaul      nis_callback.x crypt.x
1626208SwpaulHFILES= yp_prot.h ypclnt.h nis_db.h nis_tags.h nislib.h
171832Swollman
181832SwollmanCLEANFILES+= ${HDRS}
191832Swollman
2096462SruINCSGROUPS=	INCS RPCHDRS
2196462SruINCS=		${HFILES} ${XFILES} ${HDRS}
2296462SruINCSDIR=	${INCLUDEDIR}/rpcsvc
2396462SruRPCHDRS=	key_prot.h
2496462SruRPCHDRSDIR=	${INCLUDEDIR}/rpc
251832Swollman
261832Swollman.x.h:
2739429Sobrien	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
281832Swollman
2932551Sbdenis.h: nis_object.x
3032551Sbde
311832Swollman.include <bsd.prog.mk>
32