aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/rangecoder/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/rangecoder/Makefile.am')
-rw-r--r--src/liblzma/rangecoder/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/liblzma/rangecoder/Makefile.am b/src/liblzma/rangecoder/Makefile.am
index ef5d1464..6e80f8d7 100644
--- a/src/liblzma/rangecoder/Makefile.am
+++ b/src/liblzma/rangecoder/Makefile.am
@@ -12,6 +12,8 @@
## Lesser General Public License for more details.
##
+EXTRA_DIST = price_table_gen.c
+
noinst_LTLIBRARIES = librangecoder.la
librangecoder_la_SOURCES = range_common.h
@@ -20,7 +22,12 @@ librangecoder_la_CPPFLAGS = \
-I@top_srcdir@/src/liblzma/common
if COND_MAIN_ENCODER
-librangecoder_la_SOURCES += range_encoder.c range_encoder.h
+librangecoder_la_SOURCES += range_encoder.h
+if COND_SMALL
+librangecoder_la_SOURCES += price_table_init.c
+else
+librangecoder_la_SOURCES += price_table.c
+endif
endif
if COND_MAIN_DECODER