56707bee4b
- Add missing const and static qualifiers. - Avoid shadowing the global "co" by renaming it to "g_co". - Avoid mixing signedness in loop bound checks. - Leave -Wcast-align warnings disabled for now. Reviewed by: ae, melifaro MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25456
21 lines
305 B
Makefile
21 lines
305 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=ipfw
|
|
PROG= ipfw
|
|
SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c tables.c
|
|
SRCS+= nat64clat.c nat64lsn.c nat64stl.c nptv6.c
|
|
|
|
.if ${MK_PF} != "no"
|
|
SRCS+= altq.c
|
|
CFLAGS+=-DPF
|
|
.endif
|
|
|
|
LIBADD= jail util
|
|
MAN= ipfw.8
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
CWARNFLAGS+= -Wno-cast-align
|