1 # $FreeBSD: src/usr.bin/top/Makefile,v 1.5.6.2 2002/08/11 17:09:54 dwmalone Exp $
2 # $DragonFly: src/usr.bin/top/Makefile,v 1.8 2007/08/27 16:50:59 pavalos Exp $
5 TOPDIR
= ${.CURDIR
}/..
/..
/contrib
/top
8 CFLAGS
+= -DHAVE_GETOPT
-DHAVE_STRERROR
-I
${.CURDIR
} -I
${.OBJDIR
} \
9 -I
${TOPDIR} -I.
-DORDER
11 .if
${MACHINE_ARCH} == "i386"
14 .if
${MACHINE_ARCH} == "x86_64"
18 SRCS
= commands.c getopt.c screen.c username.c version.c \
19 color.c display.c hash.c m_dragonfly.c top.c utils.c
21 DPADD
= ${LIBTERMCAP} ${LIBM} ${LIBKVM} ${LIBKINFO}
22 LDADD
= -ltermcap
-lm
-lkvm
-lkinfo
28 .
include <bsd.prog.mk
>