massive glob of checkins: improved tests, more tests, bugfixes
[platform/upstream/flac.git] / src / libFLAC / Makefile.am
1 #  libFLAC - Free Lossless Audio Codec library
2 #  Copyright (C) 2001,2002  Josh Coalson
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Library General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2 of the License, or (at your option) any later version.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Library General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Library General Public
15 #  License along with this library; if not, write to the
16 #  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 #  Boston, MA  02111-1307, USA.
18
19 lib_LTLIBRARIES = libFLAC.la
20 if DEBUG
21 DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
22 endif
23 CFLAGS = @CFLAGS@ $(DEBUGCFLAGS)
24
25 if FLaC__NO_ASM
26 else
27 if FLaC__CPU_IA32
28 if FLaC__HAS_NASM
29 ARCH_SUBDIRS = ia32
30 libFLAC_la_LIBADD = ia32/libFLAC-asm.la
31 endif
32 endif
33 endif
34
35 SUBDIRS = $(ARCH_SUBDIRS) include .
36
37 # see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention
38 libFLAC_la_LDFLAGS = -version-info 3:0:0
39
40 libFLAC_la_SOURCES = \
41         bitbuffer.c \
42         bitmath.c \
43         cpu.c \
44         crc.c \
45         file_decoder.c \
46         fixed.c \
47         format.c \
48         lpc.c \
49         md5.c \
50         memory.c \
51         metadata_iterators.c \
52         metadata_object.c \
53         seekable_stream_decoder.c \
54         stream_decoder.c \
55         stream_encoder.c \
56         stream_encoder_framing.c