1997-10-17 19:59:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.14 1997/10/17 15:59:05 lukem Exp $
|
1994-01-08 16:22:03 +03:00
|
|
|
|
|
|
|
PROG= rpc.bootparamd
|
|
|
|
SRCS= bootparamd.c bootparam_prot_svc.c
|
1994-12-22 14:32:57 +03:00
|
|
|
MAN= bootparams.5 rpc.bootparamd.8
|
1994-10-03 21:48:40 +03:00
|
|
|
MLINKS= rpc.bootparamd.8 bootparamd.8
|
1997-10-17 19:59:05 +04:00
|
|
|
CFLAGS+=-DYP
|
1994-01-08 16:22:03 +03:00
|
|
|
|
1994-01-28 04:05:30 +03:00
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
1994-01-08 16:22:03 +03:00
|
|
|
|
1997-06-01 01:21:13 +04:00
|
|
|
bootparam_prot_svc.c: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
1994-01-17 18:13:32 +03:00
|
|
|
rm -f bootparam_prot.x
|
1997-06-01 01:21:13 +04:00
|
|
|
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x .
|
1994-01-17 18:13:32 +03:00
|
|
|
rm -f bootparam_prot.h
|
1997-06-01 01:21:13 +04:00
|
|
|
ln -s ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h .
|
1997-10-17 19:59:05 +04:00
|
|
|
rpcgen -C -L -m -o ${.TARGET} bootparam_prot.x
|
1994-01-08 16:22:03 +03:00
|
|
|
|
|
|
|
CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|