1 # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2 # ################################################################
3 # Copyright (c) Facebook, Inc.
6 # This source code is licensed under both the BSD-style license (found in the
7 # LICENSE file in the root directory of this source tree) and the GPLv2 (found
8 # in the COPYING file in the root directory of this source tree).
9 # You may select, at your option, one of the above-listed licenses.
10 # ################################################################
11 obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o
12 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o
13 obj-$(CONFIG_ZSTD_COMMON) += zstd_common.o
16 zstd_compress_module.o \
17 compress/fse_compress.o \
19 compress/huf_compress.o \
20 compress/zstd_compress.o \
21 compress/zstd_compress_literals.o \
22 compress/zstd_compress_sequences.o \
23 compress/zstd_compress_superblock.o \
24 compress/zstd_double_fast.o \
25 compress/zstd_fast.o \
26 compress/zstd_lazy.o \
30 zstd_decompress-y := \
31 zstd_decompress_module.o \
32 decompress/huf_decompress.o \
33 decompress/zstd_ddict.o \
34 decompress/zstd_decompress.o \
35 decompress/zstd_decompress_block.o \
38 zstd_common_module.o \
40 common/entropy_common.o \
41 common/error_private.o \
42 common/fse_decompress.o \
43 common/zstd_common.o \