11b63102b3bd54fdd20157153c49b8e56e0a70a5
[flac.git] / src / metaflac / Makefile.am
1 #  metaflac - Command-line FLAC metadata editor
2 #  Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
3 #
4 #  This program is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU General Public License
6 #  as published by the Free Software Foundation; either version 2
7 #  of the License, or (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU General Public License along
15 #  with this program; if not, write to the Free Software Foundation, Inc.,
16 #  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18 bin_PROGRAMS = metaflac
19
20 AM_CFLAGS = @OGG_CFLAGS@
21 AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
22 EXTRA_DIST = \
23         Makefile.lite \
24         metaflac.dsp \
25         metaflac.vcproj
26
27 metaflac_SOURCES = \
28         main.c \
29         operations.c \
30         operations_shorthand_cuesheet.c \
31         operations_shorthand_picture.c \
32         operations_shorthand_seektable.c \
33         operations_shorthand_streaminfo.c \
34         operations_shorthand_vorbiscomment.c \
35         options.c \
36         usage.c \
37         utils.c \
38         operations.h \
39         operations_shorthand.h \
40         options.h \
41         usage.h \
42         utils.h
43 metaflac_LDFLAGS =
44
45 metaflac_LDADD = \
46         $(top_builddir)/src/share/grabbag/libgrabbag.la \
47         $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
48         $(top_builddir)/src/share/getopt/libgetopt.a \
49         $(top_builddir)/src/share/utf8/libutf8.la \
50         $(top_builddir)/src/libFLAC/libFLAC.la \
51         @OGG_LIBS@ \
52         @LIBICONV@ \
53         -lm