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