aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/Makefile.inc')
-rw-r--r--src/liblzma/common/Makefile.inc12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/liblzma/common/Makefile.inc b/src/liblzma/common/Makefile.inc
index 78bc95bb..5efa13a0 100644
--- a/src/liblzma/common/Makefile.inc
+++ b/src/liblzma/common/Makefile.inc
@@ -39,7 +39,6 @@ liblzma_la_SOURCES += \
common/easy_buffer_encoder.c \
common/easy_encoder.c \
common/easy_encoder_memusage.c \
- common/microlzma_encoder.c \
common/filter_buffer_encoder.c \
common/filter_encoder.c \
common/filter_encoder.h \
@@ -55,6 +54,11 @@ if COND_THREADS
liblzma_la_SOURCES += \
common/stream_encoder_mt.c
endif
+
+if COND_MICROLZMA
+liblzma_la_SOURCES += \
+ common/microlzma_encoder.c
+endif
endif
if COND_MAIN_DECODER
@@ -67,7 +71,6 @@ liblzma_la_SOURCES += \
common/block_decoder.h \
common/block_header_decoder.c \
common/easy_decoder_memusage.c \
- common/microlzma_decoder.c \
common/file_info.c \
common/filter_buffer_decoder.c \
common/filter_decoder.c \
@@ -86,4 +89,9 @@ if COND_THREADS
liblzma_la_SOURCES += \
common/stream_decoder_mt.c
endif
+
+if COND_MICROLZMA
+liblzma_la_SOURCES += \
+ common/microlzma_decoder.c
+endif
endif