diff options
Diffstat (limited to 'usr.sbin/rpc.bootparamd/Makefile')
-rw-r--r-- | usr.sbin/rpc.bootparamd/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/rpc.bootparamd/Makefile b/usr.sbin/rpc.bootparamd/Makefile new file mode 100644 index 00000000000..9a275277b92 --- /dev/null +++ b/usr.sbin/rpc.bootparamd/Makefile @@ -0,0 +1,22 @@ +# $Id: Makefile,v 1.1 1995/10/18 08:48:05 deraadt Exp $ + +CFLAGS+=-DYP + +PROG= rpc.bootparamd +SRCS= bootparamd.c bootparam_prot_svc.c +MAN= bootparams.5 rpc.bootparamd.8 +MLINKS= rpc.bootparamd.8 bootparamd.8 + +DPADD= ${LIBRPCSVC} +LDADD= -lrpcsvc + +bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x + rm -f bootparam_prot.x + ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x . + rm -f bootparam_prot.h + ln -s ${DESTDIR}/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> |