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