Makefile revision 87325
1131476Spjd# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 2131476Spjd# $FreeBSD: head/sbin/ifconfig/Makefile 87325 2001-12-04 02:19:58Z obrien $ 3131476Spjd 4131476SpjdPROG= ifconfig 5216468SobrienSRCS= ifconfig.c 6131476Spjd 7131476Spjd#comment out to exclude SIOC[GS]IFMEDIA support 8SRCS+= ifmedia.c 9CFLAGS+=-DUSE_IF_MEDIA 10.if !defined(RELEASE_CRUNCH) 11CFLAGS+=-DINET6 12WARNS= 0 13 14#comment out to exclude SIOC[GS]ETVLAN support 15SRCS+= ifvlan.c 16CFLAGS+=-DUSE_VLANS 17.endif 18 19#comment out to exclude SIOC[GS]IEEE80211 support 20SRCS+= ifieee80211.c 21CFLAGS+=-DUSE_IEEE80211 22 23MAN= ifconfig.8 24 25.if defined(RELEASE_CRUNCH) 26CFLAGS+=-DNO_IPX 27.else 28DPADD= ${LIBIPX} 29LDADD= -lipx 30.endif 31 32CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \ 33 -Wnested-externs -I.. 34 35.include <bsd.prog.mk> 36