1 libzstd_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
2 libzstd_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBZPOOL_CPPFLAGS)
4 # -fno-tree-vectorize is set for gcc in zstd/common/compiler.h
5 # Set it for other compilers, too.
6 libzstd_la_CFLAGS += -fno-tree-vectorize
8 noinst_LTLIBRARIES += libzstd.la
10 nodist_libzstd_la_SOURCES = \
11 module/zstd/lib/common/entropy_common.c \
12 module/zstd/lib/common/error_private.c \
13 module/zstd/lib/common/fse_decompress.c \
14 module/zstd/lib/common/pool.c \
15 module/zstd/lib/common/zstd_common.c \
16 module/zstd/lib/compress/fse_compress.c \
17 module/zstd/lib/compress/hist.c \
18 module/zstd/lib/compress/huf_compress.c \
19 module/zstd/lib/compress/zstd_compress_literals.c \
20 module/zstd/lib/compress/zstd_compress_sequences.c \
21 module/zstd/lib/compress/zstd_compress_superblock.c \
22 module/zstd/lib/compress/zstd_compress.c \
23 module/zstd/lib/compress/zstd_double_fast.c \
24 module/zstd/lib/compress/zstd_fast.c \
25 module/zstd/lib/compress/zstd_lazy.c \
26 module/zstd/lib/compress/zstd_ldm.c \
27 module/zstd/lib/compress/zstd_opt.c \
28 module/zstd/lib/decompress/huf_decompress.c \
29 module/zstd/lib/decompress/zstd_ddict.c \
30 module/zstd/lib/decompress/zstd_decompress.c \
31 module/zstd/lib/decompress/zstd_decompress_block.c \
32 module/zstd/zfs_zstd.c
34 libzstd_la_CFLAGS += -include $(top_srcdir)/module/zstd/include/zstd_compat_wrapper.h -fno-tree-vectorize -Wp,-w $(AM_CFLAGS)