Use recursive automake in src/share/ part of tree.
[platform/upstream/flac.git] / src / share / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
3 #
4 #  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.
12 #
13 #  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.
17
18 AUTOMAKE_OPTIONS = subdir-objects
19
20 AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include -I$(top_srcdir)/include/share
21
22 EXTRA_DIST = \
23         Makefile.lite \
24         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
44 noinst_LTLIBRARIES = \
45         getopt/libgetopt.la \
46         grabbag/libgrabbag.la \
47         utf8/libutf8.la \
48         replaygain_analysis/libreplaygain_analysis.la \
49         replaygain_synthesis/libreplaygain_synthesis.la
50
51
52 getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c
53
54 grabbag_libgrabbag_la_SOURCES = \
55         grabbag/alloc.c \
56         grabbag/cuesheet.c \
57         grabbag/file.c \
58         grabbag/picture.c \
59         grabbag/replaygain.c \
60         grabbag/seektable.c \
61         grabbag/snprintf.c
62
63 utf8_libutf8_la_SOURCES = \
64         utf8/charset.c \
65         utf8/charset.h \
66         utf8/iconvert.c \
67         utf8/utf8.c \
68         win_utf8_io/win_utf8_io.c
69
70 replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c
71
72 replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
73 replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c
74
75 debug:
76         $(MAKE) all CFLAGS="@DEBUG@"
77
78 profile:
79         $(MAKE) all CFLAGS="@PROFILE@"