]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/netstat/Makefile
Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk
[FreeBSD/FreeBSD.git] / usr.bin / netstat / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/12/93
2 # $FreeBSD$
3
4 .include <src.opts.mk>
5
6 PROG=   netstat
7 SRCS=   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
11 WARNS?= 3
12 CFLAGS+=-fno-strict-aliasing
13
14 CFLAGS+=-DIPSEC
15 CFLAGS+=-DSCTP
16
17 .if ${MK_INET_SUPPORT} != "no"
18 CFLAGS+=-DINET
19 .endif
20
21 .if ${MK_INET6_SUPPORT} != "no"
22 SRCS+=  inet6.c
23 CFLAGS+=-DINET6
24 .endif
25
26 .if ${MK_OFED} != "no"
27 CFLAGS+=-DSDP
28 .endif
29
30 .if ${MK_PF} != "no"
31 CFLAGS+=-DPF
32 .endif
33
34 BINGRP= kmem
35 BINMODE=2555
36 LIBADD= kvm memstat util
37
38 .if ${MK_NETGRAPH_SUPPORT} != "no"
39 SRCS+=  netgraph.c
40 LIBADD+=        netgraph
41 CFLAGS+=-DNETGRAPH
42 .endif
43
44 LIBADD+= xo
45
46 .include <bsd.prog.mk>