Rizin
unix-like reverse engineering framework and cli tools
Makefile.inc
Go to the documentation of this file.
1 ##
2 ## Author: Lasse Collin
3 ##
4 ## This file has been put into the public domain.
5 ## You can do whatever you want with this file.
6 ##
7 
8 EXTRA_DIST += \
9  check/crc32_tablegen.c \ check/crc64_tablegen.c
10 
11 liblzma_la_SOURCES += \
12  check/check.c \ check/check.h \ check/crc_macros.h
13 
14 if COND_CHECK_CRC32
15 if COND_SMALL
16 liblzma_la_SOURCES += check/crc32_small.c
17 else
18 liblzma_la_SOURCES += \
19  check/crc32_table.c \ check/crc32_table_le.h \ check/crc32_table_be.h
20 if COND_ASM_X86
21 liblzma_la_SOURCES += check/crc32_x86.S
22 else
23 liblzma_la_SOURCES += check/crc32_fast.c
24 endif
25 endif
26 endif
27 
28 if COND_CHECK_CRC64
29 if COND_SMALL
30 liblzma_la_SOURCES += check/crc64_small.c
31 else
32 liblzma_la_SOURCES += \
33  check/crc64_table.c \ check/crc64_table_le.h \ check/crc64_table_be.h
34 if COND_ASM_X86
35 liblzma_la_SOURCES += check/crc64_x86.S
36 else
37 liblzma_la_SOURCES += check/crc64_fast.c
38 endif
39 endif
40 endif
41 
42 if COND_CHECK_SHA256
43 if COND_INTERNAL_SHA256
44 liblzma_la_SOURCES += check/sha256.c
45 endif
46 endif
47 
lzma_check check
Definition: container.h:292
static uint64_t crc64_table[256]
Definition: crc64_small.c:16
const unsigned int crc32_table[256]
Definition: crc32.c:42