57a40e9ee7
This should be OK on non INET6 enabled kernel.
23 lines
441 B
Makefile
23 lines
441 B
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
PROG= ifconfig
|
|
SRCS= ifconfig.c
|
|
|
|
#comment out to exclude SIOC[GS]IFMEDIA support
|
|
SRCS+= ifmedia.c
|
|
CFLAGS+=-DUSE_IF_MEDIA
|
|
CFLAGS+=-DINET6
|
|
|
|
#comment out to exclude SIOC[GS]ETVLAN support
|
|
SRCS+= ifvlan.c
|
|
CFLAGS+=-DUSE_VLANS
|
|
|
|
MAN8= ifconfig.8
|
|
DPADD= ${LIBIPX}
|
|
LDADD= -lipx
|
|
COPTS= -DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
|
|
-Wnested-externs -I..
|
|
|
|
.include <bsd.prog.mk>
|