1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD$ 3 4.include <bsd.own.mk> 5 6PROG= ifconfig 7 8SRCS= ifconfig.c # base support 9 10# 11# NB: The order here defines the order in which the constructors 12# are called. This in turn defines the default order in which 13# status is displayed. Probably should add a priority mechanism 14# to the registration process so we don't depend on this aspect 15# of the toolchain. 16# 17SRCS+= af_link.c # LLC support 18SRCS+= af_inet.c # IPv4 support 19SRCS+= af_inet6.c # IPv6 support 20SRCS+= af_atalk.c # AppleTalk support 21 22SRCS+= ifclone.c # clone device support 23SRCS+= ifmac.c # MAC support 24SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 25SRCS+= ifvlan.c # SIOC[GS]ETVLAN support 26SRCS+= ifgre.c # GRE keys etc 27 28SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support 29DPADD+= ${LIBBSDXML} ${LIBSBUF} 30LDADD+= -lbsdxml -lsbuf 31 32SRCS+= ifcarp.c # SIOC[GS]VH support 33SRCS+= ifgroup.c # ... 34SRCS+= ifpfsync.c # pfsync(4) support 35 36SRCS+= ifbridge.c # bridge support 37SRCS+= iflagg.c # lagg support 38 39.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) 40SRCS+= af_ipx.c # IPX support 41DPADD+= ${LIBIPX} 42LDADD+= -lipx 43.endif 44 45MAN= ifconfig.8 46 47CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 48WARNS?= 0 49 50.include <bsd.prog.mk> 51