Tests/Windows: Add the application manifest to the test programs
[xz/debian.git] / tests / Makefile.am
blob15dc16a8ea68c26bd89b2355d976f61902a63122
1 ## SPDX-License-Identifier: 0BSD
2 ## Author: Lasse Collin
4 EXTRA_DIST = \
5         files \
6         ossfuzz \
7         tests.cmake \
8         tuktest.h \
9         tests.h \
10         tests_w32res.rc \
11         test_files.sh \
12         test_compress.sh \
13         test_compress_generated_abc \
14         test_compress_generated_random \
15         test_compress_generated_text \
16         test_scripts.sh \
17         test_suffix.sh \
18         xzgrep_expected_output
20 AM_CPPFLAGS = \
21         -I$(top_srcdir)/src/common \
22         -I$(top_srcdir)/src/liblzma/api \
23         -I$(top_srcdir)/src/liblzma
25 LDADD = $(top_builddir)/src/liblzma/liblzma.la
27 LDADD += $(LTLIBINTL)
29 # Windows resource compiler support
30 .rc.o:
31         $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
32                 $(AM_CPPFLAGS) $(CPPFLAGS) $(RCFLAGS) -i $< -o $@
34 if COND_W32
35 LDADD += tests_w32res.o
36 endif
38 check_PROGRAMS = \
39         create_compress_files \
40         test_check \
41         test_hardware \
42         test_stream_flags \
43         test_filter_flags \
44         test_filter_str \
45         test_block_header \
46         test_index \
47         test_index_hash \
48         test_bcj_exact_size \
49         test_memlimit \
50         test_lzip_decoder \
51         test_vli
53 TESTS = \
54         test_check \
55         test_hardware \
56         test_stream_flags \
57         test_filter_flags \
58         test_filter_str \
59         test_block_header \
60         test_index \
61         test_index_hash \
62         test_bcj_exact_size \
63         test_memlimit \
64         test_lzip_decoder \
65         test_vli \
66         test_files.sh \
67         test_suffix.sh \
68         test_compress_generated_abc \
69         test_compress_generated_random \
70         test_compress_generated_text
72 if COND_MICROLZMA
73 check_PROGRAMS += test_microlzma
74 TESTS += test_microlzma
75 endif
77 if COND_SCRIPTS
78 TESTS += test_scripts.sh
79 endif
81 clean-local:
82         -rm -f compress_generated_* \
83                 xzgrep_test_output xzgrep_test_1.xz xzgrep_test_2.xz