blob: c9297af01e90fc4f1d6520ab056b1ed836b4ae5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $OpenBSD: Makefile,v 1.14 2002/02/17 07:52:38 hugh Exp $
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
CPPFLAGS+=-DINET6
.if (${MACHINE_ARCH} == "vax")
cmds.o:
${CC} ${CFLAGS} ${CPPFLAGS} -O0 -c $<
.endif
.include <bsd.prog.mk>
|