1aacce7a45
despite the fact that most people want to set exactly the same settings regardless of which card they have. It has been repeatidly suggested that this configuration should be done via ifconfig. This patch implements the required functionality in ifconfig and add support to the wi and an drivers. It also provides partial, untested support for the awi driver. PR: 25577 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
29 lines
572 B
Makefile
29 lines
572 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
|
|
.if !defined(RELEASE_CRUNCH)
|
|
CFLAGS+=-DINET6
|
|
|
|
#comment out to exclude SIOC[GS]ETVLAN support
|
|
SRCS+= ifvlan.c
|
|
CFLAGS+=-DUSE_VLANS
|
|
.endif
|
|
|
|
#comment out to exclude SIOC[GS]IEEE80211 support
|
|
SRCS+= ifieee80211.c
|
|
CFLAGS+=-DUSE_IEEE80211
|
|
|
|
MAN= ifconfig.8
|
|
DPADD= ${LIBIPX}
|
|
LDADD= -lipx
|
|
COPTS= -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
|
-Wnested-externs -I..
|
|
|
|
.include <bsd.prog.mk>
|