Makefile revision 139103
181634Sbrian#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
2330449Seadler# $FreeBSD: head/sbin/ifconfig/Makefile 138593 2004-12-08 19:18:07Z sam $
3330449Seadler
481634SbrianPROG=	ifconfig
581634Sbrian
681634SbrianSRCS=	ifconfig.c		# base support
781634Sbrian
881634Sbrian#
981634Sbrian# NB: The order here defines the order in which the constructors
1081634Sbrian#     are called.  This in turn defines the default order in which
1181634Sbrian#     status is displayed.  Probably should add a priority mechanism
1281634Sbrian#     to the registration process so we don't depend on this aspect
1381634Sbrian#     of the toolchain.
1481634Sbrian#
1581634SbrianSRCS+=	af_link.c		# LLC support
1681634SbrianSRCS+=	af_inet.c		# IPv4 support
1781634SbrianSRCS+=	af_inet6.c		# IPv6 support
1881634SbrianSRCS+=	af_atalk.c		# AppleTalk support
1981634Sbrian
2081634SbrianSRCS+=	ifclone.c		# clone device support
2181634SbrianSRCS+=	ifmac.c			# MAC support
2281634SbrianSRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
2381634SbrianSRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
2481634SbrianSRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
2581634Sbrian
2681634Sbrian.if !defined(RELEASE_CRUNCH)
2781634SbrianSRCS+=	af_ipx.c		# IPX support
2881634SbrianDPADD=	${LIBIPX}
2981634SbrianLDADD=	-lipx
3081634Sbrian.endif
3181634Sbrian
3281634SbrianMAN=	ifconfig.8
3381634Sbrian
3481634SbrianCFLAGS+= -g -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
3581634Sbrian	-Wnested-externs -I..
3681634SbrianWARNS?=	0
37102558Sbrian
38102558Sbrian.include <bsd.prog.mk>
3981634Sbrian