1 # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-C << 2 # ############################################ << 3 # Copyright (c) Facebook, Inc. << 4 # All rights reserved. << 5 # << 6 # This source code is licensed under both the << 7 # LICENSE file in the root directory of this s << 8 # in the COPYING file in the root directory of << 9 # You may select, at your option, one of the a << 10 # ############################################ << 11 obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o 1 obj-$(CONFIG_ZSTD_COMPRESS) += zstd_compress.o 12 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompre 2 obj-$(CONFIG_ZSTD_DECOMPRESS) += zstd_decompress.o 13 obj-$(CONFIG_ZSTD_COMMON) += zstd_common.o << 14 3 15 zstd_compress-y := \ !! 4 ccflags-y += -O3 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_literal << 22 compress/zstd_compress_sequenc << 23 compress/zstd_compress_superbl << 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 5 30 zstd_decompress-y := \ !! 6 # Object files unique to zstd_compress and zstd_decompress 31 zstd_decompress_module.o \ !! 7 zstd_compress-y := fse_compress.o huf_compress.o compress.o 32 decompress/huf_decompress.o \ !! 8 zstd_decompress-y := huf_decompress.o decompress.o 33 decompress/zstd_ddict.o \ << 34 decompress/zstd_decompress.o \ << 35 decompress/zstd_decompress_blo << 36 9 37 zstd_common-y := \ !! 10 # These object files are shared between the modules. 38 zstd_common_module.o \ !! 11 # Always add them to zstd_compress. 39 common/debug.o \ !! 12 # Unless both zstd_compress and zstd_decompress are built in 40 common/entropy_common.o \ !! 13 # then also add them to zstd_decompress. 41 common/error_private.o \ !! 14 zstd_compress-y += entropy_common.o fse_decompress.o zstd_common.o 42 common/fse_decompress.o \ !! 15 43 common/zstd_common.o \ !! 16 ifneq ($(CONFIG_ZSTD_COMPRESS)$(CONFIG_ZSTD_DECOMPRESS),yy) >> 17 zstd_decompress-y += entropy_common.o fse_decompress.o zstd_common.o >> 18 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.