NetBSD/libexec/rpc.rstatd/Makefile

19 lines
395 B
Makefile

# $NetBSD: Makefile,v 1.23 2019/10/13 07:28:11 mrg Exp $
.include <bsd.own.mk>
PROG = rpc.rstatd
.PATH: ${NETBSDSRCDIR}/usr.bin/vmstat
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/vmstat -D_KERNTYPES
SRCS = drvstats.c rstatd.c rstat_proc.c
MAN = rpc.rstatd.8
MLINKS= rpc.rstatd.8 rstatd.8
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
COPTS.rstat_proc.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
.include <bsd.prog.mk>