debian/xz-utils: Remove old NEWS.Debian
[xz/debian.git] / src / liblzma / check / Makefile.inc
blobdc011a3fffb3607a47eb1301bde76283aac2a3d4
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 ##
8 EXTRA_DIST += \
9         check/crc32_tablegen.c \
10         check/crc64_tablegen.c
12 liblzma_la_SOURCES += \
13         check/check.c \
14         check/check.h \
15         check/crc_macros.h
17 if COND_CHECK_CRC32
18 if COND_SMALL
19 liblzma_la_SOURCES += check/crc32_small.c
20 else
21 liblzma_la_SOURCES += \
22         check/crc32_table.c \
23         check/crc32_table_le.h \
24         check/crc32_table_be.h
25 if COND_ASM_X86
26 liblzma_la_SOURCES += check/crc32_x86.S
27 else
28 liblzma_la_SOURCES += check/crc32_fast.c
29 endif
30 endif
31 endif
33 if COND_CHECK_CRC64
34 if COND_SMALL
35 liblzma_la_SOURCES += check/crc64_small.c
36 else
37 liblzma_la_SOURCES += \
38         check/crc64_table.c \
39         check/crc64_table_le.h \
40         check/crc64_table_be.h
41 if COND_ASM_X86
42 liblzma_la_SOURCES += check/crc64_x86.S
43 else
44 liblzma_la_SOURCES += check/crc64_fast.c
45 endif
46 endif
47 endif
49 if COND_CHECK_SHA256
50 if COND_INTERNAL_SHA256
51 liblzma_la_SOURCES += check/sha256.c
52 endif
53 endif