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