NetBSD/usr.bin/systat/Makefile

28 lines
703 B
Makefile

# $NetBSD: Makefile,v 1.23 2001/02/04 14:51:06 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= systat
.if ${MACHINE} == "sparc64"
CFLAGS+= -msoft-quad-float
.endif
.PATH: ${.CURDIR}/../../usr.bin/vmstat
CPPFLAGS+=-I${.CURDIR}/../../usr.bin/vmstat
CWARNFLAGS+= -Wno-format-y2k
SRCS= bufcache.c cmds.c cmdtab.c disks.c dkstats.c fetch.c globalcmds.c \
icmp.c iostat.c ip.c keyboard.c main.c mbufs.c netcmds.c netstat.c \
pigs.c ps.c swap.c tcp.c vmstat.c
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
LDADD= -lcurses -lm -lkvm
BINGRP= kmem
BINMODE=2555
LINKS= ${BINDIR}/systat ${BINDIR}/sysstat
MLINKS+=systat.1 sysstat.1
CPPFLAGS+=-DINET6 -DIPSEC
SRCS+= ip6.c ipsec.c
.include <bsd.prog.mk>