freebsd-skq/usr.bin/systat/Makefile

32 lines
587 B
Makefile
Raw Normal View History

1994-05-27 12:33:43 +00:00
# @(#)Makefile 8.1 (Berkeley) 6/6/93
2000-09-16 03:30:50 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
.include <src.opts.mk>
2006-07-27 14:20:14 +00:00
1994-05-27 12:33:43 +00:00
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 \
2006-07-27 14:20:14 +00:00
mode.c ip.c tcp.c \
vmstat.c convtbl.c ifcmds.c ifstat.c
2006-07-27 14:20:14 +00:00
.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
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>