privatize libncurses (touches many, many programs)
[dragonfly.git] / usr.bin / systat / Makefile
blob5f99c5eab702d898341f1e849435a3e735650a0a
1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
3 .PATH: ${.CURDIR}/../../usr.bin/who
5 PROG= systat
6 CFLAGS+=-DINET6 -I${.CURDIR}/../../sys
7 SRCS= cmds.c cmdtab.c convtbl.c devs.c fetch.c ifcmds.c ifstat.c iostat.c \
8 keyboard.c main.c mbufs.c netcmds.c netstat.c pigs.c sensors.c swap.c \
9 icmp.c mode.c ip.c tcp.c vmstat.c ip6.c icmp6.c vmmeter.c symbols.c \
10 utmpentry.c netbw.c pftop.c altqs.c
11 DPADD= ${LIBNCURSES} ${LIBTERMCAP} ${LIBM} ${LIBKVM} ${LIBDEVSTAT} ${LIBKINFO}
12 LDADD= -lprivate_ncurses -lprivate_termcap -lm -lkvm -ldevstat -lkinfo
13 BINGRP= kmem
14 BINMODE=2555
16 DPADD+= ${LIBUTIL}
17 LDADD+= -lutil
18 LDFLAGS+= -rpath /lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
20 CFLAGS+= -I${.CURDIR}/../../usr.bin/who -DSUPPORT_UTMP -DSUPPORT_UTMPX
22 .include <bsd.prog.mk>