1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/libkern 4.PATH: ${SRCTOP}/sys/dev/zlib 5.PATH: ${SRCTOP}/sys/contrib/zlib 6 7KMOD= zlib 8SRCS+= zcalloc.c 9SRCS+= zlib_mod.c 10SRCS+= adler32.c 11SRCS+= compress.c 12SRCS+= crc32.c 13SRCS+= deflate.c 14SRCS+= inffast.c 15SRCS+= inflate.c 16SRCS+= inftrees.c 17SRCS+= trees.c 18SRCS+= uncompr.c 19SRCS+= zutil.c 20 21CWARNFLAGS.compress.c+=-Wno-cast-qual # compress:49 22CWARNFLAGS.deflate.c+=-Wno-cast-qual # deflate.c:415 23CWARNFLAGS.uncompr.c+=-Wno-cast-qual # uncompr:49 24CWARNFLAGS.crc32.c+=${NO_WSTRICT_PROTOTYPES} # crc32.c:586 25CWARNFLAGS.trees.c+=${NO_WSTRICT_PROTOTYPES} # trees.c:232 26CWARNFLAGS.zutil.c+=${NO_WSTRICT_PROTOTYPES} # zutil.c:27,32 27 28.include <bsd.kmod.mk> 29