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