]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/check/Makefile.inc
Build system fixes
[icculus/xz.git] / src / liblzma / check / Makefile.inc
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 \
10         check/crc64_tablegen.c
11
12 liblzma_la_SOURCES += \
13         check/check.c \
14         check/check.h \
15         check/crc_macros.h
16
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
32
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
48
49 if COND_CHECK_SHA256
50 liblzma_la_SOURCES += check/sha256.c
51 endif