xref: /freebsd/usr.sbin/bootparamd/callbootd/Makefile (revision 22450dd8c115460932c63be05e28eeef8d8fa41c)
1b9fefab7SBill Paul#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
222450dd8SBruce Evans#	$Id: Makefile,v 1.8 1997/02/22 16:04:27 peter Exp $
3b9fefab7SBill Paul
4b9fefab7SBill PaulPROG=	callbootd
522450dd8SBruce EvansSRCS=	callbootd.c ${GENSRCS}
622450dd8SBruce EvansGENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
7b9fefab7SBill PaulNOMAN=
81214e6daSPoul-Henning KampCFLAGS+= -I.
922450dd8SBruce EvansCLEANFILES= ${GENSRCS}
10b9fefab7SBill Paul
11a7aac272SBruce EvansRPCSRC=	${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
12b9fefab7SBill Paul
1322450dd8SBruce Evansbootparam_prot_clnt.c: ${RPCSRC}
14a7aac272SBruce Evans	rpcgen -l -o ${.TARGET} ${RPCSRC}
15b9fefab7SBill Paul
1622450dd8SBruce Evansbootparam_prot_xdr.c: ${RPCSRC}
17a7aac272SBruce Evans	rpcgen -c -o ${.TARGET} ${RPCSRC}
18a7aac272SBruce Evans
19a7aac272SBruce Evansbootparam_prot.h: ${RPCSRC}
20a7aac272SBruce Evans	rpcgen -h -o ${.TARGET} ${RPCSRC}
21b9fefab7SBill Paul
22b9fefab7SBill Paul.include <bsd.prog.mk>
23