1# from: @(#)Makefile 5.8 (Berkeley) 7/28/90 2# $FreeBSD: src/usr.sbin/bootparamd/bootparamd/Makefile,v 1.11.2.1 2001/04/25 12:09:20 ru Exp $ 3# $DragonFly: src/usr.sbin/bootparamd/bootparamd/Makefile,v 1.2 2003/06/17 04:29:52 dillon Exp $ 4 5PROG= bootparamd 6SRCS= bootparamd.c main.c ${GENSRCS} 7GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c 8MAN= bootparams.5 bootparamd.8 9CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I. 10CLEANFILES= ${GENSRCS} 11 12RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x 13 14bootparam_prot_svc.c: ${RPCSRC} 15 rpcgen -m -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