diff options
author | Brad King <brad.king@kitware.com> | 2014-07-21 18:31:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-21 19:54:44 (GMT) |
commit | 133d42fe59e2f15610afaed287ef80ec4ff6f888 (patch) | |
tree | ea0831dc0601b3e91c3881d9f182c085ad4fffe2 /Utilities/cmliblzma/liblzma/check/Makefile.inc | |
parent | 8510533f0e713abeedf53a737c702d683b636ecb (diff) | |
parent | c289e63491982dd8aed7c6b6f54d390df91aaf95 (diff) | |
download | CMake-133d42fe59e2f15610afaed287ef80ec4ff6f888.zip CMake-133d42fe59e2f15610afaed287ef80ec4ff6f888.tar.gz CMake-133d42fe59e2f15610afaed287ef80ec4ff6f888.tar.bz2 |
Merge branch 'liblzma-upstream' into add-liblzma
Diffstat (limited to 'Utilities/cmliblzma/liblzma/check/Makefile.inc')
-rw-r--r-- | Utilities/cmliblzma/liblzma/check/Makefile.inc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Utilities/cmliblzma/liblzma/check/Makefile.inc b/Utilities/cmliblzma/liblzma/check/Makefile.inc new file mode 100644 index 0000000..e4067a9 --- /dev/null +++ b/Utilities/cmliblzma/liblzma/check/Makefile.inc @@ -0,0 +1,51 @@ +## +## Author: Lasse Collin +## +## This file has been put into the public domain. +## You can do whatever you want with this file. +## + +EXTRA_DIST += \ + check/crc32_tablegen.c \ + check/crc64_tablegen.c + +liblzma_la_SOURCES += \ + check/check.c \ + check/check.h \ + check/crc_macros.h + +if COND_CHECK_CRC32 +if COND_SMALL +liblzma_la_SOURCES += check/crc32_small.c +else +liblzma_la_SOURCES += \ + check/crc32_table.c \ + check/crc32_table_le.h \ + check/crc32_table_be.h +if COND_ASM_X86 +liblzma_la_SOURCES += check/crc32_x86.S +else +liblzma_la_SOURCES += check/crc32_fast.c +endif +endif +endif + +if COND_CHECK_CRC64 +if COND_SMALL +liblzma_la_SOURCES += check/crc64_small.c +else +liblzma_la_SOURCES += \ + check/crc64_table.c \ + check/crc64_table_le.h \ + check/crc64_table_be.h +if COND_ASM_X86 +liblzma_la_SOURCES += check/crc64_x86.S +else +liblzma_la_SOURCES += check/crc64_fast.c +endif +endif +endif + +if COND_CHECK_SHA256 +liblzma_la_SOURCES += check/sha256.c +endif |