summaryrefslogtreecommitdiff
path: root/sys/modules/zlib/Makefile
blob: c721d9f764e71aca8c7867550d42e90459ee13a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	$NetBSD: Makefile,v 1.4 2019/09/29 23:45:00 mrg Exp $

.include "../Makefile.inc"

.PATH:	${S}/net

KMOD=	zlib
SRCS=	zlib.c

WARNS=	3

.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.zlib.c+=	-Wno-error=implicit-fallthrough
.endif

.include <bsd.kmodule.mk>