summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/Makefile2
-rw-r--r--sbin/ipf/Makefile12
-rw-r--r--sbin/ipfstat/Makefile10
-rw-r--r--sbin/ipmon/Makefile11
-rw-r--r--sbin/ipnat/Makefile12
5 files changed, 47 insertions, 0 deletions
diff --git a/sbin/Makefile b/sbin/Makefile
index 93a5f19..246e755 100644
--- a/sbin/Makefile
+++ b/sbin/Makefile
@@ -12,6 +12,8 @@ SUBDIR= disklabel dmesg dset dump dumpfs \
scsiformat shutdown slattach startslip spppcontrol tunefs \
umount
+SUBDIR+=ipf
+
.if exists(${.CURDIR}/${MACHINE})
SUBDIR+= ${MACHINE}
.endif
diff --git a/sbin/ipf/Makefile b/sbin/ipf/Makefile
new file mode 100644
index 0000000..dadd54f
--- /dev/null
+++ b/sbin/ipf/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
+
+PROG= ipf
+MAN1= ipf.1
+MAN4= ipf.4
+MAN5= ipf.5
+SRCS= ipf.c parse.c opt.c
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../contrib/ipfilter
+
+.include <bsd.prog.mk>
diff --git a/sbin/ipfstat/Makefile b/sbin/ipfstat/Makefile
new file mode 100644
index 0000000..200b0b8
--- /dev/null
+++ b/sbin/ipfstat/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
+
+PROG= ipfstat
+MAN8= ipfstat.8
+SRCS= fils.c parse.c opt.c kmem.c
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+
+.include <bsd.prog.mk>
diff --git a/sbin/ipmon/Makefile b/sbin/ipmon/Makefile
new file mode 100644
index 0000000..b52523e
--- /dev/null
+++ b/sbin/ipmon/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
+
+PROG= ipmon
+MAN1= ipmon.8
+SRCS= ipmon.c
+
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+
+.include <bsd.prog.mk>
diff --git a/sbin/ipnat/Makefile b/sbin/ipnat/Makefile
new file mode 100644
index 0000000..7daa52d
--- /dev/null
+++ b/sbin/ipnat/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/ipfilter ${.CURDIR}/../../contrib/ipfilter/man
+
+PROG= ipnat
+MAN1= ipnat.1
+MAN4= ipnat.4
+MAN5= ipnat.5
+SRCS= ipnat.c kmem.c
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud