kernel: Fix a -Wundef warning.
[dragonfly.git] / sbin / ifconfig / Makefile
blob4cee84dbb8eb69b18c567c39a2e17d9c69e3fffd
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 $
4 PROG= ifconfig
6 SRCS= ifconfig.c # base support
9 # NB: The order here defines the order in which the constructors
10 # are called. This in turn defines the default order in which
11 # status is displayed. Probably should add a priority mechanism
12 # to the registration process so we don't depend on this aspect
13 # of the toolchain.
15 SRCS+= af_link.c # LLC support
16 SRCS+= af_inet.c # IPv4 support
17 SRCS+= af_inet6.c # IPv6 support
19 SRCS+= ifclone.c # clone device support
20 SRCS+= iflagg.c
21 #SRCS+= ifmac.c # MAC support
22 SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support
23 SRCS+= ifvlan.c # SIOC[GS]ETVLAN support
24 SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support
25 SRCS+= regdomain.c
27 SRCS+= ifcarp.c # SIOC[GS]VH support
28 #SRCS+= ifpfsync.c # pfsync(4) support
30 SRCS+= ifbridge.c # bridge support
32 DPADD= ${LIBBSDXML} ${LIBSBUF}
33 LDADD= -lbsdxml -lsbuf
35 MAN= ifconfig.8
37 WARNS= 2
38 NO_STRICT_ALIASING=
40 .include <bsd.prog.mk>