NetBSD/usr.bin/top/Makefile

23 lines
552 B
Makefile
Raw Normal View History

1999-02-15 05:36:10 +03:00
# $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>