diff --git a/usr.sbin/bootparamd/bootparamd/Makefile b/usr.sbin/bootparamd/bootparamd/Makefile index 3d8cbc8a7ee6..3e45b90580cd 100644 --- a/usr.sbin/bootparamd/bootparamd/Makefile +++ b/usr.sbin/bootparamd/bootparamd/Makefile @@ -1,19 +1,20 @@ # from: @(#)Makefile 5.8 (Berkeley) 7/28/90 -# $Id$ +# $Id: Makefile,v 1.9 1997/02/22 16:04:21 peter Exp $ PROG= bootparamd -SRCS= bootparam_prot_xdr.c bootparam_prot_svc.c bootparamd.c main.c -MAN8= bootparamd.8 +SRCS= bootparamd.c main.c ${GENSRCS} +GENSRCS=bootparam_prot.h bootparam_prot_svc.c bootparam_prot_xdr.c MAN5= bootparams.5 +MAN8= bootparamd.8 CFLAGS+= -DTFTP_DIR=\"/tftpboot\" -I. -CLEANFILES= bootparam_prot_svc.c bootparam_prot_xdr.c bootparam_prot.h +CLEANFILES= ${GENSRCS} RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x -bootparam_prot_svc.c: ${RPCSRC} bootparam_prot.h +bootparam_prot_svc.c: ${RPCSRC} rpcgen -m -o ${.TARGET} ${RPCSRC} -bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h +bootparam_prot_xdr.c: ${RPCSRC} rpcgen -c -o ${.TARGET} ${RPCSRC} bootparam_prot.h: ${RPCSRC}