Fix all instances of '#if HAVE_CONFIG_H'.
[flac.git] / src / share / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2002-2009  Josh Coalson
3 #  Copyright (C) 2011-2013  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 -I$(top_srcdir)/include/share
22
23 EXTRA_DIST = \
24         Makefile.lite \
25         README \
26         getopt/Makefile.lite \
27         getopt/getopt_static.vcproj \
28         grabbag/Makefile.lite \
29         grabbag/grabbag_static.vcproj \
30         replaygain_analysis/Makefile.lite \
31         replaygain_analysis/replaygain_analysis_static.vcproj \
32         replaygain_synthesis/Makefile.lite \
33         replaygain_synthesis/replaygain_synthesis_static.vcproj \
34         replaygain_synthesis/include/private/fast_float_math_hack.h \
35         utf8/Makefile.lite \
36         utf8/charmaps.h \
37         utf8/makemap.c \
38         utf8/charset_test.c \
39         utf8/charsetmap.h \
40         utf8/iconvert.h \
41         utf8/utf8_static.vcproj \
42         win_utf8_io/win_utf8_io_static.vcproj
43
44
45 noinst_LTLIBRARIES = \
46         getopt/libgetopt.la \
47         grabbag/libgrabbag.la \
48         utf8/libutf8.la \
49         $(libwin_utf8_io) \
50         replaygain_analysis/libreplaygain_analysis.la \
51         replaygain_synthesis/libreplaygain_synthesis.la
52
53
54 if OS_IS_WINDOWS
55 win_utf8_io_libwin_utf8_io_la_SOURCES = win_utf8_io/win_utf8_io.c
56 libwin_utf8_io = win_utf8_io/libwin_utf8_io.la
57 else
58 win_utf8_io_libwin_utf8_io_la_SOURCES =
59 libwin_utf8_io =
60 endif
61
62
63 getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
64
65 grabbag_libgrabbag_la_SOURCES = \
66         grabbag/alloc.c \
67         grabbag/cuesheet.c \
68         grabbag/file.c \
69         grabbag/picture.c \
70         grabbag/replaygain.c \
71         grabbag/seektable.c \
72         grabbag/snprintf.c
73
74 utf8_libutf8_la_SOURCES = \
75         utf8/charset.c \
76         utf8/charset.h \
77         utf8/iconvert.c \
78         utf8/utf8.c
79
80 replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
81
82 replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
83 replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
84
85 debug:
86         $(MAKE) all CFLAGS="@DEBUG@"
87
88 profile:
89         $(MAKE) all CFLAGS="@PROFILE@"