freebsd-dev/sbin/ipfw/Makefile
Mark Johnston 56707bee4b ipfw(8): Fix most warnings with the default WARNS level.
- 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
2020-07-13 17:51:04 +00:00

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