add Makefile.lite, Makefile.vc, etc. to EXTRA_DIST
[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 m4datadir = $(datadir)/aclocal
38 m4data_DATA = libFLAC.m4
39
40 EXTRA_DIST = \
41         Makefile.lite \
42         Makefile.vc \
43         libFLAC.m4
44
45 # see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention
46 libFLAC_la_LDFLAGS = -version-info 3:1:0
47
48 libFLAC_la_SOURCES = \
49         bitbuffer.c \
50         bitmath.c \
51         cpu.c \
52         crc.c \
53         file_decoder.c \
54         fixed.c \
55         format.c \
56         lpc.c \
57         md5.c \
58         memory.c \
59         metadata_iterators.c \
60         metadata_object.c \
61         seekable_stream_decoder.c \
62         stream_decoder.c \
63         stream_encoder.c \
64         stream_encoder_framing.c