head	1.20;
access;
symbols
	RELENG_5_5_0_RELEASE:1.19
	RELENG_5_5:1.19.0.8
	RELENG_5_5_BP:1.19
	RELENG_5_4_0_RELEASE:1.19
	RELENG_5_4:1.19.0.6
	RELENG_5_4_BP:1.19
	RELENG_4_11_0_RELEASE:1.4.2.7
	RELENG_4_11:1.4.2.7.0.12
	RELENG_4_11_BP:1.4.2.7
	RELENG_5_3_0_RELEASE:1.19
	RELENG_5_3:1.19.0.4
	RELENG_5_3_BP:1.19
	RELENG_5:1.19.0.2
	RELENG_5_BP:1.19
	RELENG_4_10_0_RELEASE:1.4.2.7
	RELENG_4_10:1.4.2.7.0.10
	RELENG_4_10_BP:1.4.2.7
	RELENG_5_2_1_RELEASE:1.18
	RELENG_5_2_0_RELEASE:1.18
	RELENG_5_2:1.18.0.2
	RELENG_5_2_BP:1.18
	RELENG_4_9_0_RELEASE:1.4.2.7
	RELENG_4_9:1.4.2.7.0.8
	RELENG_4_9_BP:1.4.2.7
	RELENG_5_1_0_RELEASE:1.17
	RELENG_5_1:1.17.0.4
	RELENG_5_1_BP:1.17
	RELENG_4_8_0_RELEASE:1.4.2.7
	RELENG_4_8:1.4.2.7.0.6
	RELENG_4_8_BP:1.4.2.7
	RELENG_5_0_0_RELEASE:1.17
	RELENG_5_0:1.17.0.2
	RELENG_5_0_BP:1.17
	RELENG_4_7_0_RELEASE:1.4.2.7
	RELENG_4_7:1.4.2.7.0.4
	RELENG_4_7_BP:1.4.2.7
	RELENG_4_6_2_RELEASE:1.4.2.7
	RELENG_4_6_1_RELEASE:1.4.2.7
	RELENG_4_6_0_RELEASE:1.4.2.7
	RELENG_4_6:1.4.2.7.0.2
	RELENG_4_6_BP:1.4.2.7
	RELENG_4_5_0_RELEASE:1.4.2.6
	RELENG_4_5:1.4.2.6.0.2
	RELENG_4_5_BP:1.4.2.6
	RELENG_4_4_0_RELEASE:1.4.2.4
	RELENG_4_4:1.4.2.4.0.2
	RELENG_4_4_BP:1.4.2.4
	RELENG_4_3_0_RELEASE:1.4.2.2
	RELENG_4_3:1.4.2.2.0.2
	RELENG_4_3_BP:1.4.2.2
	RELENG_4_2_0_RELEASE:1.4.2.1
	RELENG_4_1_1_RELEASE:1.4.2.1
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.4.2.1
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	old_RELENG_3_3_0_RELEASE:1.1
	old_RELENG_3_2_PAO:1.1.0.4
	old_RELENG_3_2_PAO_BP:1.1
	old_RELENG_3_2_0_RELEASE:1.1
	old_RELENG_3_1_0_RELEASE:1.1
	old_RELENG_3:1.1.0.2
	old_RELENG_3_BP:1.1
	old_RELENG_3_0_0_RELEASE:1.1;
locks; strict;
comment	@# @;


1.20
date	2005.04.25.18.59.29;	author darrenr;	state dead;
branches;
next	1.19;

1.19
date	2004.02.23.20.13.52;	author johan;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2003.06.06.11.30.49;	author guido;	state Exp;
branches;
next	1.17;

1.17
date	2002.03.19.22.51.53;	author alfred;	state Exp;
branches;
next	1.16;

1.16
date	2002.03.19.15.07.30;	author darrenr;	state Exp;
branches;
next	1.15;

1.15
date	2001.12.04.02.19.48;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2001.09.03.16.37.16;	author jlemon;	state Exp;
branches;
next	1.13;

1.13
date	2001.06.23.09.10.48;	author ru;	state Exp;
branches;
next	1.12;

