From: Sascha Wildner Date: Thu, 17 May 2018 20:06:21 +0000 (+0200) Subject: top(1): Remove an unused file from the Makefile. We do pass HAVE_GETOPT. X-Git-Tag: v5.5.0~614 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/753fc164147b455d823fb3f6b626adc12430d257 top(1): Remove an unused file from the Makefile. We do pass HAVE_GETOPT. Based-on-a-patch-by: zrj --- diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile index fa22250fb3..8003a6a726 100644 --- a/usr.bin/top/Makefile +++ b/usr.bin/top/Makefile @@ -7,14 +7,11 @@ TOPDIR= ${.CURDIR}/../../contrib/top CFLAGS+= -DHAVE_GETOPT -DHAVE_STRERROR -I${.CURDIR} -I${.OBJDIR} \ -I${TOPDIR} -I. -DORDER -.if ${MACHINE_ARCH} == "i386" -CFLAGS+=-D_ENABLEX32 -.endif .if ${MACHINE_ARCH} == "x86_64" CFLAGS+=-D_ENABLEX64 .endif -SRCS= commands.c getopt.c screen.c username.c version.c \ +SRCS= commands.c screen.c username.c version.c \ color.c display.c hash.c m_dragonfly.c top.c utils.c DPADD= ${LIBNCURSES} ${LIBM} ${LIBKVM} ${LIBKINFO}