1999-08-28 01:35:59 +00: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
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
|
|
|
|
1996-04-01 05:36:06 +00:00
|
|
|
CFLAGS+= -I.
|
|
|
|
|
|
|
|
CLEANFILES= sm_inter_svc.c sm_inter.h
|
|
|
|
|
1997-05-23 08:43:27 +00:00
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
1996-04-01 05:36:06 +00:00
|
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
|
1998-05-10 16:03:17 +00:00
|
|
|
sm_inter_svc.c: ${RPCSRC}
|
1996-04-01 05:36:06 +00: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 05:36:06 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|