summaryrefslogtreecommitdiff
path: root/usr.bin/top/Makefile
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-14 14:00:29 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-14 14:00:29 +0000
commit6e46887b7158d427eebc23ab135222ed4df2bdf0 (patch)
tree3c75f1ac16fc0820700961b0f91b18496054cb6d /usr.bin/top/Makefile
parent44dbc9719c1c86a71535213a3f43c4cee4a4b770 (diff)
top 3.4, with a few changes. Still needs more work.
Diffstat (limited to 'usr.bin/top/Makefile')
-rw-r--r--usr.bin/top/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/top/Makefile b/usr.bin/top/Makefile
new file mode 100644
index 00000000000..aa428c726f2
--- /dev/null
+++ b/usr.bin/top/Makefile
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile,v 1.1 1997/08/14 14:00:20 downsj Exp $
+#
+# Makefile for OpenBSD top-3.4.
+
+PROG= top
+
+CFLAGS+=-I. -I${.CURDIR}
+SRCS= commands.c display.c machine.c screen.c top.c username.c utils.c \
+ version.c
+DPADD= ${LIBTERMLIB} ${LIBM} ${LIBKVM}
+LDADD= -ltermlib -lm -lkvm
+BINGRP= kmem
+BINMODE=2555
+
+CLEANFILES+= sigdesc.h
+
+.depend commands.o: sigdesc.h
+
+sigdesc.h:
+ awk -f ${.CURDIR}/sigconv.awk /usr/include/sys/signal.h > sigdesc.h
+
+.include <bsd.prog.mk>