1# $FreeBSD$ 2 3.include <kmod.opts.mk> 4 5.PATH: ${SRCTOP}/sys/geom/uzip ${SRCTOP}/sys/net 6 7KMOD= geom_uzip 8SRCS= g_uzip.c g_uzip_zlib.c g_uzip_lzma.c g_uzip_wrkthr.c 9SRCS+= g_uzip.h g_uzip_dapi.h g_uzip_lzma.h g_uzip_zlib.h g_uzip_softc.h \ 10 g_uzip_wrkthr.h 11 12# This works for buildkernel, but will disable zstd in geom_uzip out of tree. 13SRCS.ZSTDIO+= g_uzip_zstd.c g_uzip_zstd.h 14CFLAGS.g_uzip_zstd.c+= -I${SRCTOP}/sys/contrib/zstd/lib/freebsd 15 16#CFLAGS= -g -DINVARIANT_SUPPORT -DINVARIANTS 17 18CFLAGS.g_uzip_lzma.c+= -I${SRCTOP}/sys/contrib/xz-embedded/freebsd \ 19 -I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz/ 20SRCS+= opt_geom.h opt_zstdio.h 21 22.include <bsd.kmod.mk> 23