freebsd-dev/usr.sbin/ifmcstat/Makefile
Gleb Smirnoff b1499feb9e Now that IGMP and MLD sysctls provide a clean API structures that do not
leak kernel internal stuff, reconnect ifmcstat(1) back to build.  However,
disable kvm(3) support in it, since it requires uncovering tons of _KERNEL
defined declarations, which can be achieved either uncovering them globally
or providing dirty hacks such as _WANT_IFADDR.  If anyone demands an
ifmcstat-like kvm-based tool, please take the code out of usr.sbin/ifmstat
and create a tool in src/tools/tools.
2015-02-19 22:42:33 +00:00

19 lines
236 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
.include <src.opts.mk>
PROG= ifmcstat
SRCS= ifmcstat.c printb.c
MAN= ifmcstat.8
BINMODE= 555
WARNS?= 2
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
.include <bsd.prog.mk>