xref: /dragonfly/sbin/ifconfig/Makefile (revision 2ee85085)
1#	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
2# $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.7 2002/02/15 03:58:37 luigi Exp $
3# $DragonFly: src/sbin/ifconfig/Makefile,v 1.3 2005/03/04 02:29:19 cpressey Exp $
4
5PROG=	ifconfig
6WARNS?=	6
7SRCS=	ifconfig.c
8
9#comment out to exclude SIOC[GS]IFMEDIA support
10SRCS+=	ifmedia.c
11CFLAGS+=-DUSE_IF_MEDIA
12CFLAGS+=-DINET6
13
14#comment out to exclude SIOC[GS]ETVLAN support
15SRCS+=	ifvlan.c
16CFLAGS+=-DUSE_VLANS
17
18#comment out to exclude SIOC[GS]IEEE80211 support
19SRCS+=	ifieee80211.c
20CFLAGS+=-DUSE_IEEE80211
21
22MAN=	ifconfig.8
23
24.if defined(RELEASE_CRUNCH)
25CFLAGS+=-DNO_IPX
26.else
27DPADD=	${LIBIPX}
28LDADD=	-lipx
29.endif
30
31CFLAGS+=-DNS -I..
32
33.include <bsd.prog.mk>
34