xref: /freebsd/sys/modules/geom/geom_uzip/Makefile (revision 38ede98e9af849a7c238817eade6b2de222ded2f)
175261008SMax Khon# $FreeBSD$
275261008SMax Khon
375261008SMax Khon.PATH: ${.CURDIR}/../../../geom/uzip ${.CURDIR}/../../../net
475261008SMax Khon
575261008SMax KhonKMOD=	geom_uzip
68f8cb840SMaxim SobolevSRCS=	g_uzip.c g_uzip_zlib.c g_uzip_lzma.c g_uzip_wrkthr.c
78f8cb840SMaxim SobolevSRCS+=	g_uzip.h g_uzip_dapi.h g_uzip_lzma.h g_uzip_zlib.h g_uzip_softc.h \
88f8cb840SMaxim Sobolev    g_uzip_wrkthr.h
9f4d4e417SMax Khon#CFLAGS=	-g -DINVARIANT_SUPPORT -DINVARIANTS
1075261008SMax Khon
118f8cb840SMaxim Sobolev.PATH: ${.CURDIR}/../../../contrib/xz-embedded/freebsd/ \
128f8cb840SMaxim Sobolev	${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/ \
138f8cb840SMaxim Sobolev	${.CURDIR}/../../../contrib/xz-embedded/linux/include/linux/ \
148f8cb840SMaxim Sobolev	${.CURDIR}/../../../net
158f8cb840SMaxim Sobolev
168f8cb840SMaxim SobolevCFLAGS+= -I${.CURDIR}/../../../contrib/xz-embedded/freebsd \
178f8cb840SMaxim Sobolev	-I${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/
188f8cb840SMaxim SobolevSRCS+=	xz_crc32.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c \
198f8cb840SMaxim Sobolev    xz_malloc.c
208f8cb840SMaxim SobolevSRCS+=  xz.h xz_config.h xz_lzma2.h xz_malloc.h xz_private.h xz_stream.h
21*38ede98eSEnji CooperSRCS+=	opt_geom.h
228f8cb840SMaxim Sobolev
2375261008SMax Khon.include <bsd.kmod.mk>
24