2021-04-02 09:28:55 +03:00
|
|
|
# $NetBSD: Makefile,v 1.35 2021/04/02 06:28:55 simonb Exp $
|
1995-05-08 02:15:57 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-04-09 16:58:42 +04:00
|
|
|
|
2010-12-20 07:25:03 +03:00
|
|
|
.include <bsd.own.mk>
|
1993-04-09 16:58:42 +04:00
|
|
|
PROG= vmstat
|
1996-05-11 03:16:30 +04:00
|
|
|
|
2010-12-20 07:25:03 +03:00
|
|
|
CPPFLAGS+=-D_KMEMUSER -I${NETBSDSRCDIR}/sys
|
2006-04-14 17:12:37 +04:00
|
|
|
SRCS= drvstats.c vmstat.c
|
2001-05-07 03:37:36 +04:00
|
|
|
MAN= vmstat.1
|
1996-05-11 03:16:30 +04:00
|
|
|
DPADD= ${LIBKVM}
|
|
|
|
LDADD= -lkvm
|
1993-04-09 16:58:42 +04:00
|
|
|
|
2011-05-26 16:56:24 +04:00
|
|
|
CWARNFLAGS.clang+= -Wno-format-extra-args
|
2014-06-04 01:41:56 +04:00
|
|
|
COPTS.vmstat.c += -Wno-format-nonliteral
|
2011-05-26 16:56:24 +04:00
|
|
|
|
2016-03-06 21:01:28 +03:00
|
|
|
# sparc64 is broken!
|
|
|
|
COPTS.vmstat.c += -Wno-error=stack-protector
|
|
|
|
|
1993-04-09 16:58:42 +04:00
|
|
|
.include <bsd.prog.mk>
|