From 5846aeda05972bc803c6094821ae836229ebe691 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 9 Nov 2022 14:57:48 +0200 Subject: DOS: Update Makefile and config.h to include ARM64 and .lz support. --- dos/Makefile | 2 ++ dos/config.h | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/dos/Makefile b/dos/Makefile index ff7a0fca..7817660e 100644 --- a/dos/Makefile +++ b/dos/Makefile @@ -73,6 +73,7 @@ SRCS_C = \ ../src/liblzma/common/index_decoder.c \ ../src/liblzma/common/index_encoder.c \ ../src/liblzma/common/index_hash.c \ + ../src/liblzma/common/lzip_decoder.c \ ../src/liblzma/common/stream_decoder.c \ ../src/liblzma/common/stream_encoder.c \ ../src/liblzma/common/stream_flags_common.c \ @@ -97,6 +98,7 @@ SRCS_C = \ ../src/liblzma/lzma/lzma_encoder_presets.c \ ../src/liblzma/rangecoder/price_table.c \ ../src/liblzma/simple/arm.c \ + ../src/liblzma/simple/arm64.c \ ../src/liblzma/simple/armthumb.c \ ../src/liblzma/simple/ia64.c \ ../src/liblzma/simple/powerpc.c \ diff --git a/dos/config.h b/dos/config.h index 5b0e089f..371baa44 100644 --- a/dos/config.h +++ b/dos/config.h @@ -16,6 +16,9 @@ /* Define to 1 if arm decoder is enabled. */ #define HAVE_DECODER_ARM 1 +/* Define to 1 if arm64 decoder is enabled. */ +#define HAVE_DECODER_ARM64 1 + /* Define to 1 if armthumb decoder is enabled. */ #define HAVE_DECODER_ARMTHUMB 1 @@ -46,6 +49,9 @@ /* Define to 1 if arm encoder is enabled. */ #define HAVE_ENCODER_ARM 1 +/* Define to 1 if arm64 encoder is enabled. */ +#define HAVE_ENCODER_ARM64 1 + /* Define to 1 if armthumb encoder is enabled. */ #define HAVE_ENCODER_ARMTHUMB 1 @@ -76,6 +82,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 +/* Define to 1 if .lz (lzip) decompression support is enabled. */ +#define HAVE_LZIP_DECODER 1 + /* Define to 1 to enable bt2 match finder. */ #define HAVE_MF_BT2 1 -- cgit v1.2.3