fix handling of CFLAGS/CXXFLAGS, now using AM_CFLAGS
[platform/upstream/flac.git] / src / metaflac / Makefile.am
1 #  metaflac - Command-line FLAC metadata editor
2 #  Copyright (C) 2000,2001,2002,2003,2004,2005  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
15 #  along with this program; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
18 bin_PROGRAMS = metaflac
19
20 EXTRA_DIST = \
21         Makefile.lite \
22         metaflac.dsp
23
24 metaflac_SOURCES = \
25         main.c \
26         operations.c \
27         operations_shorthand_cuesheet.c \
28         operations_shorthand_seektable.c \
29         operations_shorthand_streaminfo.c \
30         operations_shorthand_vorbiscomment.c \
31         options.c \
32         usage.c \
33         utils.c \
34         operations.h \
35         options.h \
36         usage.h \
37         utils.h
38 metaflac_LDFLAGS = 
39
40 metaflac_LDADD = \
41         $(top_builddir)/src/share/grabbag/libgrabbag.la \
42         $(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
43         $(top_builddir)/src/share/getopt/libgetopt.a \
44         $(top_builddir)/src/share/utf8/libutf8.la \
45         $(top_builddir)/src/libFLAC/libFLAC.la \
46         @LIBICONV@ \
47         -lm