kernel - Fix auto port assignment collision in network code
[dragonfly.git] / usr.bin / top / Makefile
blob564227c3b3f4537b2d3e0360d3008dc5459f743e
1 # $FreeBSD: src/usr.bin/top/Makefile,v 1.5.6.2 2002/08/11 17:09:54 dwmalone Exp $
2 PROG= top
4 CFLAGS+= -DORDER -I${.CURDIR}
6 .if ${MACHINE_ARCH} == "x86_64"
7 CFLAGS+=-D_ENABLEX64
8 .endif
10 SRCS= commands.c screen.c username.c version.c \
11 color.c display.c hash.c m_dragonfly.c top.c utils.c
13 DPADD= ${LIBNCURSES} ${LIBM} ${LIBKVM} ${LIBKINFO}
14 LDADD= -lprivate_ncurses -lm -lkvm -lkinfo
16 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv/ncurses
17 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
19 BINGRP= kmem
20 BINMODE=2555
22 WARNS?= 2
24 .include <bsd.prog.mk>