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