From a8a770634fa8b4fb911f5fd2dd18c3080cd1d7ab Mon Sep 17 00:00:00 2001 From: Max Laier Date: Tue, 3 May 2005 16:57:38 +0000 Subject: [PATCH] Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources. --- sbin/pfctl/Makefile | 1 + usr.sbin/authpf/Makefile | 10 +++------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile index 0c6610298ee2..4ffa6a781c4a 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 c4bcd63d98a7..f1cc624b1156 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