summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl/Makefile
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-02-28 21:50:50 +0000
committermlaier <mlaier@FreeBSD.org>2004-02-28 21:50:50 +0000
commit54bb06645bcb9423b6e98622189414a1d7172428 (patch)
treed016b40bab1394f6970ee950fb5dbee5ba58df94 /sbin/pfctl/Makefile
parent02eb7bf2735c624b038835c99be4c2af76077293 (diff)
downloadFreeBSD-src-54bb06645bcb9423b6e98622189414a1d7172428.zip
FreeBSD-src-54bb06645bcb9423b6e98622189414a1d7172428.tar.gz
Add skeleton build dirs for pf userland:
libexec/ftp-proxy - ftp proxy for pf sbin/pfctl - equivalent to sbin/ipf sbin/pflogd - deamon logging packets via if_pflog in pcap format usr.sbin/authpf - authentification shell to modify pf rulesets Bring along some altq headers used to satisfy pfctl/authpf compile. This helps to keep the diff down and will make it easy to have a altq-patchset use the full powers of pf. Also make sure that the pf headers are installed. This does not link anything to the build. There will be a NO_PF switch for make.conf once pf userland is linked. Approved by: bms(mentor)
Diffstat (limited to 'sbin/pfctl/Makefile')
-rw-r--r--sbin/pfctl/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile
new file mode 100644
index 0000000..3c40c93
--- /dev/null
+++ b/sbin/pfctl/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../contrib/pf/pfctl
+.PATH: ${.CURDIR}/../../contrib/pf/man
+
+PROG= pfctl
+BINDIR= ${PREFIX}/sbin
+MAN= pfctl.8 pf.4 pflog.4 pfsync.4 pf.conf.5 pf.os.5
+
+SRCS = pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
+SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
+
+CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
+CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl
+
+# XXX ALTQ
+#CFLAGS+= -DENABLE_ALTQ
+CFLAGS+= -I${.CURDIR}/missing
+
+YFLAGS=
+
+LDADD+= -lm -lmd
+DPADD+= ${LIBM}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud