blob: d9521ce25b7720f8887a3ff3614db9a1620e4360 [file] [log] [blame]
Josh Coalsonca866012002-10-23 22:24:33 +00001# FLAC - Free Lossless Audio Codec
Josh Coalsondea0f5a2009-01-07 07:31:28 +00002# Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Josh Coalson
Josh Coalsonca866012002-10-23 22:24:33 +00003#
Josh Coalsone8a76012003-02-07 00:14:32 +00004# This file is part the FLAC project. FLAC is comprised of several
5# components distributed under difference licenses. The codec libraries
6# are distributed under Xiph.Org's BSD-like license (see the file
7# COPYING.Xiph in this distribution). All other programs, libraries, and
8# plugins are distributed under the GPL (see COPYING.GPL). The documentation
9# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
10# FLAC distribution contains at the top the terms under which it may be
11# distributed.
Josh Coalsonca866012002-10-23 22:24:33 +000012#
Josh Coalsone8a76012003-02-07 00:14:32 +000013# Since this particular file is relevant to all components of FLAC,
14# it may be distributed under the Xiph.Org license, which is the least
15# restrictive of those mentioned above. See the file COPYING.Xiph in this
16# distribution.
Josh Coalsonfda98fb2002-05-17 06:33:39 +000017
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110018AUTOMAKE_OPTIONS = subdir-objects
19
20AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/include/share
Josh Coalsonfda98fb2002-05-17 06:33:39 +000021
Josh Coalsoncd443f62002-07-09 06:27:07 +000022EXTRA_DIST = \
Josh Coalsoned6e2ce2002-11-22 06:23:01 +000023 Makefile.lite \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110024 README \
25 getopt/Makefile.lite \
26 getopt/getopt_static.vcproj \
27 grabbag/Makefile.lite \
28 grabbag/grabbag_static.vcproj \
29 replaygain_analysis/Makefile.lite \
30 replaygain_analysis/replaygain_analysis_static.vcproj \
31 replaygain_synthesis/Makefile.lite \
32 replaygain_synthesis/replaygain_synthesis_static.vcproj \
33 replaygain_synthesis/include/private/fast_float_math_hack.h \
34 utf8/Makefile.lite \
35 utf8/charmaps.h \
36 utf8/makemap.c \
37 utf8/charset_test.c \
38 utf8/charsetmap.h \
39 utf8/iconvert.h \
40 utf8/utf8_static.vcproj \
41 win_utf8_io/win_utf8_io.vcproj
42
43
44noinst_LTLIBRARIES = \
45 getopt/libgetopt.la \
46 grabbag/libgrabbag.la \
47 utf8/libutf8.la \
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100048 $(libwin_utf8_io) \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110049 replaygain_analysis/libreplaygain_analysis.la \
50 replaygain_synthesis/libreplaygain_synthesis.la
51
52
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110053if OS_IS_WINDOWS
54win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100055libwin_utf8_io = win_utf8_io/libwin_utf8_io.la
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110056else
57win_utf8_io_libwin_utf8_io_la_SOURCES =
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100058libwin_utf8_io =
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110059endif
60
61
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110062getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
63
64grabbag_libgrabbag_la_SOURCES = \
65 grabbag/alloc.c \
66 grabbag/cuesheet.c \
67 grabbag/file.c \
68 grabbag/picture.c \
69 grabbag/replaygain.c \
70 grabbag/seektable.c \
71 grabbag/snprintf.c
72
73utf8_libutf8_la_SOURCES = \
74 utf8/charset.c \
75 utf8/charset.h \
76 utf8/iconvert.c \
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110077 utf8/utf8.c
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110078
79replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
80
81replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
82replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
83
84debug:
85 $(MAKE) all CFLAGS="@DEBUG@"
86
87profile:
88 $(MAKE) all CFLAGS="@PROFILE@"