mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
2d58d642d2
interfaces using the 'mac' argument. Without MAC support in the kernel, this does not change the behavior of ifconfig. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
38 lines
676 B
Makefile
38 lines
676 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
PROG= ifconfig
|
|
SRCS= ifconfig.c
|
|
|
|
#comment out to exclude SIOC[GS]IFMEDIA support
|
|
SRCS+= ifmedia.c
|
|
CFLAGS+=-DUSE_IF_MEDIA
|
|
CFLAGS+=-DINET6
|
|
|
|
#comment out to exclude SIOC[GS]ETVLAN support
|
|
SRCS+= ifvlan.c
|
|
CFLAGS+=-DUSE_VLANS
|
|
|
|
#comment out to exclude SIOC[GS]IEEE80211 support
|
|
SRCS+= ifieee80211.c
|
|
CFLAGS+=-DUSE_IEEE80211
|
|
|
|
#comment out to exclude MAC support
|
|
SRCS+= ifmac.c
|
|
CFLAGS+=-DUSE_MAC
|
|
|
|
MAN= ifconfig.8
|
|
|
|
.if defined(RELEASE_CRUNCH)
|
|
CFLAGS+=-DNO_IPX
|
|
.else
|
|
DPADD= ${LIBIPX}
|
|
LDADD= -lipx
|
|
.endif
|
|
|
|
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
|
-Wnested-externs -I..
|
|
WARNS= 0
|
|
|
|
.include <bsd.prog.mk>
|