1#  metaflac - Command-line FLAC metadata editor
2#  Copyright (C) 2000-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
19bin_PROGRAMS = metaflac
20
21AM_CFLAGS = @OGG_CFLAGS@
22AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
23EXTRA_DIST = \
24	CMakeLists.txt \
25	Makefile.lite \
26	metaflac.vcproj \
27	metaflac.vcxproj \
28	metaflac.vcxproj.filters
29
30metaflac_SOURCES = \
31	main.c \
32	operations.c \
33	operations_shorthand_cuesheet.c \
34	operations_shorthand_picture.c \
35	operations_shorthand_seektable.c \
36	operations_shorthand_streaminfo.c \
37	operations_shorthand_vorbiscomment.c \
38	options.c \
39	usage.c \
40	utils.c \
41	operations.h \
42	operations_shorthand.h \
43	options.h \
44	usage.h \
45	utils.h
46metaflac_LDFLAGS = $(AM_LDFLAGS)
47
48if OS_IS_WINDOWS
49win_utf8_lib = $(top_builddir)/src/share/win_utf8_io/libwin_utf8_io.la
50endif
51
52metaflac_LDADD = \
53	$(top_builddir)/src/share/grabbag/libgrabbag.la \
54	$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
55	$(top_builddir)/src/share/getopt/libgetopt.la \
56	$(top_builddir)/src/share/utf8/libutf8.la \
57	$(top_builddir)/src/libFLAC/libFLAC.la \
58	$(win_utf8_lib) \
59	@LTLIBICONV@
60
61CLEANFILES = metaflac.exe
62