2024-02-12 15:09:10 +00:00
|
|
|
## SPDX-License-Identifier: 0BSD
|
2009-04-13 08:27:40 +00:00
|
|
|
## Author: Lasse Collin
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2008-01-17 22:50:29 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
files \
|
2018-11-02 18:18:45 +00:00
|
|
|
ossfuzz \
|
2024-04-20 14:09:11 +00:00
|
|
|
tests.cmake \
|
2022-06-02 17:25:21 +00:00
|
|
|
tuktest.h \
|
2008-01-17 22:50:29 +00:00
|
|
|
tests.h \
|
2024-10-01 09:10:23 +00:00
|
|
|
tests_w32res.rc \
|
2008-01-17 22:50:29 +00:00
|
|
|
test_files.sh \
|
|
|
|
test_compress.sh \
|
2022-05-23 18:17:47 +00:00
|
|
|
test_compress_generated_abc \
|
|
|
|
test_compress_generated_random \
|
|
|
|
test_compress_generated_text \
|
2011-07-31 08:01:47 +00:00
|
|
|
test_scripts.sh \
|
2023-11-17 12:35:11 +00:00
|
|
|
test_suffix.sh \
|
2014-06-13 16:21:54 +00:00
|
|
|
xzgrep_expected_output
|
2007-12-08 22:42:33 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
2009-06-26 11:47:31 +00:00
|
|
|
-I$(top_srcdir)/src/common \
|
|
|
|
-I$(top_srcdir)/src/liblzma/api \
|
2023-09-25 16:47:26 +00:00
|
|
|
-I$(top_srcdir)/src/liblzma
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2009-06-26 11:47:31 +00:00
|
|
|
LDADD = $(top_builddir)/src/liblzma/liblzma.la
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2009-06-26 11:47:31 +00:00
|
|
|
LDADD += $(LTLIBINTL)
|
|
|
|
|
2024-10-01 09:10:23 +00:00
|
|
|
# Windows resource compiler support
|
|
|
|
.rc.o:
|
|
|
|
$(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
|
|
|
|
|
|
|
|
if COND_W32
|
|
|
|
LDADD += tests_w32res.o
|
|
|
|
endif
|
|
|
|
|
2007-12-08 22:42:33 +00:00
|
|
|
check_PROGRAMS = \
|
2008-01-17 22:50:29 +00:00
|
|
|
create_compress_files \
|
2007-12-08 22:42:33 +00:00
|
|
|
test_check \
|
2022-06-10 13:35:18 +00:00
|
|
|
test_hardware \
|
2007-12-08 22:42:33 +00:00
|
|
|
test_stream_flags \
|
|
|
|
test_filter_flags \
|
2023-02-02 16:32:47 +00:00
|
|
|
test_filter_str \
|
2007-12-08 22:42:33 +00:00
|
|
|
test_block_header \
|
2012-05-28 17:42:11 +00:00
|
|
|
test_index \
|
2022-12-28 16:25:18 +00:00
|
|
|
test_index_hash \
|
2022-06-12 03:31:40 +00:00
|
|
|
test_bcj_exact_size \
|
2022-09-28 08:12:07 +00:00
|
|
|
test_memlimit \
|
2022-12-21 13:12:03 +00:00
|
|
|
test_lzip_decoder \
|
2024-03-09 01:49:55 +00:00
|
|
|
test_vli
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2008-01-07 11:49:19 +00:00
|
|
|
TESTS = \
|
2008-01-17 22:50:29 +00:00
|
|
|
test_check \
|
2022-06-10 13:35:18 +00:00
|
|
|
test_hardware \
|
2008-01-17 22:50:29 +00:00
|
|
|
test_stream_flags \
|
|
|
|
test_filter_flags \
|
2023-02-02 16:32:47 +00:00
|
|
|
test_filter_str \
|
2008-01-17 22:50:29 +00:00
|
|
|
test_block_header \
|
|
|
|
test_index \
|
2022-12-28 16:25:18 +00:00
|
|
|
test_index_hash \
|
2012-05-28 17:42:11 +00:00
|
|
|
test_bcj_exact_size \
|
2022-09-28 08:12:07 +00:00
|
|
|
test_memlimit \
|
2022-12-21 13:12:03 +00:00
|
|
|
test_lzip_decoder \
|
2022-06-12 03:31:40 +00:00
|
|
|
test_vli \
|
2008-08-28 19:53:15 +00:00
|
|
|
test_files.sh \
|
2023-11-17 12:35:11 +00:00
|
|
|
test_suffix.sh \
|
2022-05-23 18:17:47 +00:00
|
|
|
test_compress_generated_abc \
|
|
|
|
test_compress_generated_random \
|
|
|
|
test_compress_generated_text
|
2011-09-06 09:03:41 +00:00
|
|
|
|
2024-03-09 01:49:55 +00:00
|
|
|
if COND_MICROLZMA
|
|
|
|
check_PROGRAMS += test_microlzma
|
|
|
|
TESTS += test_microlzma
|
|
|
|
endif
|
|
|
|
|
2011-09-06 09:03:41 +00:00
|
|
|
if COND_SCRIPTS
|
|
|
|
TESTS += test_scripts.sh
|
|
|
|
endif
|
2008-01-17 22:50:29 +00:00
|
|
|
|
|
|
|
clean-local:
|
2014-06-13 15:58:22 +00:00
|
|
|
-rm -f compress_generated_* \
|
|
|
|
xzgrep_test_output xzgrep_test_1.xz xzgrep_test_2.xz
|