mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 16:10:55 +00:00
980b4f7474
Without this change, when running netstat with a kernel without INET6 built in, you will get a complain at the end of "netstat -s" output. X-MFC: NO_INET6 was called "NOINET6" on RELENG_5
20 lines
407 B
Makefile
20 lines
407 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/12/93
|
|
# $FreeBSD$
|
|
|
|
PROG= netstat
|
|
SRCS= if.c inet.c inet6.c main.c mbuf.c mcast.c mroute.c ipx.c route.c \
|
|
unix.c atalk.c netgraph.c mroute6.c ipsec.c
|
|
CFLAGS+=-DIPSEC
|
|
.if !defined(NO_INET6)
|
|
CFLAGS+=-DINET6
|
|
.endif
|
|
WARNS?= 2
|
|
NO_WERROR=
|
|
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
DPADD= ${LIBKVM} ${LIBIPX} ${LIBNETGRAPH} ${LIBUTIL}
|
|
LDADD= -lkvm -lipx -lnetgraph -lutil
|
|
|
|
.include <bsd.prog.mk>
|