summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/pfctl/Makefile1
-rw-r--r--usr.sbin/authpf/Makefile10
2 files changed, 4 insertions, 7 deletions
diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile
index 0c66102..4ffa6a7 100644
--- a/sbin/pfctl/Makefile
+++ b/sbin/pfctl/Makefile
@@ -8,6 +8,7 @@ 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
+SRCS+= pfctl_optimize.c
CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl
diff --git a/usr.sbin/authpf/Makefile b/usr.sbin/authpf/Makefile
index c4bcd63..f1cc624 100644
--- a/usr.sbin/authpf/Makefile
+++ b/usr.sbin/authpf/Makefile
@@ -9,18 +9,14 @@ BINOWN= root
BINGRP= authpf
BINMODE= 6555
-SRCS= authpf.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
-SRCS+= pfctl_radix.c pfctl_osfp.c
+SRCS= authpf.c
CFLAGS+= -I${.CURDIR}/../../contrib/pf/pfctl -Wall -Werror
# XXX ALTQ:
-#CFLAGS+= -DENABLE_ALTQ
-CFLAGS+= -I${.CURDIR}/../../sbin/pfctl/missing
+CFLAGS+= -DENABLE_ALTQ
-LDADD+= -lm -lmd
+LDADD+= -lm -lmd -lutil
DPADD+= ${LIBM} ${LIBMD}
-CLEANFILES+=y.tab.h
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud