lib/getopt*.c: Include <config.h> only HAVE_CONFIG_H is defined.
[xz.git] / tests / Makefile.am
blob0523191ddf00e1da441db72b577b20bbecea0559
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         ossfuzz \
11         tuktest.h \
12         tests.h \
13         test_files.sh \
14         test_compress.sh \
15         test_compress_prepared_bcj_sparc \
16         test_compress_prepared_bcj_x86 \
17         test_compress_generated_abc \
18         test_compress_generated_random \
19         test_compress_generated_text \
20         test_scripts.sh \
21         bcj_test.c \
22         compress_prepared_bcj_sparc \
23         compress_prepared_bcj_x86 \
24         xzgrep_expected_output
26 AM_CPPFLAGS = \
27         -I$(top_srcdir)/src/common \
28         -I$(top_srcdir)/src/liblzma/api \
29         -I$(top_srcdir)/src/liblzma \
30         -I$(top_builddir)/lib
32 LDADD = $(top_builddir)/src/liblzma/liblzma.la
34 if COND_GNULIB
35 LDADD += $(top_builddir)/lib/libgnu.a
36 endif
38 LDADD += $(LTLIBINTL)
40 check_PROGRAMS = \
41         create_compress_files \
42         test_check \
43         test_hardware \
44         test_stream_flags \
45         test_filter_flags \
46         test_filter_str \
47         test_block_header \
48         test_index \
49         test_index_hash \
50         test_bcj_exact_size \
51         test_memlimit \
52         test_lzip_decoder \
53         test_vli
55 TESTS = \
56         test_check \
57         test_hardware \
58         test_stream_flags \
59         test_filter_flags \
60         test_filter_str \
61         test_block_header \
62         test_index \
63         test_index_hash \
64         test_bcj_exact_size \
65         test_memlimit \
66         test_lzip_decoder \
67         test_vli \
68         test_files.sh \
69         test_compress_prepared_bcj_sparc \
70         test_compress_prepared_bcj_x86 \
71         test_compress_generated_abc \
72         test_compress_generated_random \
73         test_compress_generated_text
75 if COND_SCRIPTS
76 TESTS += test_scripts.sh
77 endif
79 clean-local:
80         -rm -f compress_generated_* \
81                 xzgrep_test_output xzgrep_test_1.xz xzgrep_test_2.xz