Bring in a transport-independent RPC (TI-RPC).
[dragonfly.git] / usr.sbin / bootparamd / bootparamd / Makefile
blob14e7c655a6d75068fa3711fb0249b4ea8d14c4a4
1 # from: @(#)Makefile 5.8 (Berkeley) 7/28/90
2 # $FreeBSD: src/usr.sbin/bootparamd/bootparamd/Makefile,v 1.15 2004/11/13 20:40:31 bz Exp $
3 # $DragonFly: src/usr.sbin/bootparamd/bootparamd/Makefile,v 1.2 2003/06/17 04:29:52 dillon Exp $
5 PROG= bootparamd
6 MAN= bootparams.5 bootparamd.8
7 SRCS= bootparamd.c main.c ${GENSRCS}
8 GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c
10 CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I.
11 .if !defined(NO_NIS)
12 CFLAGS+= -DYP
13 .endif
15 CLEANFILES= ${GENSRCS}
17 RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
19 bootparam_prot_svc.c: ${RPCSRC}
20 rpcgen -C -m -o ${.TARGET} ${RPCSRC}
22 bootparam_prot_xdr.c: ${RPCSRC}
23 rpcgen -C -c -o ${.TARGET} ${RPCSRC}
25 bootparam_prot.h: ${RPCSRC}
26 rpcgen -C -h -o ${.TARGET} ${RPCSRC}
28 .include <bsd.prog.mk>