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