1996-11-21 14:36:09 -05:00
|
|
|
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1999-08-27 20:22:10 -04:00
|
|
|
# $FreeBSD$
|
1994-05-26 02:35:07 -04:00
|
|
|
|
|
|
|
|
PROG= ifconfig
|
1997-05-04 02:27:45 -04:00
|
|
|
SRCS= ifconfig.c
|
|
|
|
|
|
|
|
|
|
#comment out to exclude SIOC[GS]IFMEDIA support
|
|
|
|
|
SRCS+= ifmedia.c
|
|
|
|
|
CFLAGS+=-DUSE_IF_MEDIA
|
1999-12-15 00:13:22 -05:00
|
|
|
CFLAGS+=-DINET6
|
1997-05-04 02:27:45 -04:00
|
|
|
|
1999-03-14 20:22:01 -05:00
|
|
|
#comment out to exclude SIOC[GS]ETVLAN support
|
|
|
|
|
SRCS+= ifvlan.c
|
|
|
|
|
CFLAGS+=-DUSE_VLANS
|
|
|
|
|
|
2001-05-26 05:27:08 -04:00
|
|
|
#comment out to exclude SIOC[GS]IEEE80211 support
|
|
|
|
|
SRCS+= ifieee80211.c
|
|
|
|
|
CFLAGS+=-DUSE_IEEE80211
|
|
|
|
|
|
2002-10-22 23:40:47 -04:00
|
|
|
#comment out to exclude MAC support
|
|
|
|
|
SRCS+= ifmac.c
|
|
|
|
|
CFLAGS+=-DUSE_MAC
|
|
|
|
|
|
2001-03-26 09:33:27 -05:00
|
|
|
MAN= ifconfig.8
|
2001-07-20 20:35:11 -04:00
|
|
|
|
|
|
|
|
.if defined(RELEASE_CRUNCH)
|
|
|
|
|
CFLAGS+=-DNO_IPX
|
|
|
|
|
.else
|
1996-11-21 14:36:09 -05:00
|
|
|
DPADD= ${LIBIPX}
|
|
|
|
|
LDADD= -lipx
|
2001-07-20 20:35:11 -04:00
|
|
|
.endif
|
|
|
|
|
|
2001-09-05 16:10:59 -04:00
|
|
|
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
1999-03-14 20:22:01 -05:00
|
|
|
-Wnested-externs -I..
|
2004-02-23 15:25:27 -05:00
|
|
|
WARNS?= 0
|
1994-05-26 02:35:07 -04:00
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|