1b9fefab7SBill Paul#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
2b9fefab7SBill Paul
3b9fefab7SBill PaulPROG=	callbootd
43bdf7758SWarner LoshMAN=
522450dd8SBruce EvansSRCS=	callbootd.c ${GENSRCS}
622450dd8SBruce EvansGENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
790e655eaSDavid E. O'Brien
81214e6daSPoul-Henning KampCFLAGS+= -I.
990e655eaSDavid E. O'Brien
1022450dd8SBruce EvansCLEANFILES= ${GENSRCS}
11b9fefab7SBill Paul
12*c99b67a7SBryan DreweryRPCSRC=	${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
13b9fefab7SBill Paul
1422450dd8SBruce Evansbootparam_prot_clnt.c: ${RPCSRC}
155e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
16b9fefab7SBill Paul
1722450dd8SBruce Evansbootparam_prot_xdr.c: ${RPCSRC}
185e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC}
19a7aac272SBruce Evans
20a7aac272SBruce Evansbootparam_prot.h: ${RPCSRC}
215e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC}
22b9fefab7SBill Paul
23b9fefab7SBill Paul.include <bsd.prog.mk>
24