1997-02-22 16:15:28 +00:00
|
|
|
# $Id$
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
PROG = rpc.statd
|
1996-04-01 05:36:06 +00:00
|
|
|
SRCS = file.c sm_inter_svc.c statd.c procs.c
|
1996-02-17 15:14:59 +00:00
|
|
|
MAN8 = rpc.statd.8
|
1996-07-09 22:40:39 +00:00
|
|
|
DPSRCS+= sm_inter.h
|
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
|
|
|
|
|
|
|
|
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
|
|
|
RPCGEN= rpcgen -L -C
|
|
|
|
|
|
|
|
sm_inter_svc.c: ${RPCSRC} sm_inter.h
|
|
|
|
${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>
|