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 29.if ${MK_PF} != "no" 30CFLAGS+=-DPF 31.endif 32 33BINGRP= kmem 34BINMODE=2555 35DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL} 36LDADD= -lkvm -lmemstat -lutil 37 38.if ${MK_NETGRAPH_SUPPORT} != "no" 39SRCS+= netgraph.c 40DPADD+= ${LIBNETGRAPH} 41LDADD+= -lnetgraph 42CFLAGS+=-DNETGRAPH 43.endif 44 45.if ${MK_IPX_SUPPORT} != "no" 46SRCS+= ipx.c 47DPADD+= ${LIBIPX} 48LDADD+= -lipx 49CFLAGS+=-DIPX 50.endif 51 52.include <bsd.prog.mk> 53