2005-02-27 01:12:33 +03:00
|
|
|
# $NetBSD: Makefile,v 1.30 2005/02/26 22:12:33 dsl Exp $
|
1995-01-20 11:30:50 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1995-01-20 11:30:50 +03:00
|
|
|
PROG= systat
|
2005-02-27 01:12:33 +03:00
|
|
|
WARNS=3
|
1995-12-22 11:04:24 +03:00
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.bin/vmstat ${NETBSDSRCDIR}/usr.bin/who
|
1996-05-11 03:16:30 +04:00
|
|
|
|
2002-09-18 18:00:33 +04:00
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/vmstat -DSUPPORT_UTMP -DSUPPORT_UTMPX \
|
|
|
|
-I${NETBSDSRCDIR}/usr.bin/who
|
1999-02-22 00:48:07 +03:00
|
|
|
CWARNFLAGS+= -Wno-format-y2k
|
2005-02-16 06:45:41 +03:00
|
|
|
SRCS= bufcache.c cmds.c cmdtab.c disks.c df.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 utmpentry.c
|
1998-02-19 01:47:41 +03:00
|
|
|
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
|
2002-08-08 21:06:31 +04:00
|
|
|
LDADD= -lutil -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
|
|
|
|
2005-01-10 05:58:58 +03:00
|
|
|
CPPFLAGS+=-DIPSEC
|
|
|
|
SRCS+= ipsec.c
|
|
|
|
|
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DINET6
|
|
|
|
SRCS+= ip6.c
|
|
|
|
.endif
|
2000-01-05 14:59:12 +03:00
|
|
|
|
1995-01-20 11:30:50 +03:00
|
|
|
.include <bsd.prog.mk>
|