b96bafa2cd4a751372d7c686ab18642324ac30d9
[platform/upstream/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.vcproj
25
26 metaflac_SOURCES = \
27         main.c \
28         operations.c \
29         operations_shorthand_cuesheet.c \
30         operations_shorthand_picture.c \
31         operations_shorthand_seektable.c \
32         operations_shorthand_streaminfo.c \
33         operations_shorthand_vorbiscomment.c \
34         options.c \
35         usage.c \
36         utils.c \
37         operations.h \
38         operations_shorthand.h \
39         options.h \
40         usage.h \
41         utils.h
42 metaflac_LDFLAGS =
43
44 metaflac_LDADD = \
45         $(top_builddir)/src/share/grabbag/libgrabbag.la \
46         $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
47         $(top_builddir)/src/share/getopt/libgetopt.a \
48         $(top_builddir)/src/share/utf8/libutf8.la \
49         $(top_builddir)/src/libFLAC/libFLAC.la \
50         @OGG_LIBS@ \
51         @LIBICONV@ \
52         -lm