NetBSD/sys/modules/zlib/Makefile

17 lines
285 B
Makefile

# $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>