1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1996-02-17 15:14:59 +00:00
|
|
|
|
2001-07-20 06:20:32 +00:00
|
|
|
PROG= rpc.statd
|
|
|
|
MAN= rpc.statd.8
|
|
|
|
SRCS= file.c sm_inter_svc.c sm_inter.h statd.c procs.c
|
|
|
|
|
|
|
|
CFLAGS+= -I.
|
2010-01-02 11:07:44 +00:00
|
|
|
WARNS?= 2
|
1996-02-17 15:14:59 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBRPCSVC}
|
|
|
|
LDADD= -lrpcsvc
|
|
|
|
|
1996-04-01 05:36:06 +00:00
|
|
|
CLEANFILES= sm_inter_svc.c sm_inter.h
|
|
|
|
|
1997-05-23 08:43:27 +00:00
|
|
|
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
2012-02-07 09:27:07 +00:00
|
|
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
1996-04-01 05:36:06 +00:00
|
|
|
|
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>
|