mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 00:40:33 -05:00
* 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
20 lines
330 B
Makefile
20 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>
|