aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/Makefile.am
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-06-18 22:04:24 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-06-18 22:04:24 +0300
commita115cc3748482e277f42a968baa3cd266f031dba (patch)
tree54cf051c55d0aadd67a5b2d5a9edb6b57a09c787 /src/liblzma/Makefile.am
parentxz: Check for filter chain compatibility for --flush-timeout. (diff)
downloadxz-a115cc3748482e277f42a968baa3cd266f031dba.tar.xz
liblzma: Add lzma_cputhreads().
Diffstat (limited to '')
-rw-r--r--src/liblzma/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am
index 9ad021a2..32134e84 100644
--- a/src/liblzma/Makefile.am
+++ b/src/liblzma/Makefile.am
@@ -12,7 +12,7 @@ CLEANFILES =
doc_DATA =
lib_LTLIBRARIES = liblzma.la
-liblzma_la_SOURCES = $(top_srcdir)/src/common/tuklib_physmem.c
+liblzma_la_SOURCES =
liblzma_la_CPPFLAGS = \
-I$(top_srcdir)/src/liblzma/api \
-I$(top_srcdir)/src/liblzma/common \
@@ -32,6 +32,12 @@ liblzma_la_LDFLAGS += \
-Wl,--version-script=$(top_srcdir)/src/liblzma/liblzma.map
endif
+liblzma_la_SOURCES += $(top_srcdir)/src/common/tuklib_physmem.c
+
+if COND_THREADS
+liblzma_la_SOURCES += $(top_srcdir)/src/common/tuklib_cpucores.c
+endif
+
include $(srcdir)/common/Makefile.inc
include $(srcdir)/check/Makefile.inc