Merge tag 'v5.2.4'
[xz/debian.git] / tests / Makefile.am
blob86084e17c21141242dd7745acb60bc3e47c44a5d
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         files \
10         tests.h \
11         test_files.sh \
12         test_compress.sh \
13         test_scripts.sh \
14         bcj_test.c \
15         compress_prepared_bcj_sparc \
16         compress_prepared_bcj_x86 \
17         xzgrep_expected_output
19 AM_CPPFLAGS = \
20         -I$(top_srcdir)/src/common \
21         -I$(top_srcdir)/src/liblzma/api \
22         -I$(top_builddir)/lib
24 LDADD = $(top_builddir)/src/liblzma/liblzma.la
26 if COND_GNULIB
27 LDADD += $(top_builddir)/lib/libgnu.a
28 endif
30 LDADD += $(LTLIBINTL)
32 check_PROGRAMS = \
33         create_compress_files \
34         test_check \
35         test_stream_flags \
36         test_filter_flags \
37         test_block_header \
38         test_index \
39         test_bcj_exact_size
41 TESTS = \
42         test_check \
43         test_stream_flags \
44         test_filter_flags \
45         test_block_header \
46         test_index \
47         test_bcj_exact_size \
48         test_files.sh \
49         test_compress.sh
51 if COND_SCRIPTS
52 TESTS += test_scripts.sh
53 endif
55 clean-local:
56         -rm -f compress_generated_* \
57                 xzgrep_test_output xzgrep_test_1.xz xzgrep_test_2.xz