freebsd-nq/usr.bin/top/Makefile
Eitan Adler 6ffc72df9d top(1): fix build
Remove 'top.local.hs'. This was not noticed since
/srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h
existed locally on my machine despite "make clean". Only fully removing
the objdir allowed me to observe the error directly.

Pointyhat to:	me
2018-05-21 09:43:50 +00:00

19 lines
369 B
Makefile

# $FreeBSD$
PROG= top
SRCS= commands.c display.c machine.c screen.c top.c \
username.c utils.c sigdesc.h
CFLAGS+= -I ${.OBJDIR}
MAN= top.1
WARNS?= 3
LIBADD= ncursesw m kvm jail
CLEANFILES= sigdesc.h
SIGNAL_H= ${SRCTOP}/sys/sys/signal.h
sigdesc.h: sigconv.awk ${SIGNAL_H}
awk -f ${SRCTOP}/usr.bin/top/sigconv.awk < ${SIGNAL_H} > ${.TARGET}
.include <bsd.prog.mk>