# FLAC - Free Lossless Audio Codec
-# Copyright (C) 2002 Josh Coalson
+# Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Josh Coalson
#
-# This program is part of FLAC; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
+# This file is part the FLAC project. FLAC is comprised of several
+# components distributed under difference licenses. The codec libraries
+# are distributed under Xiph.Org's BSD-like license (see the file
+# COPYING.Xiph in this distribution). All other programs, libraries, and
+# plugins are distributed under the GPL (see COPYING.GPL). The documentation
+# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
+# FLAC distribution contains at the top the terms under which it may be
+# distributed.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Since this particular file is relevant to all components of FLAC,
+# it may be distributed under the Xiph.Org license, which is the least
+# restrictive of those mentioned above. See the file COPYING.Xiph in this
+# distribution.
+
+AUTOMAKE_OPTIONS = subdir-objects
-SUBDIRS = gain_analysis getopt grabbag utf8
+AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/include/share
EXTRA_DIST = \
Makefile.lite \
- Makefile.vc \
- README
+ README \
+ getopt/Makefile.lite \
+ getopt/getopt_static.vcproj \
+ grabbag/Makefile.lite \
+ grabbag/grabbag_static.vcproj \
+ replaygain_analysis/Makefile.lite \
+ replaygain_analysis/replaygain_analysis_static.vcproj \
+ replaygain_synthesis/Makefile.lite \
+ replaygain_synthesis/replaygain_synthesis_static.vcproj \
+ replaygain_synthesis/include/private/fast_float_math_hack.h \
+ utf8/Makefile.lite \
+ utf8/charmaps.h \
+ utf8/makemap.c \
+ utf8/charset_test.c \
+ utf8/charsetmap.h \
+ utf8/iconvert.h \
+ utf8/utf8_static.vcproj \
+ win_utf8_io/win_utf8_io.vcproj
+
+
+noinst_LTLIBRARIES = \
+ getopt/libgetopt.la \
+ grabbag/libgrabbag.la \
+ utf8/libutf8.la \
+ win_utf8_io/libwin_utf8_io.la \
+ replaygain_analysis/libreplaygain_analysis.la \
+ replaygain_synthesis/libreplaygain_synthesis.la
+
+
+if OS_IS_WINDOWS
+win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c
+else
+win_utf8_io_libwin_utf8_io_la_SOURCES =
+endif
+
+
+getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
+
+grabbag_libgrabbag_la_SOURCES = \
+ grabbag/alloc.c \
+ grabbag/cuesheet.c \
+ grabbag/file.c \
+ grabbag/picture.c \
+ grabbag/replaygain.c \
+ grabbag/seektable.c \
+ grabbag/snprintf.c
+
+utf8_libutf8_la_SOURCES = \
+ utf8/charset.c \
+ utf8/charset.h \
+ utf8/iconvert.c \
+ utf8/utf8.c
+
+replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
+
+replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
+replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
+
+debug:
+ $(MAKE) all CFLAGS="@DEBUG@"
+
+profile:
+ $(MAKE) all CFLAGS="@PROFILE@"