Makefile revision 193664
1160814Ssimon#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
2160814Ssimon# $FreeBSD: head/sbin/ifconfig/Makefile 193664 2009-06-07 23:00:40Z hrs $
3160814Ssimon
4160814Ssimon.include <bsd.own.mk>
5160814Ssimon
6160814SsimonPROG=	ifconfig
7160814Ssimon
8160814SsimonSRCS=	ifconfig.c		# base support
9160814Ssimon
10160814Ssimon#
11160814Ssimon# NB: The order here defines the order in which the constructors
12160814Ssimon#     are called.  This in turn defines the default order in which
13296465Sdelphij#     status is displayed.  Probably should add a priority mechanism
14160814Ssimon#     to the registration process so we don't depend on this aspect
15160814Ssimon#     of the toolchain.
16160814Ssimon#
17160814SsimonSRCS+=	af_link.c		# LLC support
18160814SsimonSRCS+=	af_inet.c		# IPv4 support
19160814SsimonSRCS+=	af_inet6.c		# IPv6 support
20160814SsimonSRCS+=	af_atalk.c		# AppleTalk support
21160814Ssimon
22160814SsimonSRCS+=	ifclone.c		# clone device support
23160814SsimonSRCS+=	ifmac.c			# MAC support
24160814SsimonSRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
25160814SsimonSRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
26160814SsimonSRCS+=	ifgre.c			# GRE keys etc
27160814SsimonSRCS+=	ifgif.c			# GIF reversed header workaround
28160814Ssimon
29160814SsimonSRCS+=	ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
30160814SsimonDPADD+=	${LIBBSDXML} ${LIBSBUF}
31160814SsimonLDADD+=	-lbsdxml -lsbuf
32160814Ssimon
33160814SsimonSRCS+=	ifcarp.c		# SIOC[GS]VH support
34160814SsimonSRCS+=	ifgroup.c		# ...
35160814SsimonSRCS+=	ifpfsync.c		# pfsync(4) support
36160814Ssimon
37160814SsimonSRCS+=	ifbridge.c		# bridge support
38160814SsimonSRCS+=	iflagg.c		# lagg support
39160814Ssimon
40160814Ssimon.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH)
41160814SsimonSRCS+=	af_ipx.c		# IPX support
42160814SsimonDPADD+=	${LIBIPX}
43160814SsimonLDADD+=	-lipx
44160814Ssimon.endif
45160814Ssimon
46160814SsimonMAN=	ifconfig.8
47160814Ssimon
48160814SsimonCFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
49160814SsimonWARNS?=	0
50160814Ssimon
51160814Ssimon.include <bsd.prog.mk>
52160814Ssimon