1# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 2# ################################################################ 3# Copyright (c) Facebook, Inc. 4# All rights reserved. 5# 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# ################################################################ 11obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o 12obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o 13obj-$(CONFIG_ZSTD_COMMON) += zstd_common.o 14 15zstd_compress-y := \ 16 zstd_compress_module.o \ 17 compress/fse_compress.o \ 18 compress/hist.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 \ 27 compress/zstd_ldm.o \ 28 compress/zstd_opt.o \ 29 30zstd_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 \ 36 37zstd_common-y := \ 38 zstd_common_module.o \ 39 common/debug.o \ 40 common/entropy_common.o \ 41 common/error_private.o \ 42 common/fse_decompress.o \ 43 common/zstd_common.o \ 44