82d0fc96b76c3a74ee5b20c019730b98f741bd9a
[pcsx_rearmed.git] / deps / flac-1.3.2 / src / share / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2002-2009  Josh Coalson
3 #  Copyright (C) 2011-2016  Xiph.Org Foundation
4 #
5 #  This file is part the FLAC project.  FLAC is comprised of several
6 #  components distributed under different licenses.  The codec libraries
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.
13 #
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.
18
19 AUTOMAKE_OPTIONS = subdir-objects
20
21 AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include
22
23 EXTRA_DIST = \
24         Makefile.lite \
25         README \
26         getopt/Makefile.lite \
27         getopt/getopt_static.vcproj \
28         getopt/getopt_static.vcxproj \
29         getopt/getopt_static.vcxproj.filters \
30         grabbag/Makefile.lite \
31         grabbag/grabbag_static.vcproj \
32         grabbag/grabbag_static.vcxproj \
33         grabbag/grabbag_static.vcxproj.filters \
34         replaygain_analysis/Makefile.lite \
35         replaygain_analysis/replaygain_analysis_static.vcproj \
36         replaygain_analysis/replaygain_analysis_static.vcxproj \
37         replaygain_analysis/replaygain_analysis_static.vcxproj.filters \
38         replaygain_synthesis/Makefile.lite \
39         replaygain_synthesis/replaygain_synthesis_static.vcproj \
40         replaygain_synthesis/replaygain_synthesis_static.vcxproj \
41         replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters \
42         utf8/Makefile.lite \
43         utf8/charmaps.h \
44         utf8/makemap.c \
45         utf8/charset_test.c \
46         utf8/utf8_static.vcproj \
47         utf8/utf8_static.vcxproj \
48         utf8/utf8_static.vcxproj.filters \
49         win_utf8_io/Makefile.lite \
50         win_utf8_io/win_utf8_io_static.vcproj \
51         win_utf8_io/win_utf8_io_static.vcxproj \
52         win_utf8_io/win_utf8_io_static.vcxproj.filters
53
54
55 noinst_LTLIBRARIES = \
56         getopt/libgetopt.la \
57         grabbag/libgrabbag.la \
58         utf8/libutf8.la \
59         $(libwin_utf8_io) \
60         replaygain_analysis/libreplaygain_analysis.la \
61         replaygain_synthesis/libreplaygain_synthesis.la
62
63
64 if OS_IS_WINDOWS
65 win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c
66 libwin_utf8_io = win_utf8_io/libwin_utf8_io.la
67 win_utf8_io_libwin_utf8_io_la_LIBADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
68 else
69 win_utf8_io_libwin_utf8_io_la_SOURCES =
70 libwin_utf8_io =
71 endif
72
73 getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
74
75 grabbag_libgrabbag_la_SOURCES = \
76         grabbag/alloc.c \
77         grabbag/cuesheet.c \
78         grabbag/file.c \
79         grabbag/picture.c \
80         grabbag/replaygain.c \
81         grabbag/seektable.c \
82         grabbag/snprintf.c
83
84 utf8_libutf8_la_SOURCES = \
85         utf8/charset.c \
86         utf8/charset.h \
87         utf8/iconvert.c \
88         utf8/iconvert.h \
89         utf8/utf8.c
90
91 replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
92
93 replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
94 replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
95
96 debug:
97         $(MAKE) all CFLAGS="@DEBUG@"
98
99 profile:
100         $(MAKE) all CFLAGS="@PROFILE@"