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