NetBSD/usr.bin/systat/Makefile

26 lines
625 B
Makefile

# $NetBSD: Makefile,v 1.17 1999/05/30 20:26:20 ad Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= systat
.PATH: ${.CURDIR}/../../usr.bin/vmstat
CPPFLAGS+=-I${.CURDIR}/../../usr.bin/vmstat
CWARNFLAGS+= -Wno-format-y2k
SRCS= cmds.c cmdtab.c disks.c dkstats.c fetch.c iostat.c keyboard.c \
main.c mbufs.c netcmds.c netstat.c pigs.c ps.c swap.c vmstat.c \
tcp.c ip.c icmp.c
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
LDADD= -lcurses -lm -lkvm
BINGRP= kmem
BINMODE=2555
LINKS= ${BINDIR}/systat ${BINDIR}/sysstat
MLINKS+=systat.1 sysstat.1
.include <bsd.prog.mk>
# XXX
.if defined(PMAP_NEW)
CPPFLAGS+= -DPMAP_NEW
.endif