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