<sys/proc.h>: Fix unused macro name (number == bit number) and comment.
[dragonfly.git] / usr.bin / top / Makefile
blobfa22250fb3b730198797a71dd8875fb93e7f64f3
1 # $FreeBSD: src/usr.bin/top/Makefile,v 1.5.6.2 2002/08/11 17:09:54 dwmalone Exp $
2 PROG= top
4 TOPDIR= ${.CURDIR}/../../contrib/top
5 .PATH: ${TOPDIR}
7 CFLAGS+= -DHAVE_GETOPT -DHAVE_STRERROR -I${.CURDIR} -I${.OBJDIR} \
8 -I${TOPDIR} -I. -DORDER
10 .if ${MACHINE_ARCH} == "i386"
11 CFLAGS+=-D_ENABLEX32
12 .endif
13 .if ${MACHINE_ARCH} == "x86_64"
14 CFLAGS+=-D_ENABLEX64
15 .endif
17 SRCS= commands.c getopt.c screen.c username.c version.c \
18 color.c display.c hash.c m_dragonfly.c top.c utils.c
20 DPADD= ${LIBNCURSES} ${LIBM} ${LIBKVM} ${LIBKINFO}
21 LDADD= -lprivate_ncurses -lm -lkvm -lkinfo
23 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
24 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
26 BINGRP= kmem
27 BINMODE=2555
29 WARNS?= 1
31 .include <bsd.prog.mk>