1#  test_libFLAC++ - Unit tester for libFLAC++
2#  Copyright (C) 2002-2009  Josh Coalson
3#  Copyright (C) 2011-2016  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
27check_PROGRAMS = test_libFLAC++
28
29if OS_IS_WINDOWS
30win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
31endif
32
33test_libFLAC___LDADD = \
34	$(top_builddir)/src/share/grabbag/libgrabbag.la \
35	$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
36	$(top_builddir)/src/test_libs_common/libtest_libs_common.la \
37	$(top_builddir)/src/libFLAC++/libFLAC++.la \
38	$(top_builddir)/src/libFLAC/libFLAC.la \
39	$(win_utf8_lib) \
40	@OGG_LIBS@ \
41	-lm
42
43test_libFLAC___SOURCES = \
44	decoders.cpp \
45	encoders.cpp \
46	main.cpp \
47	metadata.cpp \
48	metadata_manip.cpp \
49	metadata_object.cpp \
50	decoders.h \
51	encoders.h \
52	metadata.h
53
54CLEANFILES = test_libFLAC++.exe
55