]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - sbin/ifconfig/Makefile
MFC r309400:
[FreeBSD/stable/8.git] / sbin / ifconfig / Makefile
1 #       From: @(#)Makefile      8.1 (Berkeley) 6/5/93
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 PROG=   ifconfig
7
8 SRCS=   ifconfig.c              # base support
9
10 #
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
15 #     of the toolchain.
16 #
17 SRCS+=  af_link.c               # LLC support
18 SRCS+=  af_inet.c               # IPv4 support
19 SRCS+=  af_inet6.c              # IPv6 support
20 SRCS+=  af_atalk.c              # AppleTalk support
21 SRCS+=  af_nd6.c                # ND6 support
22
23 SRCS+=  ifclone.c               # clone device support
24 SRCS+=  ifmac.c                 # MAC support
25 SRCS+=  ifmedia.c               # SIOC[GS]IFMEDIA support
26 SRCS+=  iffib.c                 # non-default FIB support
27 SRCS+=  ifvlan.c                # SIOC[GS]ETVLAN support
28 SRCS+=  ifgre.c                 # GRE keys etc
29 SRCS+=  ifgif.c                 # GIF reversed header workaround
30
31 SRCS+=  ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
32 DPADD+= ${LIBBSDXML} ${LIBSBUF} ${LIBJAIL}
33 LDADD+= -lbsdxml -ljail -lsbuf
34
35 SRCS+=  ifcarp.c                # SIOC[GS]VH support
36 SRCS+=  ifgroup.c               # ...
37 SRCS+=  ifpfsync.c              # pfsync(4) support
38
39 SRCS+=  ifbridge.c              # bridge support
40 SRCS+=  iflagg.c                # lagg support
41
42 .if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
43 SRCS+=  af_ipx.c                # IPX support
44 DPADD+= ${LIBIPX}
45 LDADD+= -lipx
46 .endif
47
48 MAN=    ifconfig.8
49
50 CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
51 WARNS?= 0
52
53 .include <bsd.prog.mk>