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
|
|
|
|
2006-03-20 14:24:58 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
1994-05-26 06:35:07 +00:00
|
|
|
PROG= ifconfig
|
1997-05-04 06:27:45 +00:00
|
|
|
|
2004-12-08 19:18:07 +00:00
|
|
|
SRCS= ifconfig.c # base support
|
|
|
|
|
|
|
|
#
|
|
|
|
# NB: The order here defines the order in which the constructors
|
|
|
|
# are called. This in turn defines the default order in which
|
|
|
|
# status is displayed. Probably should add a priority mechanism
|
|
|
|
# to the registration process so we don't depend on this aspect
|
|
|
|
# of the toolchain.
|
|
|
|
#
|
|
|
|
SRCS+= af_link.c # LLC support
|
|
|
|
SRCS+= af_inet.c # IPv4 support
|
|
|
|
SRCS+= af_inet6.c # IPv6 support
|
|
|
|
SRCS+= af_atalk.c # AppleTalk support
|
|
|
|
|
|
|
|
SRCS+= ifclone.c # clone device support
|
|
|
|
SRCS+= ifmac.c # MAC support
|
|
|
|
SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support
|
|
|
|
SRCS+= ifvlan.c # SIOC[GS]ETVLAN support
|
|
|
|
SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support
|
|
|
|
|
2005-02-22 13:04:05 +00:00
|
|
|
SRCS+= ifcarp.c # SIOC[GS]VH support
|
2006-06-19 22:20:45 +00:00
|
|
|
SRCS+= ifgroup.c # ...
|
2005-02-22 13:04:05 +00:00
|
|
|
SRCS+= ifpfsync.c # pfsync(4) support
|
|
|
|
|
2005-06-05 03:32:53 +00:00
|
|
|
SRCS+= ifbridge.c # bridge support
|
2007-04-17 00:35:11 +00:00
|
|
|
SRCS+= iflagg.c # lagg support
|
2005-06-05 03:32:53 +00:00
|
|
|
|
2006-03-20 14:24:58 +00:00
|
|
|
.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
|
2004-12-08 19:18:07 +00:00
|
|
|
SRCS+= af_ipx.c # IPX support
|
1996-11-21 19:36:09 +00:00
|
|
|
DPADD= ${LIBIPX}
|
|
|
|
LDADD= -lipx
|
2001-07-21 00:35:11 +00:00
|
|
|
.endif
|
|
|
|
|
2004-12-08 19:18:07 +00:00
|
|
|
MAN= ifconfig.8
|
|
|
|
|
2005-03-25 22:08:59 +00:00
|
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
|
2004-02-23 20:25:27 +00:00
|
|
|
WARNS?= 0
|
1994-05-26 06:35:07 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|