2003-10-21 14:01:19 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2003/10/21 10:01:22 lukem Exp $
|
1999-02-15 05:36:10 +03:00
|
|
|
|
|
|
|
PROG= top
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/machine
|
|
|
|
|
1999-03-24 08:50:49 +03:00
|
|
|
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 \
|
2000-05-26 08:01:13 +04:00
|
|
|
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
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
1999-02-15 05:36:10 +03:00
|
|
|
awk -f ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h > \
|
|
|
|
${.TARGET}
|
2003-08-01 21:03:41 +04:00
|
|
|
CLEANFILES+= sigdesc.h
|
1999-02-15 05:36:10 +03:00
|
|
|
|
2003-03-15 01:56:14 +03:00
|
|
|
commands.c: sigdesc.h
|
|
|
|
|
1999-02-15 05:36:10 +03:00
|
|
|
.include <bsd.prog.mk>
|