Merge from vendor branch OPENSSH:
[dragonfly.git] / sbin / ifconfig / Makefile
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
5 PROG=   ifconfig
6 WARNS?= 6
7 SRCS=   ifconfig.c
8
9 #comment out to exclude SIOC[GS]IFMEDIA support
10 SRCS+=  ifmedia.c
11 CFLAGS+=-DUSE_IF_MEDIA
12 CFLAGS+=-DINET6
13
14 #comment out to exclude SIOC[GS]ETVLAN support
15 SRCS+=  ifvlan.c
16 CFLAGS+=-DUSE_VLANS
17
18 #comment out to exclude SIOC[GS]IEEE80211 support
19 SRCS+=  ifieee80211.c
20 CFLAGS+=-DUSE_IEEE80211
21
22 MAN=    ifconfig.8
23
24 .if defined(RELEASE_CRUNCH)
25 CFLAGS+=-DNO_IPX
26 .else
27 DPADD=  ${LIBIPX}
28 LDADD=  -lipx
29 .endif
30
31 CFLAGS+=-DNS -I..
32
33 .include <bsd.prog.mk>