mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-09-21 07:36:38 +02:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
27 lines
583 B
Makefile
27 lines
583 B
Makefile
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>
|