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 netisr.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_INET_SUPPORT} != "no" 17CFLAGS+=-DINET 18.endif 19 20.if ${MK_INET6_SUPPORT} != "no" 21SRCS+= inet6.c 22CFLAGS+=-DINET6 23.endif 24 25.if ${MK_OFED} != "no" 26CFLAGS+=-DSDP 27.endif 28 29BINGRP= kmem 30BINMODE=2555 31DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL} 32LDADD= -lkvm -lmemstat -lutil 33 34.if ${MK_NETGRAPH_SUPPORT} != "no" 35SRCS+= netgraph.c 36DPADD+= ${LIBNETGRAPH} 37LDADD+= -lnetgraph 38CFLAGS+=-DNETGRAPH 39.endif 40 41.if ${MK_IPX_SUPPORT} != "no" 42SRCS+= ipx.c 43DPADD+= ${LIBIPX} 44LDADD+= -lipx 45CFLAGS+=-DIPX 46.endif 47 48.include <bsd.prog.mk> 49