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