Files
freebsd/usr.sbin/rpc.statd/Makefile
T
Lexi Winter 89aa99816e rpc.statd: move to nfs package
rpc.statd is not technically specific to NFS, but NFS is the only thing
which has ever actually used it, so this is the most appropriate place
to put it.

Reviewed by:	rmacklem, des, bapt, emaste
Approved by:	des (mentor)
Differential Revision:	https://reviews.freebsd.org/D50162
2025-05-05 16:39:25 +01:00

28 lines
596 B
Makefile

PACKAGE= nfs
PROG= rpc.statd
MAN= rpc.statd.8
SRCS= file.c sm_inter_svc.c sm_inter.h statd.c procs.c
CFLAGS+= -I${.OBJDIR}
LIBADD= rpcsvc
# XXX: mismatch between (xdrproc_t) and xdr_void().
WARNS?= 2
CLEANFILES= sm_inter_svc.c sm_inter.h
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/sm_inter.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
sm_inter_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${.ALLSRC}
sm_inter.h: ${RPCSRC}
${RPCGEN} -h -o ${.TARGET} ${.ALLSRC}
test: test.o
${CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} ${LIBADD:S/^/-l/}
CLEANFILES+= test test.o
.include <bsd.prog.mk>