xref: /dflybsd-src/usr.sbin/bootparamd/callbootd/Makefile (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1#	from: @(#)Makefile	5.8 (Berkeley) 7/28/90
2# $FreeBSD: src/usr.sbin/bootparamd/callbootd/Makefile,v 1.10 1999/08/28 01:15:40 peter Exp $
3# $DragonFly: src/usr.sbin/bootparamd/callbootd/Makefile,v 1.2 2003/06/17 04:29:52 dillon Exp $
4
5PROG=	callbootd
6SRCS=	callbootd.c ${GENSRCS}
7GENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
8NOMAN=
9CFLAGS+= -I.
10CLEANFILES= ${GENSRCS}
11
12RPCSRC=	${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
13
14bootparam_prot_clnt.c: ${RPCSRC}
15	rpcgen -l -o ${.TARGET} ${RPCSRC}
16
17bootparam_prot_xdr.c: ${RPCSRC}
18	rpcgen -c -o ${.TARGET} ${RPCSRC}
19
20bootparam_prot.h: ${RPCSRC}
21	rpcgen -h -o ${.TARGET} ${RPCSRC}
22
23.include <bsd.prog.mk>
24