Makefile (0aad0f22823b98aa97aa9ae4bccb63a2a2ef3d5a) Makefile (690f477d75324543e57e2b45354c6e0670b9a5f7)
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 mcast.c mroute.c route.c \
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 mcast.c mroute.c route.c \
8 unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c sctp.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
21BINGRP= kmem
22BINMODE=2555
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
21BINGRP= kmem
22BINMODE=2555
23DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL}
24LDADD= -lkvm -lmemstat -lnetgraph -lutil
23DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL}
24LDADD= -lkvm -lmemstat -lutil
25
25
26.if ${MK_NETGRAPH_SUPPORT} != "no"
27SRCS+= netgraph.c
28DPADD+= ${LIBNETGRAPH}
29LDADD+= -lnetgraph
30CFLAGS+=-DNETGRAPH
31.endif
32
26.if ${MK_IPX_SUPPORT} != "no"
27SRCS+= ipx.c
28DPADD+= ${LIBIPX}
29LDADD+= -lipx
30CFLAGS+=-DIPX
31.endif
32
33.include <bsd.prog.mk>
33.if ${MK_IPX_SUPPORT} != "no"
34SRCS+= ipx.c
35DPADD+= ${LIBIPX}
36LDADD+= -lipx
37CFLAGS+=-DIPX
38.endif
39
40.include <bsd.prog.mk>