dim 24a0b90e26 Fix multiple warnings in usr.bin/top about discarded qualifiers from
both clang and gcc, by either constifying variables, or when that is not
possible, using __DECONST.

MFC after:	1 week
2019-02-10 13:31:08 +00:00

16 lines
274 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PROG= top
SRCS= commands.c display.c machine.c screen.c top.c \
username.c utils.c
MAN= top.1
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 50000
NO_WERROR=
.endif
LIBADD= ncursesw m kvm jail util sbuf
.include <bsd.prog.mk>