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