1# @(#)Makefile 8.1 (Berkeley) 6/12/93 2# $FreeBSD$ 3 4.include <bsd.own.mk> 5 6PROG= netstat 7SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \ 8 unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c 9 10WARNS?= 3 11CFLAGS+=-fno-strict-aliasing 12 13CFLAGS+=-DIPSEC 14CFLAGS+=-DSCTP 15 16.if ${MK_INET6_SUPPORT} != "no" 17SRCS+= inet6.c 18CFLAGS+=-DINET6 19.endif 20 21BINGRP= kmem 22BINMODE=2555 23DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL} 24LDADD= -lkvm -lmemstat -lnetgraph -lutil 25 26.if ${MK_IPX_SUPPORT} != "no" 27SRCS+= ipx.c 28DPADD+= ${LIBIPX} 29LDADD+= -lipx 30CFLAGS+=-DIPX 31.endif 32 33.include <bsd.prog.mk> 34