2002-02-02 20:11:38 +03:00
|
|
|
# $NetBSD: Makefile,v 1.20 2002/02/02 17:11:38 tv 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-25 10:57:53 +04:00
|
|
|
CPPFLAGS+=-DYP
|
1994-01-08 16:22:03 +03:00
|
|
|
|
1999-06-06 06:38:00 +04:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lutil
|
1994-01-08 16:22:03 +03:00
|
|
|
|
2002-02-02 20:11:38 +03:00
|
|
|
CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h
|
|
|
|
|
2002-01-31 18:16:21 +03:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2000-06-12 05:57:25 +04:00
|
|
|
bootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
ln -s ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
bootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
ln -s ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
bootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h
|
2000-07-25 10:29:44 +04:00
|
|
|
${RPCGEN} -C -L -m -o ${.TARGET} bootparam_prot.x
|