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 21SRCS+= af_nd6.c # ND6 support 22 23SRCS+= ifclone.c # clone device support 24SRCS+= ifmac.c # MAC support 25SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 26SRCS+= ifvlan.c # SIOC[GS]ETVLAN support 27SRCS+= ifgre.c # GRE keys etc 28SRCS+= ifgif.c # GIF reversed header workaround 29 30SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support 31DPADD+= ${LIBBSDXML} ${LIBSBUF} ${LIBJAIL} 32LDADD+= -lbsdxml -ljail -lsbuf 33 34SRCS+= ifcarp.c # SIOC[GS]VH support 35SRCS+= ifgroup.c # ... 36SRCS+= ifpfsync.c # pfsync(4) support 37 38SRCS+= ifbridge.c # bridge support 39SRCS+= iflagg.c # lagg support 40 41.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) 42SRCS+= af_ipx.c # IPX support 43DPADD+= ${LIBIPX} 44LDADD+= -lipx 45.endif 46 47MAN= ifconfig.8 48 49CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 50WARNS?= 2 51 52.include <bsd.prog.mk> 53