2000-07-25 10:29:44 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2000/07/25 06:29:47 cgd Exp $
|
1997-03-10 09:28:29 +03:00
|
|
|
|
|
|
|
PROG= rpc.statd
|
|
|
|
SRCS= sm_inter_svc.c statd.c stat_proc.c
|
|
|
|
MAN= rpc.statd.8
|
|
|
|
MLINKS= rpc.statd.8 statd.8
|
|
|
|
|
1997-10-25 10:57:53 +04:00
|
|
|
CPPFLAGS+= -I.
|
1997-03-10 09:28:29 +03:00
|
|
|
|
1999-06-06 06:52:16 +04:00
|
|
|
DPADD= ${LIBRPCSVC} ${LIBUTIL}
|
|
|
|
LDADD= -lrpcsvc -lutil
|
1997-03-10 09:28:29 +03:00
|
|
|
|
|
|
|
CLEANFILES+= sm_inter_svc.c sm_inter.x sm_inter.h test
|
|
|
|
|
2000-06-12 05:57:25 +04:00
|
|
|
sm_inter.x: ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
ln -s ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
sm_inter.h: ${DESTDIR}/usr/include/rpcsvc/sm_inter.h
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
ln -s ${.ALLSRC} ${.TARGET}
|
|
|
|
|
|
|
|
sm_inter_svc.c: sm_inter.x sm_inter.h
|
2000-07-25 10:29:44 +04:00
|
|
|
${RPCGEN} -C -L -m -o ${.TARGET} sm_inter.x
|
1997-03-10 09:28:29 +03:00
|
|
|
|
|
|
|
test: ${.CURDIR}/test.c
|
|
|
|
cc -o test ${.CURDIR}/test.c -lrpcsvc
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|