1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 2# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.29 2005/06/05 03:32:51 thompsa Exp $ 3# $DragonFly: src/sbin/ifconfig/Makefile,v 1.4 2006/04/02 03:33:59 sephe Exp $ 4 5PROG= ifconfig 6 7SRCS= ifconfig.c # base support 8 9# 10# NB: The order here defines the order in which the constructors 11# are called. This in turn defines the default order in which 12# status is displayed. Probably should add a priority mechanism 13# to the registration process so we don't depend on this aspect 14# of the toolchain. 15# 16SRCS+= af_link.c # LLC support 17SRCS+= af_inet.c # IPv4 support 18SRCS+= af_inet6.c # IPv6 support 19SRCS+= af_atalk.c # AppleTalk support 20 21SRCS+= ifclone.c # clone device support 22#SRCS+= ifmac.c # MAC support 23SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 24SRCS+= ifvlan.c # SIOC[GS]ETVLAN support 25SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support 26 27#SRCS+= ifcarp.c # SIOC[GS]VH support 28#SRCS+= ifpfsync.c # pfsync(4) support 29 30SRCS+= ifbridge.c # bridge support 31 32.ifndef RELEASE_CRUNCH 33SRCS+= af_ipx.c # IPX support 34DPADD= ${LIBIPX} 35LDADD= -lipx 36.else 37CFLAGS+= -DNO_IPX 38.endif 39 40MAN= ifconfig.8 41 42CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 43WARNS= 0 44 45.include <bsd.prog.mk> 46