Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / bootparamd / callbootd / Makefile
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
4 PROG=   callbootd
5 SRCS=   callbootd.c ${GENSRCS}
6 GENSRCS=bootparam_prot.h bootparam_prot_clnt.c bootparam_prot_xdr.c
7 NOMAN=
8 CFLAGS+= -I.
9 CLEANFILES= ${GENSRCS}
10
11 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
12
13 bootparam_prot_clnt.c: ${RPCSRC}
14         rpcgen -l -o ${.TARGET} ${RPCSRC}
15
16 bootparam_prot_xdr.c: ${RPCSRC}
17         rpcgen -c -o ${.TARGET} ${RPCSRC}
18
19 bootparam_prot.h: ${RPCSRC}
20         rpcgen -h -o ${.TARGET} ${RPCSRC}
21
22 .include <bsd.prog.mk>