xref: /freebsd/usr.sbin/bootparamd/callbootd/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1b9fefab7SBill PaulPROG=	callbootd
23bdf7758SWarner LoshMAN=
322450dd8SBruce EvansSRCS=	callbootd.c ${GENSRCS}
422450dd8SBruce EvansGENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
590e655eaSDavid E. O'Brien
61214e6daSPoul-Henning KampCFLAGS+= -I.
790e655eaSDavid E. O'Brien
822450dd8SBruce EvansCLEANFILES= ${GENSRCS}
9b9fefab7SBill Paul
10*c99b67a7SBryan DreweryRPCSRC=	${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
11b9fefab7SBill Paul
1222450dd8SBruce Evansbootparam_prot_clnt.c: ${RPCSRC}
135e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
14b9fefab7SBill Paul
1522450dd8SBruce Evansbootparam_prot_xdr.c: ${RPCSRC}
165e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC}
17a7aac272SBruce Evans
18a7aac272SBruce Evansbootparam_prot.h: ${RPCSRC}
195e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC}
20b9fefab7SBill Paul
21b9fefab7SBill Paul.include <bsd.prog.mk>
22