NetBSD/usr.bin/systat/Makefile

25 lines
540 B
Makefile

# $NetBSD: Makefile,v 1.13 1998/02/18 22:50:10 jtc Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= systat
.PATH: ${.CURDIR}/../../usr.bin/vmstat
CPPFLAGS+=-I${.CURDIR}/../../usr.bin/vmstat
SRCS= cmds.c cmdtab.c disks.c dkstats.c fetch.c iostat.c keyboard.c \
main.c mbufs.c netcmds.c netstat.c pigs.c swap.c vmstat.c
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
LDADD= -lcurses -lm -lkvm
BINGRP= kmem
BINMODE=2555
.include <bsd.prog.mk>
# XXX
.if defined(UVM)
CPPFLAGS+= -DUVM
.endif
.if defined(PMAP_NEW)
CPPFLAGS+= -DPMAP_NEW
.endif