1.12
date	2001.06.18.15.55.25;	author ru;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.11.17.41.55;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2001.05.18.13.41.25;	author ru;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.26.14.33.06;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.20.18.13.14;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2000.10.31.22.29.22;	author nectar;	state Exp;
branches;
next	1.6;

1.6
date	2000.07.30.06.31.49;	author darrenr;	state Exp;
branches;
next	1.5;

1.5
date	2000.05.24.20.04.33;	author darrenr;	state Exp;
branches;
next	1.4;

1.4
date	99.12.15.19.48.01;	author guido;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.11.23.21.53.08;	author guido;	state Exp;
branches;
next	1.2;

1.2
date	99.10.10.15.08.32;	author peter;	state dead;
branches;
next	1.1;

1.1
date	98.03.21.13.52.55;	author peter;	state Exp;
branches;
next	;

1.19.2.1
date	2006.07.09.19.49.25;	author markm;	state Exp;
branches;
next	;

1.4.2.1
date	2000.07.20.05.15.19;	author kris;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2001.03.01.22.53.05;	author nectar;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2001.04.25.10.58.25;	author ru;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2001.08.01.06.55.39;	author obrien;	state Exp;
branches;
next	1.4.2.5;

1.4.2.5
date	2001.11.14.14.01.34;	author guido;	state Exp;
branches;
next	1.4.2.6;

1.4.2.6
date	2001.11.14.14.15.00;	author guido;	state Exp;
branches;
next	1.4.2.7;

1.4.2.7
date	2002.04.27.18.13.13;	author darrenr;	state Exp;
branches;
next	1.4.2.8;

1.4.2.8
date	2012.11.17.07.24.30;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.20
log
@remove old directories used to build ipfilter tools
@
text
@# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.19 2004/02/23 20:13:52 johan Exp $

.PATH:	${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man

PROG=	ipfstat
MAN=	ipfstat.8
SRCS=	fils.c parse.c opt.c kmem.c facpri.c common.c printstate.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
WARNS?=	0

DPADD=	${LIBNCURSES} ${LIBKVM}
LDADD=	-lncurses -lkvm

MAINTAINER=	darrenr@@freebsd.org

.include <bsd.prog.mk>
@


1.19
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.19.2.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d17 2
@


1.18
log
@Move my maintainership of parts of ipfilter back to Darren Reed
@
text
@d12 1
a12 1
WARNS=	0
@


1.17
log
@Hopefully fix make world.

Submitted by: Steve Kargl <sgk@@troutmask.apl.washington.edu>
@
text
@d17 1
a17 1
MAINTAINER=	guido@@freebsd.org
@


1.16
log
@both ipnat and ipfstat now use libkvm rather than their own home-rolled
kmem accessors, allowing them to be used with crash dumps as well as live
systems, now.
@
text
@d7 1
a7 1
SRCS=	fils.c parse.c opt.c kmem.c facpri.c common.c
@


1.15
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d14 2
a15 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
@


1.14
log
@IPFilter source code in contrib/ipfilter apparently can't make up its mind
where the headers should live, as the code references both "ip_fil.h" and
"netinet/ip_fil.h" (among others).  As a consequence, put both
sys/contrib/ipfilter and sys/contrib/ipfilter/netinet to the include path
so either variant works.

PR: 29384
Pointed out by: Thomas.Quinot@@Cuivre.FR.EU.ORG
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.13 2001/06/23 09:10:48 ru Exp $
d12 1
@


1.13
log
@Fixed DPADD.

Submitted by:	bde
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.12 2001/06/18 15:55:25 ru Exp $
d10 1
@


1.12
log
@Pick up the correct headers from sys/contrib/ipfilter/netinet.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.11 2001/06/11 17:41:55 ru Exp $
d12 2
a13 2
DPADD= ${NCURSES}
LDADD= -lncurses
@


1.11
log
@Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).
This is needed to pick up the right headers.  Wrong headers from
src/contrib/ipfilter are used otherwise.

The right fix would be to fix contrib/ipfilter C sources to pick up
headers from <sys/netinet>.

Noticed by:	peter
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.10 2001/05/18 13:41:25 ru Exp $
d8 3
a10 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.10
log
@Removed -I${.CURDIR}/.../sys from CFLAGS.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.9 2001/03/26 14:33:06 ru Exp $
d8 1
a8 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I${.CURDIR}/../../contrib/ipfilter
@


