summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipftest
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-21 13:53:18 +0000
committerpeter <peter@FreeBSD.org>1998-03-21 13:53:18 +0000
commit52325b15956a60ed8907cc3b370f71a5473b5eb7 (patch)
treecb1ccb3c5e62d0fdd5b608b49730c11cdaca531d /usr.sbin/ipftest
parent8643af65b3b3c2f3c8642ed97b509ad4d9840b5a (diff)
downloadFreeBSD-src-52325b15956a60ed8907cc3b370f71a5473b5eb7.zip
FreeBSD-src-52325b15956a60ed8907cc3b370f71a5473b5eb7.tar.gz
Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
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..60ee314
--- /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 fil.c ipft_hx.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c \
+ ipft_tx.c misc.c parse.c opt.c ip_frag.c ip_nat.c ip_state.c \
+ ip_auth.c ip_fil.c ip_proxy.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