2001-02-04 17:42:31 +03:00
|
|
|
# $NetBSD: Makefile,v 1.23 2001/02/04 14:51:06 mrg 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
|
|
|
|
2001-02-04 17:42:31 +03:00
|
|
|
.if ${MACHINE} == "sparc64"
|
|
|
|
CFLAGS+= -msoft-quad-float
|
|
|
|
.endif
|
|
|
|
|
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
|
1999-02-22 00:48:07 +03:00
|
|
|
CWARNFLAGS+= -Wno-format-y2k
|
1999-12-16 07:02:22 +03:00
|
|
|
SRCS= bufcache.c cmds.c cmdtab.c disks.c dkstats.c fetch.c globalcmds.c \
|
|
|
|
icmp.c iostat.c ip.c keyboard.c main.c mbufs.c netcmds.c netstat.c \
|
|
|
|
pigs.c ps.c swap.c tcp.c vmstat.c
|
1998-02-19 01:47:41 +03:00
|
|
|
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
|
|
|
|
LDADD= -lcurses -lm -lkvm
|
1995-01-20 11:30:50 +03:00
|
|
|
BINGRP= kmem
|
|
|
|
BINMODE=2555
|
1999-04-29 19:00:21 +04:00
|
|
|
LINKS= ${BINDIR}/systat ${BINDIR}/sysstat
|
|
|
|
MLINKS+=systat.1 sysstat.1
|
1995-01-20 11:30:50 +03:00
|
|
|
|
2000-01-09 02:12:36 +03:00
|
|
|
CPPFLAGS+=-DINET6 -DIPSEC
|
|
|
|
SRCS+= ip6.c ipsec.c
|
2000-01-05 14:59:12 +03:00
|
|
|
|
1995-01-20 11:30:50 +03:00
|
|
|
.include <bsd.prog.mk>
|