summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipftest
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1999-11-23 21:53:19 +0000
committerguido <guido@FreeBSD.org>1999-11-23 21:53:19 +0000
commitb3195eaeee6fa7f88b3aec266a9c971acadace6f (patch)
treefee0690522f39f79a4298465718736dc2c0fea2f /usr.sbin/ipftest
parent75b4f99d65c79fc19890c1fe50a53dcb8e962c4b (diff)
downloadFreeBSD-src-b3195eaeee6fa7f88b3aec266a9c971acadace6f.zip
FreeBSD-src-b3195eaeee6fa7f88b3aec266a9c971acadace6f.tar.gz
Revive userland stuff for ipfilter.
Also fixes: PR: 7791
Diffstat (limited to 'usr.sbin/ipftest')
-rw-r--r--usr.sbin/ipftest/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/ipftest/Makefile b/usr.sbin/ipftest/Makefile
new file mode 100644
index 0000000..f3255fa
--- /dev/null
+++ b/usr.sbin/ipftest/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../sys/netinet \
+ ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
+
+PROG= ipftest
+MAN1= ipftest.1
+SRCS= opt_ipfilter.h \
+ ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
+ ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c \
+ ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c
+
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.OBJDIR} -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+
+CLEANFILES+= opt_ipfilter.h
+
+opt_ipfilter.h: Makefile
+ echo "#define IPFILTER 1" > opt_ipfilter.h
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud