Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources.
This commit is contained in:
parent
0baf7c8675
commit
a8a770634f
@ -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.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_osfp.c pfctl_radix.c pfctl_table.c pfctl_qstats.c
|
||||||
|
SRCS+= pfctl_optimize.c
|
||||||
|
|
||||||
CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
|
CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
|
||||||
CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl
|
CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl
|
||||||
|
@ -9,18 +9,14 @@ BINOWN= root
|
|||||||
BINGRP= authpf
|
BINGRP= authpf
|
||||||
BINMODE= 6555
|
BINMODE= 6555
|
||||||
|
|
||||||
SRCS= authpf.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
|
SRCS= authpf.c
|
||||||
SRCS+= pfctl_radix.c pfctl_osfp.c
|
|
||||||
|
|
||||||
CFLAGS+= -I${.CURDIR}/../../contrib/pf/pfctl -Wall -Werror
|
CFLAGS+= -I${.CURDIR}/../../contrib/pf/pfctl -Wall -Werror
|
||||||
|
|
||||||
# XXX ALTQ:
|
# XXX ALTQ:
|
||||||
#CFLAGS+= -DENABLE_ALTQ
|
CFLAGS+= -DENABLE_ALTQ
|
||||||
CFLAGS+= -I${.CURDIR}/../../sbin/pfctl/missing
|
|
||||||
|
|
||||||
LDADD+= -lm -lmd
|
LDADD+= -lm -lmd -lutil
|
||||||
DPADD+= ${LIBM} ${LIBMD}
|
DPADD+= ${LIBM} ${LIBMD}
|
||||||
|
|
||||||
CLEANFILES+=y.tab.h
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user