1 2PROG= callbootd 3MAN= 4SRCS= callbootd.c ${GENSRCS} 5GENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c 6 7CFLAGS+= -I. 8 9CLEANFILES= ${GENSRCS} 10 11RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x 12 13bootparam_prot_clnt.c: ${RPCSRC} 14 RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC} 15 16bootparam_prot_xdr.c: ${RPCSRC} 17 RPCGEN_CPP=${CPP:Q} rpcgen -C -c -o ${.TARGET} ${RPCSRC} 18 19bootparam_prot.h: ${RPCSRC} 20 RPCGEN_CPP=${CPP:Q} rpcgen -C -h -o ${.TARGET} ${RPCSRC} 21 22.include <bsd.prog.mk> 23