23 lines
552 B
Makefile
23 lines
552 B
Makefile
# $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 <bsd.prog.mk>
|