1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00
freebsd/usr.bin/netstat/Makefile
2005-08-05 18:45:49 +00:00

29 lines
515 B
Makefile

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