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