xref: /aosp_15_r20/external/flac/src/test_libFLAC++/Makefile.am (revision 600f14f40d737144c998e2ec7a483122d3776fbc)
1#  test_libFLAC++ - Unit tester for libFLAC++
2#  Copyright (C) 2002-2009  Josh Coalson
3#  Copyright (C) 2011-2023  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
22AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
23check_PROGRAMS = test_libFLAC++
24
25if OS_IS_WINDOWS
26win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
27endif
28
29test_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++.la \
34	$(top_builddir)/src/libFLAC/libFLAC.la \
35	$(win_utf8_lib) \
36	@OGG_LIBS@ \
37	-lm
38
39test_libFLAC___SOURCES = \
40	decoders.cpp \
41	encoders.cpp \
42	main.cpp \
43	metadata.cpp \
44	metadata_manip.cpp \
45	metadata_object.cpp \
46	decoders.h \
47	encoders.h \
48	metadata.h
49
50CLEANFILES = test_libFLAC++.exe
51