]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/top/Makefile
Merge libc++ trunk r351319, and resolve conflicts.
[FreeBSD/FreeBSD.git] / usr.bin / top / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 PROG=   top
6 SRCS=   commands.c display.c machine.c screen.c top.c \
7         username.c utils.c
8 MAN=    top.1
9
10 .if ${COMPILER_TYPE} == "gcc"
11 .if ${COMPILER_VERSION} >= 50000
12 CFLAGS.gcc=-Wno-error=discarded-qualifiers -Wno-error=incompatible-pointer-types
13 .else #base gcc
14 NO_WERROR=
15 .endif
16 .endif
17 CFLAGS.clang=-Wno-error=incompatible-pointer-types-discards-qualifiers
18
19 LIBADD= ncursesw m kvm jail util sbuf
20 .include <bsd.prog.mk>