1998-02-18 06:54:58 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 1998/02/18 03:55:44 perry Exp $
|
1995-01-20 11:30:50 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
|
|
|
|
PROG= systat
|
1995-12-22 11:04:24 +03:00
|
|
|
|
1997-05-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/vmstat
|
1996-05-11 03:16:30 +04:00
|
|
|
|
1997-10-24 13:00:17 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR}/../../usr.bin/vmstat
|
1996-05-11 03:16:30 +04:00
|
|
|
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
|
1995-01-20 11:51:48 +03:00
|
|
|
DPADD= ${LIBCURSES} ${LIBTERMCAP} ${LIBM} ${LIBKVM}
|
1996-05-11 03:16:30 +04:00
|
|
|
LDADD= -lcurses -ltermcap -lm -lkvm
|
1995-01-20 11:30:50 +03:00
|
|
|
BINGRP= kmem
|
|
|
|
BINMODE=2555
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1998-02-09 09:25:15 +03:00
|
|
|
|
|
|
|
# XXX
|
|
|
|
.if defined(UVM)
|
|
|
|
CPPFLAGS+= -DUVM
|
|
|
|
.endif
|
1998-02-18 06:54:58 +03:00
|
|
|
.if defined(PMAP_NEW)
|
|
|
|
CPPFLAGS+= -DPMAP_NEW
|
|
|
|
.endif
|