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
|
|
|
|
|
2019-09-21 12:33:41 +00:00
|
|
|
CFLAGS+= -I${.OBJDIR}
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD= rpcsvc
|
1996-02-17 15:14:59 +00:00
|
|
|
|
1996-04-01 05:36:06 +00:00
|
|
|
CLEANFILES= sm_inter_svc.c sm_inter.h
|
|
|
|
|
2017-06-19 20:47:24 +00:00
|
|
|
RPCSRC= ${SYSROOT:U${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}
|
2017-03-01 04:13:31 +00:00
|
|
|
${RPCGEN} -m -o ${.TARGET} ${.ALLSRC}
|
1996-04-01 05:36:06 +00:00
|
|
|
|
|
|
|
sm_inter.h: ${RPCSRC}
|
2017-03-01 04:13:31 +00:00
|
|
|
${RPCGEN} -h -o ${.TARGET} ${.ALLSRC}
|
1996-02-17 15:14:59 +00:00
|
|
|
|
2019-09-21 01:29:59 +00:00
|
|
|
test: test.o
|
|
|
|
${CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} ${LIBADD:S/^/-l/}
|
|
|
|
CLEANFILES+= test test.o
|
1996-04-01 05:36:06 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|