NetBSD/usr.sbin/rpc.bootparamd/Makefile

22 lines
516 B
Makefile

# $Id: Makefile,v 1.5 1994/01/28 01:07:31 cgd Exp $
CFLAGS+=-DYP
PROG= rpc.bootparamd
SRCS= bootparamd.c bootparam_prot_svc.c
MAN8= rpc.bootparamd.0
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
bootparam_prot_svc.c: /usr/include/rpcsvc/bootparam_prot.x
rm -f bootparam_prot.x
ln -s /usr/include/rpcsvc/bootparam_prot.x .
rm -f bootparam_prot.h
ln -s /usr/include/rpcsvc/bootparam_prot.h .
rpcgen -m -o $@ bootparam_prot.x
CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
.include <bsd.prog.mk>