From 6d97973ad24d39713e8858641ad53382053d9f59 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 15 Feb 1999 02:36:10 +0000 Subject: [PATCH] BSD-style Makefile. --- usr.bin/top/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 usr.bin/top/Makefile 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