1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD$ 3 4.include <bsd.own.mk> 5 6PROG= systat 7SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \ 8 netcmds.c netstat.c pigs.c swap.c icmp.c \ 9 mode.c ip.c tcp.c \ 10 vmstat.c convtbl.c ifcmds.c ifstat.c 11 12.if ${MK_INET6_SUPPORT} != "no" 13SRCS+= icmp6.c ip6.c 14CFLAGS+= -DINET6 15.endif 16 17WARNS?= 0 18 19DPADD= ${LIBM} ${LIBDEVSTAT} ${LIBKVM} 20LDADD= -lm -ldevstat -lkvm 21 22.if ${MK_NCURSESW} == "no" 23DPADD+= ${LIBNCURSES} 24LDADD+= -lncurses 25.else 26CFLAGS+= -DUSE_WIDECHAR 27DPADD+= ${LIBNCURSESW} 28LDADD+= -lncursesw 29.endif 30 31.include <bsd.prog.mk> 32