Makefile revision 50473
11832Swollman#	from: @(#)Makefile	2.3 88/08/11 4.0 RPCSRC
250473Speter# $FreeBSD: head/include/rpcsvc/Makefile 50473 1999-08-27 23:45:13Z peter $
31832Swollman
41832Swollman.SUFFIXES: .x
51832Swollman
632624SwpaulRPCCOM = 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
201832Swollmanall: ${HDRS}
211832Swollman
2229504Sbdebeforeinstall:
2326248Swpaul	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
2417953Speter		${HFILES:S;^;${.CURDIR}/;} \
2517953Speter		${XFILES:S;^;${.CURDIR}/;} \
2628542Sbde		${HDRS} \
2728524Sjmg		${DESTDIR}/usr/include/rpcsvc
2833298Sbde	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 key_prot.h \
2933298Sbde		${DESTDIR}/usr/include/rpc
3028524Sjmg
311832Swollman.x.h:
3239429Sobrien	${RPCCOM} -h -DWANT_NFS3 ${.IMPSRC} -o ${.TARGET}
331832Swollman
3432551Sbdenis.h: nis_object.x
3532551Sbde
361832Swollman.include <bsd.prog.mk>
37