7157011597
MKINET6 is for providing IPv6 infrastructure. USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
32 lines
821 B
Makefile
32 lines
821 B
Makefile
# $NetBSD: Makefile,v 1.28 2005/01/10 02:58:59 lukem Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= systat
|
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.bin/vmstat ${NETBSDSRCDIR}/usr.bin/who
|
|
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/vmstat -DSUPPORT_UTMP -DSUPPORT_UTMPX \
|
|
-I${NETBSDSRCDIR}/usr.bin/who
|
|
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 utmpentry.c
|
|
DPADD= ${LIBCURSES} ${LIBM} ${LIBKVM}
|
|
LDADD= -lutil -lcurses -lm -lkvm
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
LINKS= ${BINDIR}/systat ${BINDIR}/sysstat
|
|
MLINKS+=systat.1 sysstat.1
|
|
|
|
CPPFLAGS+=-DIPSEC
|
|
SRCS+= ipsec.c
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DINET6
|
|
SRCS+= ip6.c
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|