Makefile revision 156905
162053Smarkm#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
262765Smarkm# $FreeBSD: head/sbin/ifconfig/Makefile 156905 2006-03-20 14:24:58Z ru $
362053Smarkm
462053Smarkm.include <bsd.own.mk>
562053Smarkm
662053SmarkmPROG=	ifconfig
762053Smarkm
862053SmarkmSRCS=	ifconfig.c		# base support
962053Smarkm
1062053Smarkm#
1162053Smarkm# NB: The order here defines the order in which the constructors
1262053Smarkm#     are called.  This in turn defines the default order in which
1362053Smarkm#     status is displayed.  Probably should add a priority mechanism
1462053Smarkm#     to the registration process so we don't depend on this aspect
1562053Smarkm#     of the toolchain.
1662053Smarkm#
1762053SmarkmSRCS+=	af_link.c		# LLC support
1862053SmarkmSRCS+=	af_inet.c		# IPv4 support
1962053SmarkmSRCS+=	af_inet6.c		# IPv6 support
2062053SmarkmSRCS+=	af_atalk.c		# AppleTalk support
2162053Smarkm
2262053SmarkmSRCS+=	ifclone.c		# clone device support
2362053SmarkmSRCS+=	ifmac.c			# MAC support
2462053SmarkmSRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
2562053SmarkmSRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
2662053SmarkmSRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
2762053Smarkm
2862053SmarkmSRCS+=	ifcarp.c		# SIOC[GS]VH support
2962053SmarkmSRCS+=	ifpfsync.c		# pfsync(4) support
3063771Smarkm
3163771SmarkmSRCS+=	ifbridge.c		# bridge support
3262053Smarkm
3362053Smarkm.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
3462053SmarkmSRCS+=	af_ipx.c		# IPX support
3562053SmarkmDPADD=	${LIBIPX}
3665686SmarkmLDADD=	-lipx
3765686Smarkm.endif
3862053Smarkm
3965686SmarkmMAN=	ifconfig.8
4067365Sjhb
4167112SmarkmCFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
4262053SmarkmWARNS?=	0
4362053Smarkm
4465712Sjhb.include <bsd.prog.mk>
4569168Smarkm