1# @(#)Makefile 8.1 (Berkeley) 6/12/93 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG= netstat 7SRCS= if.c inet.c main.c mbuf.c mroute.c netisr.c route.c \ 8 unix.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c \ 9 flowtable.c 10 11WARNS?= 3 12CFLAGS+=-fno-strict-aliasing 13 14CFLAGS+=-DIPSEC 15CFLAGS+=-DSCTP 16 17.if ${MK_INET_SUPPORT} != "no" 18CFLAGS+=-DINET 19.endif 20 21.if ${MK_INET6_SUPPORT} != "no" 22SRCS+= inet6.c 23CFLAGS+=-DINET6 24.endif 25 26.if ${MK_OFED} != "no" 27CFLAGS+=-DSDP 28.endif 29 30.if ${MK_PF} != "no" 31CFLAGS+=-DPF 32.endif 33 34BINGRP= kmem 35BINMODE=2555 36LIBADD= kvm memstat util 37 38.if ${MK_NETGRAPH_SUPPORT} != "no" 39SRCS+= netgraph.c 40LIBADD+= netgraph 41CFLAGS+=-DNETGRAPH 42.endif 43 44.include <bsd.prog.mk> 45