freebsd-dev/usr.bin/netstat/Makefile
Yaroslav Tykhiy 7b95a1ebbd Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities,
including to printf().  Using uintmax_t is also robust to further
extensions in both the C language and the bitwidth of kernel counters.

Tested on:	i386 amd64 ia64
2006-07-28 16:09:19 +00:00

33 lines
572 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/12/93
# $FreeBSD$
.include <bsd.own.mk>
PROG= netstat
SRCS= if.c inet.c main.c mbuf.c mcast.c mroute.c route.c \
unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c
WARNS?= 2
CFLAGS+=-DIPSEC
CFLAGS+=-DFAST_IPSEC
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= inet6.c
CFLAGS+=-DINET6
.endif
BINGRP= kmem
BINMODE=2555
DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBNETGRAPH} ${LIBUTIL}
LDADD= -lkvm -lmemstat -lnetgraph -lutil
.if ${MK_IPX_SUPPORT} != "no"
SRCS+= ipx.c
DPADD+= ${LIBIPX}
LDADD+= -lipx
CFLAGS+=-DIPX
.endif
.include <bsd.prog.mk>