ifconfig(8): Raise WARNS to 2 and fix the resulting warnings.
[dragonfly.git] / sbin / ifconfig / Makefile
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 $
4
5 PROG=   ifconfig
6
7 SRCS=   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 #
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
20
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
26 SRCS+=  regdomain.c
27
28 SRCS+=  ifcarp.c                # SIOC[GS]VH support
29 #SRCS+= ifpfsync.c              # pfsync(4) support
30
31 SRCS+=  ifbridge.c              # bridge support
32
33 SRCS+=  af_ipx.c                # IPX support
34
35 DPADD=  ${LIBIPX} ${LIBBSDXML} ${LIBSBUF}
36 LDADD=  -lipx -lbsdxml -lsbuf
37
38 MAN=    ifconfig.8
39
40 WARNS=  2
41
42 .include <bsd.prog.mk>