aboutsummaryrefslogtreecommitdiff
path: root/deps/flac-1.3.2/src/share/Makefile.am
blob: 82d0fc96b76c3a74ee5b20c019730b98f741bd9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#  FLAC - Free Lossless Audio Codec
#  Copyright (C) 2002-2009  Josh Coalson
#  Copyright (C) 2011-2016  Xiph.Org Foundation
#
#  This file is part the FLAC project.  FLAC is comprised of several
#  components distributed under different licenses.  The codec libraries
#  are distributed under Xiph.Org's BSD-like license (see the file
#  COPYING.Xiph in this distribution).  All other programs, libraries, and
#  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
#  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
#  FLAC distribution contains at the top the terms under which it may be
#  distributed.
#
#  Since this particular file is relevant to all components of FLAC,
#  it may be distributed under the Xiph.Org license, which is the least
#  restrictive of those mentioned above.  See the file COPYING.Xiph in this
#  distribution.

AUTOMAKE_OPTIONS = subdir-objects

AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include

EXTRA_DIST = \
	Makefile.lite \
	README \
	getopt/Makefile.lite \
	getopt/getopt_static.vcproj \
	getopt/getopt_static.vcxproj \
	getopt/getopt_static.vcxproj.filters \
	grabbag/Makefile.lite \
	grabbag/grabbag_static.vcproj \
	grabbag/grabbag_static.vcxproj \
	grabbag/grabbag_static.vcxproj.filters \
	replaygain_analysis/Makefile.lite \
	replaygain_analysis/replaygain_analysis_static.vcproj \
	replaygain_analysis/replaygain_analysis_static.vcxproj \
	replaygain_analysis/replaygain_analysis_static.vcxproj.filters \
	replaygain_synthesis/Makefile.lite \
	replaygain_synthesis/replaygain_synthesis_static.vcproj \
	replaygain_synthesis/replaygain_synthesis_static.vcxproj \
	replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters \
	utf8/Makefile.lite \
	utf8/charmaps.h \
	utf8/makemap.c \
	utf8/charset_test.c \
	utf8/utf8_static.vcproj \
	utf8/utf8_static.vcxproj \
	utf8/utf8_static.vcxproj.filters \
	win_utf8_io/Makefile.lite \
	win_utf8_io/win_utf8_io_static.vcproj \
	win_utf8_io/win_utf8_io_static.vcxproj \
	win_utf8_io/win_utf8_io_static.vcxproj.filters


noinst_LTLIBRARIES = \
	getopt/libgetopt.la \
	grabbag/libgrabbag.la \
	utf8/libutf8.la \
	$(libwin_utf8_io) \
	replaygain_analysis/libreplaygain_analysis.la \
	replaygain_synthesis/libreplaygain_synthesis.la


if OS_IS_WINDOWS
win_utf8_io_libwin_utf8_io_la_SOURCES =	win_utf8_io/win_utf8_io.c
libwin_utf8_io = win_utf8_io/libwin_utf8_io.la
win_utf8_io_libwin_utf8_io_la_LIBADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
else
win_utf8_io_libwin_utf8_io_la_SOURCES =
libwin_utf8_io =
endif

getopt_libgetopt_la_SOURCES = getopt/getopt.c getopt/getopt1.c

grabbag_libgrabbag_la_SOURCES = \
	grabbag/alloc.c \
	grabbag/cuesheet.c \
	grabbag/file.c \
	grabbag/picture.c \
	grabbag/replaygain.c \
	grabbag/seektable.c \
	grabbag/snprintf.c

utf8_libutf8_la_SOURCES = \
	utf8/charset.c \
	utf8/charset.h \
	utf8/iconvert.c \
	utf8/iconvert.h \
	utf8/utf8.c

replaygain_analysis_libreplaygain_analysis_la_SOURCES = replaygain_analysis/replaygain_analysis.c

replaygain_synthesis_libreplaygain_synthesis_la_CFLAGS = -I $(top_srcdir)/src/share/replaygain_synthesis/include
replaygain_synthesis_libreplaygain_synthesis_la_SOURCES = replaygain_synthesis/replaygain_synthesis.c

debug:
	$(MAKE) all CFLAGS="@DEBUG@"

profile:
	$(MAKE) all CFLAGS="@PROFILE@"