1.9
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.8 2001/03/20 18:13:14 ru Exp $
d8 1
a8 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.8
log
@Set the default manual section for sbin/ to 8.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.7 2000/10/31 22:29:22 nectar Exp $
d6 1
@


1.7
log
@Build with -DUSE_INET6 so that we can actually use the IPv6 support in
IPFilter 3.4.x.

Approved by:	darrenr, guido
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.6 2000/07/30 06:31:49 darrenr Exp $
a5 1
MAN8=	ipfstat.8
@


1.6
log
@Darren,

Could you please enable my "state top" patches in the FreeBSD distribution.
I developped the stuff under FreeBSD, so it must be good there :-)

Here is a patch (relative to the RELENG_4 branch).

Thanks,

           Frank
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.5 2000/05/24 20:04:33 darrenr Exp $
d8 1
a8 1
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.5
log
@add common.c to SRCS to fix compile problems
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.4 1999/12/15 19:48:01 guido Exp $
d8 4
a11 1
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
@


1.4
log
@Add MAINTAINER tag.

The Makefiles in sbin/{ipfstat,ipmon,ipnat} were repository copied
from the respective directories in usr.sbin
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.3 1999/11/23 21:53:08 guido Exp $
d7 1
a7 1
SRCS=	fils.c parse.c opt.c kmem.c facpri.c
@


1.4.2.1
log
@Fix yet another world breakage.

Submitted by:	Nat Lanza <magus@@cs.cmu.edu>
@
text
@d1 1
a1 1
# $FreeBSD$
d7 1
a7 1
SRCS=	fils.c parse.c opt.c kmem.c facpri.c common.c
@


1.4.2.2
log
@MFC 1.5: Enable `state top' in ipfstat.

PR:		bin/20074
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.4.2.1 2000/07/20 05:15:19 kris Exp $
d8 1
a8 4
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter

DPADD= ${NCURSES}
LDADD= -lncurses
@


1.4.2.3
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.4.2.2 2001/03/01 22:53:05 nectar Exp $
d6 1
a6 1
MAN=	ipfstat.8
@


1.4.2.4
log
@Minimize diff to -current.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/ipfstat/Makefile,v 1.4.2.3 2001/04/25 10:58:25 ru Exp $
d8 1
a8 3
CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -DSTATETOP
CFLAGS+=-I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
d10 2
a11 2
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
@


1.4.2.5
log
@Enable IPv6 support for IPF in -stable (just the userland; it already
is enabled in kernel space)
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
a8 1
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP
@


1.4.2.6
log
@ipfilter was moved inside kernel space from sys/netinet to
sys/contrib/ipfilter/netinet
Update makefiles accordingly
@
text
@d9 1
a9 2
CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys
@


1.4.2.7
log
@* Adjust include paths to match changes in source code - ie. no longer need
 to include ipfilter/netinet, just ipfilter.
* ipfstat now links against and is dependant on libkvm.
@
text
@d7 1
a7 1
SRCS=	fils.c parse.c opt.c kmem.c facpri.c common.c printstate.c
d9 1
a9 1
CFLAGS+=-I- -I${.CURDIR}/../../sys/contrib/ipfilter
d13 2
a14 2
DPADD+=	${LIBNCURSES} ${LIBKVM}
LDADD+=	-lncurses -lkvm
@


1.4.2.8
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sbin/ipfstat/Makefile 95578 2002-04-27 18:13:13Z darrenr $
@


1.3
log
@Revive userland stuff for ipfilter.
Also fixes:
PR:		7791
@
text
@d1 1
a1 1
# $FreeBSD$
d9 2
@


1.2
log
@Nuke the old antique copy of ipfilter from the tree.  This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/ipfstat/Makefile,v 1.1 1998/03/21 13:52:55 peter Exp $
d7 1
a7 1
SRCS=	fils.c parse.c opt.c kmem.c
@


1.1
log
@Initial bmake scaffolding for ipfilter userland stuff.

Obtained from: large chunks stolen from OpenBSD and NetBSD
@
text
@d1 1
a1 1
# $FreeBSD$
@
