diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile new file mode 100644 index 000000000000..d114e5551cd5 --- /dev/null +++ b/usr.bin/top/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 1999/02/15 02:36:10 simonb Exp $ + +PROG= top + +WARNS= 0 # XXX +.PATH: ${.CURDIR}/machine + +CPPFLAGS+=-I${.CURDIR} -I. -DORDER -DHAVE_STRERROR -DUVM +SRCS= top.c commands.c display.c screen.c username.c utils.c version.c \ + m_netbsd13.c +DPSRCS+=sigdesc.h + +LDADD+= -ltermcap -lm -lkvm +DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM} +BINGRP= kmem +BINMODE=2555 + +sigdesc.h: ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h + awk -f ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h > \ + ${.TARGET} + +.include