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