1 # From: @(#)Makefile 8.1 (Berkeley) 6/5/93
8 SRCS= ifconfig.c # base support
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
17 SRCS+= af_link.c # LLC support
18 .if ${MK_INET_SUPPORT} != "no"
19 SRCS+= af_inet.c # IPv4 support
21 .if ${MK_INET6_SUPPORT} != "no"
22 SRCS+= af_inet6.c # IPv6 support
24 SRCS+= af_atalk.c # AppleTalk support
25 .if ${MK_INET6_SUPPORT} != "no"
26 SRCS+= af_nd6.c # ND6 support
29 SRCS+= ifclone.c # clone device support
30 SRCS+= ifmac.c # MAC support
31 SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support
32 SRCS+= iffib.c # non-default FIB support
33 SRCS+= ifvlan.c # SIOC[GS]ETVLAN support
34 SRCS+= ifgre.c # GRE keys etc
35 SRCS+= ifgif.c # GIF reversed header workaround
37 SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
38 DPADD+= ${LIBBSDXML} ${LIBJAIL} ${LIBSBUF}
39 LDADD+= -lbsdxml -ljail -lsbuf
41 SRCS+= ifcarp.c # SIOC[GS]VH support
42 SRCS+= ifgroup.c # ...
43 SRCS+= ifpfsync.c # pfsync(4) support
45 SRCS+= ifbridge.c # bridge support
46 SRCS+= iflagg.c # lagg support
48 .if ${MK_INET6_SUPPORT} != "no"
51 .if ${MK_INET_SUPPORT} != "no"
54 .if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
55 SRCS+= af_ipx.c # IPX support
62 CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
65 .include <bsd.prog.mk>