blob: d6bb1873a7f90db7ede4081f11fe30841d52bb51 [file] [log] [blame]
Josh Coalsonca866012002-10-23 22:24:33 +00001# FLAC - Free Lossless Audio Codec
Erik de Castro Lopob1982fb2013-05-25 17:11:19 +10002# Copyright (C) 2002-2009 Josh Coalson
Erik de Castro Lopo6a5fe432016-12-05 06:35:39 +11003# Copyright (C) 2011-2016 Xiph.Org Foundation
Josh Coalsonca866012002-10-23 22:24:33 +00004#
Josh Coalsone8a76012003-02-07 00:14:32 +00005# This file is part the FLAC project. FLAC is comprised of several
Ulrich Klauercd4ddab2013-05-26 22:53:43 +02006# components distributed under different licenses. The codec libraries
Josh Coalsone8a76012003-02-07 00:14:32 +00007# are distributed under Xiph.Org's BSD-like license (see the file
8# COPYING.Xiph in this distribution). All other programs, libraries, and
9# plugins are distributed under the GPL (see COPYING.GPL). The documentation
10# is distributed under the Gnu FDL (see COPYING.FDL). Each file in the
11# FLAC distribution contains at the top the terms under which it may be
12# distributed.
Josh Coalsonca866012002-10-23 22:24:33 +000013#
Josh Coalsone8a76012003-02-07 00:14:32 +000014# Since this particular file is relevant to all components of FLAC,
15# it may be distributed under the Xiph.Org license, which is the least
16# restrictive of those mentioned above. See the file COPYING.Xiph in this
17# distribution.
Josh Coalsonfda98fb2002-05-17 06:33:39 +000018
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110019AUTOMAKE_OPTIONS = subdir-objects
20
Erik de Castro Lopo6c9abe32014-06-16 14:23:50 +100021AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
Josh Coalsonfda98fb2002-05-17 06:33:39 +000022
Josh Coalsoncd443f62002-07-09 06:27:07 +000023EXTRA_DIST = \
Josh Coalsoned6e2ce2002-11-22 06:23:01 +000024 Makefile.lite \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110025 README \
26 getopt/Makefile.lite \
27 getopt/getopt_static.vcproj \
Erik de Castro Lopo31948292014-07-09 19:02:35 +100028 getopt/getopt_static.vcxproj \
29 getopt/getopt_static.vcxproj.filters \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110030 grabbag/Makefile.lite \
31 grabbag/grabbag_static.vcproj \
Erik de Castro Lopo31948292014-07-09 19:02:35 +100032 grabbag/grabbag_static.vcxproj \
33 grabbag/grabbag_static.vcxproj.filters \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110034 replaygain_analysis/Makefile.lite \
35 replaygain_analysis/replaygain_analysis_static.vcproj \
Erik de Castro Lopo31948292014-07-09 19:02:35 +100036 replaygain_analysis/replaygain_analysis_static.vcxproj \
37 replaygain_analysis/replaygain_analysis_static.vcxproj.filters \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110038 replaygain_synthesis/Makefile.lite \
39 replaygain_synthesis/replaygain_synthesis_static.vcproj \
Erik de Castro Lopo31948292014-07-09 19:02:35 +100040 replaygain_synthesis/replaygain_synthesis_static.vcxproj \
41 replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110042 utf8/Makefile.lite \
43 utf8/charmaps.h \
44 utf8/makemap.c \
45 utf8/charset_test.c \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110046 utf8/utf8_static.vcproj \
Erik de Castro Lopo31948292014-07-09 19:02:35 +100047 utf8/utf8_static.vcxproj \
48 utf8/utf8_static.vcxproj.filters \
49 win_utf8_io/win_utf8_io_static.vcproj \
50 win_utf8_io/win_utf8_io_static.vcxproj \
51 win_utf8_io/win_utf8_io_static.vcxproj.filters
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110052
53
54noinst_LTLIBRARIES = \
55 getopt/libgetopt.la \
56 grabbag/libgrabbag.la \
57 utf8/libutf8.la \
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100058 $(libwin_utf8_io) \
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110059 replaygain_analysis/libreplaygain_analysis.la \
60 replaygain_synthesis/libreplaygain_synthesis.la
61
62
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110063if OS_IS_WINDOWS
64win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100065libwin_utf8_io = win_utf8_io/libwin_utf8_io.la
Erik de Castro Lopod40a6bc2016-02-05 11:02:44 +110066win_utf8_io_libwin_utf8_io_la_LIBADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110067else
68win_utf8_io_libwin_utf8_io_la_SOURCES =
Erik de Castro Lopod6219e82013-04-07 17:48:06 +100069libwin_utf8_io =
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110070endif
71
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110072getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
73
74grabbag_libgrabbag_la_SOURCES = \
75 grabbag/alloc.c \
76 grabbag/cuesheet.c \
77 grabbag/file.c \
78 grabbag/picture.c \
79 grabbag/replaygain.c \
80 grabbag/seektable.c \
81 grabbag/snprintf.c
82
83utf8_libutf8_la_SOURCES = \
84 utf8/charset.c \
85 utf8/charset.h \
86 utf8/iconvert.c \
Erik de Castro Lopo7917b602016-01-31 12:35:53 +110087 utf8/iconvert.h \
Erik de Castro Lopo2199d082013-04-01 19:57:13 +110088 utf8/utf8.c
Erik de Castro Lopob3c3e2a2013-04-01 17:44:42 +110089
90replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
91
92replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
93replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
94
95debug:
96 $(MAKE) all CFLAGS="@DEBUG@"
97
98profile:
99 $(MAKE) all CFLAGS="@PROFILE@"