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 mroute.c route.c \ 8 unix.c atalk.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} ${LIBUTIL} 24LDADD= -lkvm -lmemstat -lutil 25 26.if ${MK_NETGRAPH_SUPPORT} != "no" 27SRCS+= netgraph.c 28DPADD+= ${LIBNETGRAPH} 29LDADD+= -lnetgraph 30CFLAGS+=-DNETGRAPH 31.endif 32 33.if ${MK_IPX_SUPPORT} != "no" 34SRCS+= ipx.c 35DPADD+= ${LIBIPX} 36LDADD+= -lipx 37CFLAGS+=-DIPX 38.endif 39 40.include <bsd.prog.mk> 41