diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-09 14:57:48 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-09 14:57:48 +0200 |
commit | 5846aeda05972bc803c6094821ae836229ebe691 (patch) | |
tree | f74e07c061167fe5ada0126e10d8d47919c1cc49 | |
parent | CMake: Add lzip decoder files and #define to the build. (diff) | |
download | xz-5846aeda05972bc803c6094821ae836229ebe691.tar.xz |
DOS: Update Makefile and config.h to include ARM64 and .lz support.
-rw-r--r-- | dos/Makefile | 2 | ||||
-rw-r--r-- | dos/config.h | 9 |
2 files changed, 11 insertions, 0 deletions
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 <limits.h> 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 |