NetBSD/usr.sbin/rpc.bootparamd/Makefile

22 lines
638 B
Makefile
Raw Normal View History

1999-06-06 06:38:00 +04:00
# $NetBSD: Makefile,v 1.16 1999/06/06 02:47:47 thorpej Exp $
PROG= rpc.bootparamd
SRCS= bootparamd.c bootparam_prot_svc.c
1994-12-22 14:32:57 +03:00
MAN= bootparams.5 rpc.bootparamd.8
MLINKS= rpc.bootparamd.8 bootparamd.8
1997-10-25 10:57:53 +04:00
CPPFLAGS+=-DYP
1999-06-06 06:38:00 +04:00
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
1994-01-17 18:13:32 +03:00
rm -f bootparam_prot.x
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
1994-01-17 18:13:32 +03:00
rm -f bootparam_prot.h
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
rpcgen -C -L -m -o ${.TARGET} bootparam_prot.x
CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
.include <bsd.prog.mk>