MFC:
[dragonfly.git] / sbin / ifconfig / Makefile
blob34908e9089956ea06327753e674c7085e53875ae
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.6 2007/08/16 20:03:55 dillon Exp $
5 PROG= ifconfig
7 SRCS= ifconfig.c # base support
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.
16 SRCS+= af_link.c # LLC support
17 SRCS+= af_inet.c # IPv4 support
18 SRCS+= af_inet6.c # IPv6 support
19 SRCS+= af_atalk.c # AppleTalk support
21 SRCS+= ifclone.c # clone device support
22 #SRCS+= ifmac.c # MAC support
23 SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support
24 SRCS+= ifvlan.c # SIOC[GS]ETVLAN support
25 SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support
27 SRCS+= ifcarp.c # SIOC[GS]VH support
28 #SRCS+= ifpfsync.c # pfsync(4) support
30 SRCS+= ifbridge.c # bridge support
32 .ifndef RELEASE_CRUNCH
33 SRCS+= af_ipx.c # IPX support
34 DPADD= ${LIBIPX}
35 LDADD= -lipx
36 .else
37 CFLAGS+= -DNO_IPX
38 .endif
40 MAN= ifconfig.8
42 WARNS= 0
44 .include <bsd.prog.mk>