1996-11-21 19:36:09 +00:00
|
|
|
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
|
|
|
PROG= ifconfig
|
1997-05-04 06:27:45 +00:00
|
|
|
SRCS= ifconfig.c
|
|
|
|
|
|
|
|
#comment out to exclude SIOC[GS]IFMEDIA support
|
|
|
|
SRCS+= ifmedia.c
|
|
|
|
CFLAGS+=-DUSE_IF_MEDIA
|
2000-11-30 21:35:09 +00:00
|
|
|
.if !defined(RELEASE_CRUNCH)
|
1999-12-15 05:13:22 +00:00
|
|
|
CFLAGS+=-DINET6
|
1997-05-04 06:27:45 +00:00
|
|
|
|
1999-03-15 01:22:01 +00:00
|
|
|
#comment out to exclude SIOC[GS]ETVLAN support
|
|
|
|
SRCS+= ifvlan.c
|
|
|
|
CFLAGS+=-DUSE_VLANS
|
2000-11-30 21:35:09 +00:00
|
|
|
.endif
|
1999-03-15 01:22:01 +00:00
|
|
|
|
1996-11-21 19:36:09 +00:00
|
|
|
DPADD= ${LIBIPX}
|
|
|
|
LDADD= -lipx
|
|
|
|
COPTS= -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
1999-03-15 01:22:01 +00:00
|
|
|
-Wnested-externs -I..
|
1994-05-26 06:35:07 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|