freebsd-dev/usr.bin/netstat/Makefile
Ruslan Ermilov e1fe3dba5c Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00

32 lines
575 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/12/93
# $FreeBSD$
.include <bsd.own.mk>
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 bpf.c pfkey.c
WARNS?= 2
NO_WERROR=
CFLAGS+=-DIPSEC
CFLAGS+=-DFAST_IPSEC
.if ${MK_INET6_SUPPORT} != "no"
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>