NetBSD/usr.sbin/pstat/Makefile
mrg 0537635d0c for 64 bit mips platforms where we built userland largely as n32 by
default, build a handful of tools as n64 so they work properly.

unfortunately, they're also static as dynamic n64 has a problem.

of these tools pstat is probably the lowest hanging fruit to convert
to sysctl.  systat would be close were it not for the netstat screen,
which includes netstat itself.

the rest are difficult to perhaps foolish.


the upside is that netstat, pmap and fstat all work properly now.
2016-12-23 10:19:57 +00:00

25 lines
414 B
Makefile

# $NetBSD: Makefile,v 1.17 2016/12/23 10:19:57 mrg Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk>
USE_FORT?= yes # setgid
SRCS= pstat.c swaplist.c
PROG= pstat
MAN= pstat.8
BINGRP= kmem
BINMODE=2555
DPADD= ${LIBKVM}
LDADD= -lkvm
CPPFLAGS+=-I${NETBSDSRCDIR}/sbin/swapctl
CPPFLAGS+=-D_KMEMUSER
.PATH: ${NETBSDSRCDIR}/sbin/swapctl
.include "../../compat/exec.mk"
.include <bsd.prog.mk>