blob: 4717598db81980aa5f5a3949f4eed04235b72ee2 [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# libFLAC - Free Lossless Audio Codec library
Josh Coalsonafae69f2003-01-02 07:03:16 +00002# Copyright (C) 2001,2002,2003 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
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
Josh Coalson9f429ba2001-01-19 22:39:39 +000019lib_LTLIBRARIES = libFLAC.la
20if DEBUG
Josh Coalson4e003c62001-10-19 18:24:33 +000021DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
Josh Coalson9f429ba2001-01-19 22:39:39 +000022endif
Josh Coalsonfc701472002-10-16 22:06:04 +000023CFLAGS = @CFLAGS@ $(DEBUGCFLAGS)
Josh Coalson9f429ba2001-01-19 22:39:39 +000024
Josh Coalsonc8ef8352001-05-25 00:06:33 +000025if FLaC__NO_ASM
26else
Josh Coalsoncd66fc02001-06-18 02:34:09 +000027if FLaC__CPU_IA32
Josh Coalsone02e8ba2001-05-23 20:58:14 +000028if FLaC__HAS_NASM
Josh Coalson4c8f73a2001-07-22 07:27:45 +000029ARCH_SUBDIRS = ia32
30libFLAC_la_LIBADD = ia32/libFLAC-asm.la
Josh Coalsonc8ef8352001-05-25 00:06:33 +000031endif
32endif
33endif
34
Josh Coalson4c8f73a2001-07-22 07:27:45 +000035SUBDIRS = $(ARCH_SUBDIRS) include .
36
Josh Coalsonbfeec742002-06-28 23:45:53 +000037m4datadir = $(datadir)/aclocal
38m4data_DATA = libFLAC.m4
39
Josh Coalsoncd443f62002-07-09 06:27:07 +000040EXTRA_DIST = \
41 Makefile.lite \
42 Makefile.vc \
Josh Coalsonbfc8e312002-11-21 09:00:25 +000043 libFLAC_dynamic.dsp \
44 libFLAC_static.dsp \
Josh Coalsoncd443f62002-07-09 06:27:07 +000045 libFLAC.m4
Josh Coalsonbfeec742002-06-28 23:45:53 +000046
Josh Coalson57ba6f42002-06-07 05:27:37 +000047# see 'http://www.gnu.org/software/libtool/manual.html#Versioning' for numbering convention
Josh Coalsonad017c62003-01-15 07:04:43 +000048libFLAC_la_LDFLAGS = -version-info 5:1:1
Josh Coalson522f7d32001-07-16 18:10:19 +000049
Josh Coalson9f429ba2001-01-19 22:39:39 +000050libFLAC_la_SOURCES = \
51 bitbuffer.c \
Josh Coalson673976d2001-03-30 00:45:52 +000052 bitmath.c \
Josh Coalsone02e8ba2001-05-23 20:58:14 +000053 cpu.c \
Josh Coalsonc8ef8352001-05-25 00:06:33 +000054 crc.c \
Josh Coalsone02e8ba2001-05-23 20:58:14 +000055 file_decoder.c \
Josh Coalsonf1eff452002-07-31 07:05:33 +000056 file_encoder.c \
Josh Coalsone02e8ba2001-05-23 20:58:14 +000057 fixed.c \
58 format.c \
59 lpc.c \
60 md5.c \
Josh Coalsonc8ef8352001-05-25 00:06:33 +000061 memory.c \
Josh Coalson90ced912002-05-30 05:23:38 +000062 metadata_iterators.c \
63 metadata_object.c \
Josh Coalsondbd84c42001-11-08 23:59:22 +000064 seekable_stream_decoder.c \
Josh Coalsonf1eff452002-07-31 07:05:33 +000065 seekable_stream_encoder.c \
Josh Coalson0a15c142001-06-13 17:59:57 +000066 stream_decoder.c \
67 stream_encoder.c \
Josh Coalson036f9032002-05-04 17:36:13 +000068 stream_encoder_framing.c