summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/Makefile
blob: 117441bffb745f751e2cb8d9136a298d1e303b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD$

PROG=	ifconfig

SRCS=	ifconfig.c		# base support

#
# NB: The order here defines the order in which the constructors
#     are called.  This in turn defines the default order in which
#     status is displayed.  Probably should add a priority mechanism
#     to the registration process so we don't depend on this aspect
#     of the toolchain.
#
SRCS+=	af_link.c		# LLC support
SRCS+=	af_inet.c		# IPv4 support
SRCS+=	af_inet6.c		# IPv6 support
SRCS+=	af_atalk.c		# AppleTalk support

SRCS+=	ifclone.c		# clone device support
SRCS+=	ifmac.c			# MAC support
SRCS+=	ifmedia.c		# SIOC[GS]IFMEDIA support
SRCS+=	ifvlan.c		# SIOC[GS]ETVLAN support
SRCS+=	ifieee80211.c		# SIOC[GS]IEEE80211 support

.if !defined(RELEASE_CRUNCH)
SRCS+=	af_ipx.c		# IPX support
DPADD=	${LIBIPX}
LDADD=	-lipx
.endif

MAN=	ifconfig.8

CFLAGS+= -g -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
	-Wnested-externs -I..
WARNS?=	0

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud