NetBSD/usr.bin/top/Makefile
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00

24 lines
571 B
Makefile

# $NetBSD: Makefile,v 1.8 2003/10/21 10:01:22 lukem Exp $
PROG= top
.PATH: ${.CURDIR}/machine
CPPFLAGS+=-I${.CURDIR} -I. -DORDER -DHAVE_STRERROR
SRCS= top.c commands.c display.c screen.c username.c utils.c version.c \
m_netbsd15.c
DPSRCS+=sigdesc.h
LDADD+= -ltermcap -lm -lkvm
DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM}
sigdesc.h: ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h
${_MKTARGET_CREATE}
awk -f ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h > \
${.TARGET}
CLEANFILES+= sigdesc.h
commands.c: sigdesc.h
.include <bsd.prog.mk>