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 $ 4 5PROG= bootparamd 6MAN= bootparams.5 bootparamd.8 7SRCS= bootparamd.c main.c ${GENSRCS} 8GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c 9 10CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I. 11.if !defined(NO_NIS) 12CFLAGS+= -DYP 13.endif 14 15CLEANFILES= ${GENSRCS} 16 17RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x 18 19bootparam_prot_svc.c: ${RPCSRC} 20 rpcgen -C -m -o ${.TARGET} ${RPCSRC} 21 22bootparam_prot_xdr.c: ${RPCSRC} 23 rpcgen -C -c -o ${.TARGET} ${RPCSRC} 24 25bootparam_prot.h: ${RPCSRC} 26 rpcgen -C -h -o ${.TARGET} ${RPCSRC} 27 28.include <bsd.prog.mk> 29