2 ## This code has been put into the public domain.
4 ## This library is distributed in the hope that it will be useful,
5 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
6 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7 ## Lesser General Public License for more details.
10 EXTRA_DIST = crc32_tablegen.c crc64_tablegen.c
12 noinst_LTLIBRARIES = libcheck.la
13 libcheck_la_SOURCES = \
19 libcheck_la_CPPFLAGS = \
20 -I@top_srcdir@/src/liblzma/api \
21 -I@top_srcdir@/src/liblzma/common
26 libcheck_la_SOURCES += crc32_x86.S
28 libcheck_la_SOURCES += crc32.c
32 libcheck_la_SOURCES += crc32_init.c
34 libcheck_la_SOURCES += crc32_table.c crc32_table_le.h crc32_table_be.h
43 libcheck_la_SOURCES += crc64_x86.S
45 libcheck_la_SOURCES += crc64.c
49 libcheck_la_SOURCES += crc64_init.c
51 libcheck_la_SOURCES += crc64_table.c crc64_table_le.h crc64_table_be.h
58 libcheck_la_SOURCES += sha256.c
59 # Hide bogus warning to allow usage of -Werror. If more issues like this
60 # pop up, we'll drop -Werror.
61 if COND_WNO_UNINITIALIZED
62 CFLAGS += -Wno-uninitialized