NetBSD/usr.bin/top/Makefile

23 lines
550 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2003/08/01 17:04:05 lukem Exp $
1999-02-15 05:36:10 +03:00
PROG= top
.PATH: ${.CURDIR}/machine
CPPFLAGS+=-I${.CURDIR} -I. -DORDER -DHAVE_STRERROR
1999-02-15 05:36:10 +03:00
SRCS= top.c commands.c display.c screen.c username.c utils.c version.c \
m_netbsd15.c
1999-02-15 05:36:10 +03:00
DPSRCS+=sigdesc.h
LDADD+= -ltermcap -lm -lkvm
DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM}
sigdesc.h: ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h
awk -f ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h > \
${.TARGET}
CLEANFILES+= sigdesc.h
1999-02-15 05:36:10 +03:00
commands.c: sigdesc.h
1999-02-15 05:36:10 +03:00
.include <bsd.prog.mk>