xref: /dragonfly/sbin/ifconfig/Makefile (revision 5f39c7e7)
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
4PROG=	ifconfig
5
6SRCS=	ifconfig.c		# base support
7
8#
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.
14#
15SRCS+=	af_link.c		# LLC support
16SRCS+=	af_inet.c		# IPv4 support
17SRCS+=	af_inet6.c		# IPv6 support
18
19SRCS+=	ifclone.c		# clone device support
20#SRCS+=	ifmac.c			# MAC support
21SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
22SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
23SRCS+=	ifieee80211.c 		# SIOC[GS]IEEE80211 support
24SRCS+=	regdomain.c
25
26SRCS+=	ifcarp.c		# SIOC[GS]VH support
27#SRCS+=	ifpfsync.c		# pfsync(4) support
28
29SRCS+=	ifbridge.c		# bridge support
30
31DPADD=	${LIBBSDXML} ${LIBSBUF}
32LDADD=	-lbsdxml -lsbuf
33
34MAN=	ifconfig.8
35
36WARNS=	2
37
38.include <bsd.prog.mk>
39