1#  test_libFLAC - Unit tester for libFLAC
2#  Copyright (C) 2000-2009  Josh Coalson
3#  Copyright (C) 2011-2018  Xiph.Org Foundation
4#
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.
9#
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.
14#
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.
18
19EXTRA_DIST = \
20	CMakeLists.txt \
21	Makefile.lite \
22	test_libFLAC.vcproj \
23	test_libFLAC.vcxproj \
24	test_libFLAC.vcxproj.filters
25
26AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/src/libFLAC/include
27
28check_PROGRAMS = test_libFLAC
29
30if OS_IS_WINDOWS
31win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
32endif
33
34test_libFLAC_LDADD = \
35	$(top_builddir)/src/share/grabbag/libgrabbag.la \
36	$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
37	$(top_builddir)/src/test_libs_common/libtest_libs_common.la \
38	$(top_builddir)/src/libFLAC/libFLAC-static.la \
39	$(win_utf8_lib) \
40	@OGG_LIBS@ \
41	-lm
42
43test_libFLAC_SOURCES = \
44	bitreader.c \
45	bitwriter.c \
46	crc.c \
47	decoders.c \
48	encoders.c \
49	endswap.c \
50	format.c \
51	main.c \
52	metadata.c \
53	metadata_manip.c \
54	metadata_object.c \
55	md5.c \
56	bitreader.h \
57	bitwriter.h \
58	crc.h \
59	decoders.h \
60	encoders.h \
61	endswap.h \
62	format.h \
63	metadata.h \
64	md5.h
65
66CLEANFILES = test_libFLAC.exe
67