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.2 2003/06/17 04:27:33 dillon Exp $
4
5 PROG=   ifconfig
6 SRCS=   ifconfig.c
7
8 #comment out to exclude SIOC[GS]IFMEDIA support
9 SRCS+=  ifmedia.c
10 CFLAGS+=-DUSE_IF_MEDIA
11 CFLAGS+=-DINET6
12
13 #comment out to exclude SIOC[GS]ETVLAN support
14 SRCS+=  ifvlan.c
15 CFLAGS+=-DUSE_VLANS
16
17 #comment out to exclude SIOC[GS]IEEE80211 support
18 SRCS+=  ifieee80211.c
19 CFLAGS+=-DUSE_IEEE80211
20
21 MAN=    ifconfig.8
22
23 .if defined(RELEASE_CRUNCH)
24 CFLAGS+=-DNO_IPX
25 .else
26 DPADD=  ${LIBIPX}
27 LDADD=  -lipx
28 .endif
29
30 CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
31         -Wnested-externs -I..
32
33 .include <bsd.prog.mk>