fe9646e6ff
Kernel changes: * Add IP_FW_OBJ_FLUSH opcode (flush table based on its name/set) * Add IP_FW_OBJ_DUMP opcode (dumps table data based on its names/set) * Add IP_FW_OBJ_LISTSIZE / IP_FW_OBJ_LIST opcodes (get list of kernel tables) Userland changes: * move tables code to separate tables.c file * get rid of tables_max * switch "all"/list handling to new opcodes
19 lines
237 B
Makefile
19 lines
237 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= ipfw
|
|
SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c tables.c
|
|
WARNS?= 2
|
|
|
|
.if ${MK_PF} != "no"
|
|
SRCS+= altq.c
|
|
CFLAGS+=-DPF
|
|
.endif
|
|
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
MAN= ipfw.8
|
|
|
|
.include <bsd.prog.mk>
|