BSD-style Makefile.

This commit is contained in:
simonb 1999-02-15 02:36:10 +00:00
parent 226f1ea4c8
commit 6d97973ad2
1 changed files with 22 additions and 0 deletions

22
usr.bin/top/Makefile Normal file
View File

@ -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 <bsd.prog.mk>