freebsd-nq/usr.sbin/ifmcstat/Makefile
Bruce M Simpson 60dd8da775 Considerably rework the ifmcstat utility.
* Build with or without INET, INET6, or KVM features.
  * When built without KVM, the sysctl-based getifmaddrs() function
    is used as the back-end for the utility.
 * Reflect the fact that FreeBSD now uses the in_multi refcount as
   a true refcount.
 * Style.

The utility may now be run without super-user privilege, albeit with
a less detailed display, equivalent to that of the soon-to-be-retired
netstat -g host-mode output.

MFC after:	3 weeks
2007-04-10 00:26:12 +00:00

21 lines
330 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
PROG= ifmcstat
MAN= ifmcstat.8
BINMODE= 550
WARNS?= 2
.if !defined(MK_INET6_SUPPORT) || ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DINET6
.endif
.if !defined(MK_KVM_SUPPORT) || ${MK_KVM_SUPPORT} != "no"
CFLAGS+=-DWITH_KVM
DPADD= ${LIBKVM}
LDADD= -lkvm
.endif
.include <bsd.prog.mk>