Makefile revision 126178
1#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
2# $FreeBSD: head/sbin/ifconfig/Makefile 126178 2004-02-23 20:25:27Z johan $
3
4PROG=	ifconfig
5SRCS=	ifconfig.c
6
7#comment out to exclude SIOC[GS]IFMEDIA support
8SRCS+=	ifmedia.c
9CFLAGS+=-DUSE_IF_MEDIA
10CFLAGS+=-DINET6
11
12#comment out to exclude SIOC[GS]ETVLAN support
13SRCS+=	ifvlan.c
14CFLAGS+=-DUSE_VLANS
15
16#comment out to exclude SIOC[GS]IEEE80211 support
17SRCS+=	ifieee80211.c
18CFLAGS+=-DUSE_IEEE80211
19
20#comment out to exclude MAC support
21SRCS+=	ifmac.c
22CFLAGS+=-DUSE_MAC
23
24MAN=	ifconfig.8
25
26.if defined(RELEASE_CRUNCH)
27CFLAGS+=-DNO_IPX
28.else
29DPADD=	${LIBIPX}
30LDADD=	-lipx
31.endif
32
33CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
34	-Wnested-externs -I..
35WARNS?=	0
36
37.include <bsd.prog.mk>
38