xref: /openbmc/linux/lib/zstd/Makefile (revision 5c816641)
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
13
14zstd_compress-y := \
15		zstd_compress_module.o \
16		common/debug.o \
17		common/entropy_common.o \
18		common/error_private.o \
19		common/fse_decompress.o \
20		common/zstd_common.o \
21		compress/fse_compress.o \
22		compress/hist.o \
23		compress/huf_compress.o \
24		compress/zstd_compress.o \
25		compress/zstd_compress_literals.o \
26		compress/zstd_compress_sequences.o \
27		compress/zstd_compress_superblock.o \
28		compress/zstd_double_fast.o \
29		compress/zstd_fast.o \
30		compress/zstd_lazy.o \
31		compress/zstd_ldm.o \
32		compress/zstd_opt.o \
33
34zstd_decompress-y := \
35		zstd_decompress_module.o \
36		common/debug.o \
37		common/entropy_common.o \
38		common/error_private.o \
39		common/fse_decompress.o \
40		common/zstd_common.o \
41		decompress/huf_decompress.o \
42		decompress/zstd_ddict.o \
43		decompress/zstd_decompress.o \
44		decompress/zstd_decompress_block.o \
45