mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
b9b68a8878
Add support to systat to display zfs arc cache status/info
32 lines
600 B
Makefile
32 lines
600 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= systat
|
|
SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
|
|
netcmds.c netstat.c pigs.c swap.c icmp.c \
|
|
mode.c ip.c sctp.c tcp.c zarc.c \
|
|
vmstat.c convtbl.c ifcmds.c ifstat.c
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
SRCS+= icmp6.c ip6.c
|
|
CFLAGS+= -DINET6
|
|
.endif
|
|
|
|
WARNS?= 0
|
|
|
|
DPADD= ${LIBM} ${LIBDEVSTAT} ${LIBKVM}
|
|
LDADD= -lm -ldevstat -lkvm
|
|
|
|
.if ${MK_NCURSESW} == "no"
|
|
DPADD+= ${LIBNCURSES}
|
|
LDADD+= -lncurses
|
|
.else
|
|
CFLAGS+= -DUSE_WIDECHAR
|
|
DPADD+= ${LIBNCURSESW}
|
|
LDADD+= -lncursesw
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|