1999-08-28 02:35:59 +01:00
|
|
|
# $FreeBSD$
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
PROG = rpc.statd
|
1998-03-06 07:00:28 +00:00
|
|
|
SRCS = file.c sm_inter_svc.c sm_inter.h statd.c procs.c
|
2001-03-26 15:42:20 +01:00
|
|
|
MAN = rpc.statd.8
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
|
|
|
|
1996-04-01 06:36:06 +01:00
|
|
|
CFLAGS+= -I.
|
|
|
|
|
|
|
|
CLEANFILES= sm_inter_svc.c sm_inter.h
|
|
|
|
|
1997-05-23 09:43:27 +01:00
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
1996-04-01 06:36:06 +01:00
|
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
|
1998-05-10 17:03:17 +01:00
|
|
|
sm_inter_svc.c: ${RPCSRC}
|
1996-04-01 06:36:06 +01:00
|
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
|
|
|
|
|
|
|
|
sm_inter.h: ${RPCSRC}
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCSRC}
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
test: test.c
|
|
|
|
cc -o test test.c -lrpcsvc
|
1996-04-01 06:36:06 +01:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|