]> icculus.org git repositories - icculus/xz.git/blob - tests/Makefile.am
Imported to git.
[icculus/xz.git] / tests / Makefile.am
1 ##
2 ##  Copyright (C) 2007 Lasse Collin
3 ##
4 ##  This library is free software; you can redistribute it and/or
5 ##  modify it under the terms of the GNU Lesser General Public
6 ##  License as published by the Free Software Foundation; either
7 ##  version 2.1 of the License, or (at your option) any later version.
8 ##
9 ##  This library is distributed in the hope that it will be useful,
10 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ##  Lesser General Public License for more details.
13 ##
14
15 EXTRA_DIST = files tests.h
16
17 AM_CPPFLAGS = \
18         -I@top_srcdir@/src/common \
19         -I@top_srcdir@/src/liblzma/api \
20         -I@top_builddir@/lib
21
22 LDADD = @top_builddir@/src/liblzma/liblzma.la
23
24 if COND_GNULIB
25 LDADD += @top_builddir/lib/libgnu.a
26 endif
27
28 check_PROGRAMS = \
29         test_check \
30         test_stream_flags \
31         test_filter_flags \
32         test_block_header \
33         test_index \
34         test_info
35
36 test_check_SOURCES = test_check.c
37 test_stream_flags_SOURCES = test_stream_flags.c
38 test_filter_flags_SOURCES = test_filter_flags.c
39 test_block_header_SOURCES = test_block_header.c
40 test_index_SOURCES = test_index.c
41 test_info_SOURCES = test_info.c
42
43 TESTS = $(check_PROGRAMS)