[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / identd

File: [cvs.NetBSD.org] / src / libexec / identd / Makefile (download)

Revision 1.19, Sun Sep 6 07:20:26 2020 UTC (4 months, 2 weeks ago) by mrg
Branch: MAIN
Changes since 1.18: +2 -1 lines

add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.

# $NetBSD: Makefile,v 1.19 2020/09/06 07:20:26 mrg Exp $

.include <bsd.own.mk>

PROG=	identd
SRCS=	identd.c
MAN=	identd.8

# Build with IP Filter support?
.if (${MKIPFILTER} != "no")
SRCS+=	ipf.c

# Build with pf support?
.if (${MKPF} != "no")
SRCS+=	pf.c

# Build with npf support?
.if (${MKNPF} != "no")
SRCS+=	npf.c

COPTS+=	-fno-strict-aliasing

.include <bsd.prog.mk>