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

View File

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