6f8f50af89
- 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
22 lines
274 B
Makefile
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
|
|
|