Makefile revision 146987
119914Swollman#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
250476Speter# $FreeBSD: head/sbin/ifconfig/Makefile 146987 2005-06-05 03:32:53Z thompsa $
31558Srgrimes
41558SrgrimesPROG=	ifconfig
525451Speter
6138593SsamSRCS=	ifconfig.c		# base support
725451Speter
8138593Ssam#
9138593Ssam# NB: The order here defines the order in which the constructors
10138593Ssam#     are called.  This in turn defines the default order in which
11138593Ssam#     status is displayed.  Probably should add a priority mechanism
12138593Ssam#     to the registration process so we don't depend on this aspect
13138593Ssam#     of the toolchain.
14138593Ssam#
15138593SsamSRCS+=	af_link.c		# LLC support
16138593SsamSRCS+=	af_inet.c		# IPv4 support
17138593SsamSRCS+=	af_inet6.c		# IPv6 support
18138593SsamSRCS+=	af_atalk.c		# AppleTalk support
1944764Swpaul
20138593SsamSRCS+=	ifclone.c		# clone device support
21138593SsamSRCS+=	ifmac.c			# MAC support
22138593SsamSRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
23138593SsamSRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
24138593SsamSRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
2577217Sphk
26142215SglebiusSRCS+=	ifcarp.c		# SIOC[GS]VH support
27142215SglebiusSRCS+=	ifpfsync.c		# pfsync(4) support
28142215Sglebius
29146987SthompsaSRCS+=	ifbridge.c		# bridge support
30146987Sthompsa
31138593Ssam.if !defined(RELEASE_CRUNCH)
32138593SsamSRCS+=	af_ipx.c		# IPX support
3319914SwollmanDPADD=	${LIBIPX}
3419914SwollmanLDADD=	-lipx
3580057Sobrien.endif
3680057Sobrien
37138593SsamMAN=	ifconfig.8
38138593Ssam
39144130SbrooksCFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
40126178SjohanWARNS?=	0
411558Srgrimes
421558Srgrimes.include <bsd.prog.mk>
43