Josh Coalson | ca86601 | 2002-10-23 22:24:33 +0000 | [diff] [blame] | 1 | # FLAC - Free Lossless Audio Codec |
Erik de Castro Lopo | b1982fb | 2013-05-25 17:11:19 +1000 | [diff] [blame] | 2 | # Copyright (C) 2002-2009 Josh Coalson |
Erik de Castro Lopo | 6a5fe43 | 2016-12-05 06:35:39 +1100 | [diff] [blame^] | 3 | # Copyright (C) 2011-2016 Xiph.Org Foundation |
Josh Coalson | ca86601 | 2002-10-23 22:24:33 +0000 | [diff] [blame] | 4 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 5 | # This file is part the FLAC project. FLAC is comprised of several |
Ulrich Klauer | cd4ddab | 2013-05-26 22:53:43 +0200 | [diff] [blame] | 6 | # components distributed under different licenses. The codec libraries |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 7 | # 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 Coalson | ca86601 | 2002-10-23 22:24:33 +0000 | [diff] [blame] | 13 | # |
Josh Coalson | e8a7601 | 2003-02-07 00:14:32 +0000 | [diff] [blame] | 14 | # 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 Coalson | fda98fb | 2002-05-17 06:33:39 +0000 | [diff] [blame] | 18 | |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 19 | AUTOMAKE_OPTIONS = subdir-objects |
| 20 | |
Erik de Castro Lopo | 6c9abe3 | 2014-06-16 14:23:50 +1000 | [diff] [blame] | 21 | AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include |
Josh Coalson | fda98fb | 2002-05-17 06:33:39 +0000 | [diff] [blame] | 22 | |
Josh Coalson | cd443f6 | 2002-07-09 06:27:07 +0000 | [diff] [blame] | 23 | EXTRA_DIST = \ |
Josh Coalson | ed6e2ce | 2002-11-22 06:23:01 +0000 | [diff] [blame] | 24 | Makefile.lite \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 25 | README \ |
| 26 | getopt/Makefile.lite \ |
| 27 | getopt/getopt_static.vcproj \ |
Erik de Castro Lopo | 3194829 | 2014-07-09 19:02:35 +1000 | [diff] [blame] | 28 | getopt/getopt_static.vcxproj \ |
| 29 | getopt/getopt_static.vcxproj.filters \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 30 | grabbag/Makefile.lite \ |
| 31 | grabbag/grabbag_static.vcproj \ |
Erik de Castro Lopo | 3194829 | 2014-07-09 19:02:35 +1000 | [diff] [blame] | 32 | grabbag/grabbag_static.vcxproj \ |
| 33 | grabbag/grabbag_static.vcxproj.filters \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 34 | replaygain_analysis/Makefile.lite \ |
| 35 | replaygain_analysis/replaygain_analysis_static.vcproj \ |
Erik de Castro Lopo | 3194829 | 2014-07-09 19:02:35 +1000 | [diff] [blame] | 36 | replaygain_analysis/replaygain_analysis_static.vcxproj \ |
| 37 | replaygain_analysis/replaygain_analysis_static.vcxproj.filters \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 38 | replaygain_synthesis/Makefile.lite \ |
| 39 | replaygain_synthesis/replaygain_synthesis_static.vcproj \ |
Erik de Castro Lopo | 3194829 | 2014-07-09 19:02:35 +1000 | [diff] [blame] | 40 | replaygain_synthesis/replaygain_synthesis_static.vcxproj \ |
| 41 | replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 42 | utf8/Makefile.lite \ |
| 43 | utf8/charmaps.h \ |
| 44 | utf8/makemap.c \ |
| 45 | utf8/charset_test.c \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 46 | utf8/utf8_static.vcproj \ |
Erik de Castro Lopo | 3194829 | 2014-07-09 19:02:35 +1000 | [diff] [blame] | 47 | 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 Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 52 | |
| 53 | |
| 54 | noinst_LTLIBRARIES = \ |
| 55 | getopt/libgetopt.la \ |
| 56 | grabbag/libgrabbag.la \ |
| 57 | utf8/libutf8.la \ |
Erik de Castro Lopo | d6219e8 | 2013-04-07 17:48:06 +1000 | [diff] [blame] | 58 | $(libwin_utf8_io) \ |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 59 | replaygain_analysis/libreplaygain_analysis.la \ |
| 60 | replaygain_synthesis/libreplaygain_synthesis.la |
| 61 | |
| 62 | |
Erik de Castro Lopo | 2199d08 | 2013-04-01 19:57:13 +1100 | [diff] [blame] | 63 | if OS_IS_WINDOWS |
| 64 | win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c |
Erik de Castro Lopo | d6219e8 | 2013-04-07 17:48:06 +1000 | [diff] [blame] | 65 | libwin_utf8_io = win_utf8_io/libwin_utf8_io.la |
Erik de Castro Lopo | d40a6bc | 2016-02-05 11:02:44 +1100 | [diff] [blame] | 66 | win_utf8_io_libwin_utf8_io_la_LIBADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm |
Erik de Castro Lopo | 2199d08 | 2013-04-01 19:57:13 +1100 | [diff] [blame] | 67 | else |
| 68 | win_utf8_io_libwin_utf8_io_la_SOURCES = |
Erik de Castro Lopo | d6219e8 | 2013-04-07 17:48:06 +1000 | [diff] [blame] | 69 | libwin_utf8_io = |
Erik de Castro Lopo | 2199d08 | 2013-04-01 19:57:13 +1100 | [diff] [blame] | 70 | endif |
| 71 | |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 72 | getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c |
| 73 | |
| 74 | grabbag_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 | |
| 83 | utf8_libutf8_la_SOURCES = \ |
| 84 | utf8/charset.c \ |
| 85 | utf8/charset.h \ |
| 86 | utf8/iconvert.c \ |
Erik de Castro Lopo | 7917b60 | 2016-01-31 12:35:53 +1100 | [diff] [blame] | 87 | utf8/iconvert.h \ |
Erik de Castro Lopo | 2199d08 | 2013-04-01 19:57:13 +1100 | [diff] [blame] | 88 | utf8/utf8.c |
Erik de Castro Lopo | b3c3e2a | 2013-04-01 17:44:42 +1100 | [diff] [blame] | 89 | |
| 90 | replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c |
| 91 | |
| 92 | replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include |
| 93 | replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c |
| 94 | |
| 95 | debug: |
| 96 | $(MAKE) all CFLAGS="@DEBUG@" |
| 97 | |
| 98 | profile: |
| 99 | $(MAKE) all CFLAGS="@PROFILE@" |