freebsd-nq/usr.sbin/ipfwpcap/Makefile
Ed Schouten 6f8f50af89 Several cleanups to ipfwpcap(8).
- Enable WARNS?=6.
- Include missing headers.
- Mark prog and pidfile as static. Remove unneeded initializer.
- Use ANSI prototypes.
- Remove unneeded fp variable.
- snprintf() guarantees the buffer to be null terminated. Remove
  unneeded - 1 and bzero call.
- Remove unneeded casting.

Submitted by:	Pawel Worach, Christoph Mallon
2009-05-31 20:59:20 +00:00

22 lines
274 B
Makefile

#
# From: Id: Makefile,v 1.2 2004/01/15 16:20:56 pkern Exp
#
# $FreeBSD$
#
PROG= ipfwpcap
LDADD= -lpcap
DPADD= ${LIBPCAP}
MAN= ipfwpcap.8
WARNS?= 6
.include <bsd.prog.mk>
test: $(CMD)
-rm /var/run/ipfwpcap.2000.pid
./ipfwpcap -d 2000 - | tcpdump -r - -n -s 2000 -X