]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sbin/ifconfig/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.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
22 SRCS+=  ifclone.c               # clone device support
23 SRCS+=  ifmac.c                 # MAC support
24 SRCS+=  ifmedia.c               # SIOC[GS]IFMEDIA support
25 SRCS+=  ifvlan.c                # SIOC[GS]ETVLAN support
26 SRCS+=  ifieee80211.c           # SIOC[GS]IEEE80211 support
27 SRCS+=  ifgre.c                 # GRE keys etc
28
29 SRCS+=  ifcarp.c                # SIOC[GS]VH support
30 SRCS+=  ifgroup.c               # ...
31 SRCS+=  ifpfsync.c              # pfsync(4) support
32
33 SRCS+=  ifbridge.c              # bridge support
34 SRCS+=  iflagg.c                # lagg support
35
36 .if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
37 SRCS+=  af_ipx.c                # IPX support
38 DPADD=  ${LIBIPX}
39 LDADD=  -lipx
40 .endif
41
42 MAN=    ifconfig.8
43
44 CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
45 WARNS?= 0
46
47 .include <bsd.prog.mk>