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