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