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 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 36DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL} 37LDADD= -lkvm -lmemstat -lutil 38 39.if ${MK_NETGRAPH_SUPPORT} != "no" 40SRCS+= netgraph.c 41DPADD+= ${LIBNETGRAPH} 42LDADD+= -lnetgraph 43CFLAGS+=-DNETGRAPH 44.endif 45 46.include <bsd.prog.mk> 47