1include $(top_srcdir)/config/Rules.am 2 3VPATH = $(top_srcdir)/module/zstd 4 5# -fno-tree-vectorize is set for gcc in zstd/common/compiler.h 6# Set it for other compilers, too. 7AM_CFLAGS += -fno-tree-vectorize 8 9noinst_LTLIBRARIES = libzstd.la 10 11KERNEL_C = lib/common/entropy_common.c \ 12 lib/common/error_private.c \ 13 lib/common/fse_decompress.c \ 14 lib/common/pool.c \ 15 lib/common/zstd_common.c \ 16 lib/compress/fse_compress.c \ 17 lib/compress/hist.c \ 18 lib/compress/huf_compress.c \ 19 lib/compress/zstd_compress_literals.c \ 20 lib/compress/zstd_compress_sequences.c \ 21 lib/compress/zstd_compress_superblock.c \ 22 lib/compress/zstd_compress.c \ 23 lib/compress/zstd_double_fast.c \ 24 lib/compress/zstd_fast.c \ 25 lib/compress/zstd_lazy.c \ 26 lib/compress/zstd_ldm.c \ 27 lib/compress/zstd_opt.c \ 28 lib/decompress/huf_decompress.c \ 29 lib/decompress/zstd_ddict.c \ 30 lib/decompress/zstd_decompress.c \ 31 lib/decompress/zstd_decompress_block.c \ 32 zfs_zstd.c 33 34nodist_libzstd_la_SOURCES = $(KERNEL_C) 35 36%.$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 37%.l$(OBJEXT): CFLAGS += -fno-tree-vectorize -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -Wp,-w 38 39zfs_zstd.$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 40zfs_zstd.l$(OBJEXT): CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h 41 42include $(top_srcdir)/config/CppCheck.am 43