4e4f3a8d0c
This sets configuration variables directly in the various header files, avoiding the need to have special logic in our Makefile to build the header.
20 lines
388 B
Makefile
20 lines
388 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= top
|
|
SRCS= commands.c display.c machine.c screen.c top.c \
|
|
username.c utils.c
|
|
SRCS+= sigdesc.h top.local.h
|
|
CFLAGS+= -I ${.OBJDIR}
|
|
MAN= top.1
|
|
|
|
WARNS?= 1
|
|
|
|
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>
|