Add bitreader unit test.
[flac.git] / src / test_libFLAC / Makefile.am
blob3e37f200d0311add85a09c138c06184b7df0cdb4
1 #  test_libFLAC - Unit tester for libFLAC
2 #  Copyright (C) 2000-2009  Josh Coalson
3 #  Copyright (C) 2011-2018  Xiph.Org Foundation
5 #  This program is free software; you can redistribute it and/or
6 #  modify it under the terms of the GNU General Public License
7 #  as published by the Free Software Foundation; either version 2
8 #  of the License, or (at your option) any later version.
10 #  This program is distributed in the hope that it will be useful,
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #  GNU General Public License for more details.
15 #  You should have received a copy of the GNU General Public License along
16 #  with this program; if not, write to the Free Software Foundation, Inc.,
17 #  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 EXTRA_DIST = \
20         Makefile.lite \
21         test_libFLAC.vcproj \
22         test_libFLAC.vcxproj \
23         test_libFLAC.vcxproj.filters
25 AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/src/libFLAC/include
27 check_PROGRAMS = test_libFLAC
29 test_libFLAC_LDADD = \
30         $(top_builddir)/src/share/grabbag/libgrabbag.la \
31         $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
32         $(top_builddir)/src/test_libs_common/libtest_libs_common.la \
33         $(top_builddir)/src/libFLAC/libFLAC-static.la \
34         @OGG_LIBS@ \
35         -lm
37 test_libFLAC_SOURCES = \
38         bitreader.c \
39         bitwriter.c \
40         crc.c \
41         decoders.c \
42         encoders.c \
43         endswap.c \
44         format.c \
45         main.c \
46         metadata.c \
47         metadata_manip.c \
48         metadata_object.c \
49         md5.c \
50         bitreader.h \
51         bitwriter.h \
52         crc.h \
53         decoders.h \
54         encoders.h \
55         endswap.h \
56         format.h \
57         metadata.h \
58         md5.h
60 CLEANFILES = test_libFLAC.exe