xref: /freebsd/usr.sbin/bootparamd/callbootd/Makefile (revision c99b67a7947ea215f9c1d44ec022680e98920cd1)
1b9fefab7SBill Paul#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
297d92980SPeter Wemm# $FreeBSD$
3b9fefab7SBill Paul
4b9fefab7SBill PaulPROG=	callbootd
53bdf7758SWarner LoshMAN=
622450dd8SBruce EvansSRCS=	callbootd.c ${GENSRCS}
722450dd8SBruce EvansGENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
890e655eaSDavid E. O'Brien
91214e6daSPoul-Henning KampCFLAGS+= -I.
1090e655eaSDavid E. O'Brien
1122450dd8SBruce EvansCLEANFILES= ${GENSRCS}
12b9fefab7SBill Paul
13*c99b67a7SBryan DreweryRPCSRC=	${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
14b9fefab7SBill Paul
1522450dd8SBruce Evansbootparam_prot_clnt.c: ${RPCSRC}
165e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
17b9fefab7SBill Paul
1822450dd8SBruce Evansbootparam_prot_xdr.c: ${RPCSRC}
195e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC}
20a7aac272SBruce Evans
21a7aac272SBruce Evansbootparam_prot.h: ${RPCSRC}
225e0a19bdSDimitry Andric	RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC}
23b9fefab7SBill Paul
24b9fefab7SBill Paul.include <bsd.prog.mk>
25