]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sbin/ifconfig/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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+=  ifvlan.c                # SIOC[GS]ETVLAN support
27 SRCS+=  ifgre.c                 # GRE keys etc
28 SRCS+=  ifgif.c                 # GIF reversed header workaround
29
30 SRCS+=  ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
31 DPADD+= ${LIBBSDXML} ${LIBSBUF} ${LIBJAIL}
32 LDADD+= -lbsdxml -ljail -lsbuf
33
34 SRCS+=  ifcarp.c                # SIOC[GS]VH support
35 SRCS+=  ifgroup.c               # ...
36 SRCS+=  ifpfsync.c              # pfsync(4) support
37
38 SRCS+=  ifbridge.c              # bridge support
39 SRCS+=  iflagg.c                # lagg support
40
41 .if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
42 SRCS+=  af_ipx.c                # IPX support
43 DPADD+= ${LIBIPX}
44 LDADD+= -lipx
45 .endif
46
47 MAN=    ifconfig.8
48
49 CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
50 WARNS?= 0
51
52 .include <bsd.prog.mk>