Makefile revision 142215
1#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
2# $FreeBSD: head/sbin/ifconfig/Makefile 142215 2005-02-22 13:04:05Z glebius $
3
4PROG=	ifconfig
5
6SRCS=	ifconfig.c		# base support
7
8#
9# NB: The order here defines the order in which the constructors
10#     are called.  This in turn defines the default order in which
11#     status is displayed.  Probably should add a priority mechanism
12#     to the registration process so we don't depend on this aspect
13#     of the toolchain.
14#
15SRCS+=	af_link.c		# LLC support
16SRCS+=	af_inet.c		# IPv4 support
17SRCS+=	af_inet6.c		# IPv6 support
18SRCS+=	af_atalk.c		# AppleTalk support
19
20SRCS+=	ifclone.c		# clone device support
21SRCS+=	ifmac.c			# MAC support
22SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
23SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
24SRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support
25
26SRCS+=	ifcarp.c		# SIOC[GS]VH support
27SRCS+=	ifpfsync.c		# pfsync(4) support
28
29.if !defined(RELEASE_CRUNCH)
30SRCS+=	af_ipx.c		# IPX support
31DPADD=	${LIBIPX}
32LDADD=	-lipx
33.endif
34
35MAN=	ifconfig.8
36
37CFLAGS+= -g -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
38	-Wnested-externs -I..
39WARNS?=	0
40
41.include <bsd.prog.mk>
42