freebsd-dev/usr.sbin/bootparamd/callbootd/Makefile
Bruce Evans a7aac2725f Add a dependency on the .x source file and avoid copying it.
bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
1995-07-04 08:39:27 +00:00

22 lines
585 B
Makefile

# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
# $Id: Makefile,v 1.5 1995/05/30 03:46:29 rgrimes Exp $
PROG= callbootd
SRCS= bootparam_prot_xdr.c bootparam_prot_clnt.c callbootd.c
NOMAN=
CFLAGS+= -I.
CLEANFILES= bootparam_prot_clnt.c bootparam_prot_xdr.c bootparam_prot.h
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
bootparam_prot_clnt.c: ${RPCSRC} bootparam_prot.h
rpcgen -l -o ${.TARGET} ${RPCSRC}
bootparam_prot_xdr.c: ${RPCSRC} bootparam_prot.h
rpcgen -c -o ${.TARGET} ${RPCSRC}
bootparam_prot.h: ${RPCSRC}
rpcgen -h -o ${.TARGET} ${RPCSRC}
.include <bsd.prog.mk>