Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources.

This commit is contained in:
Max Laier 2005-05-03 16:57:38 +00:00
parent 0baf7c8675
commit a8a770634f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145841
2 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -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>