blob: 1a7c935b7b3511e41ac00a7bcf98e7f07f753612 [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# libFLAC - Free Lossless Audio Codec library
2# Copyright (C) 2001 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
Josh Coalson9f429ba2001-01-19 22:39:39 +000019#
20# GNU makefile
21#
22
23lib_LTLIBRARIES = libFLAC.la
24if DEBUG
Josh Coalson6904e6a2001-05-03 00:49:27 +000025CFLAGS += @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS -DFLAC__OVERFLOW_DETECT
Josh Coalson9f429ba2001-01-19 22:39:39 +000026else
Josh Coalson6904e6a2001-05-03 00:49:27 +000027CFLAGS = @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS
Josh Coalson9f429ba2001-01-19 22:39:39 +000028endif
29
Josh Coalsonc8ef8352001-05-25 00:06:33 +000030if FLaC__NO_ASM
31else
Josh Coalsone02e8ba2001-05-23 20:58:14 +000032if FLaC__CPU_IA32
33if FLaC__HAS_NASM
Josh Coalsonc8ef8352001-05-25 00:06:33 +000034SUBDIRS = i386 .
35libFLAC_la_LIBADD = i386/libFLAC-asm.la
36endif
37endif
38endif
39
Josh Coalson9f429ba2001-01-19 22:39:39 +000040libFLAC_la_SOURCES = \
41 bitbuffer.c \
Josh Coalson673976d2001-03-30 00:45:52 +000042 bitmath.c \
Josh Coalsone02e8ba2001-05-23 20:58:14 +000043 cpu.c \
Josh Coalsonc8ef8352001-05-25 00:06:33 +000044 crc.c \
Josh Coalsone02e8ba2001-05-23 20:58:14 +000045 file_decoder.c \
46 fixed.c \
47 format.c \
48 lpc.c \
49 md5.c \
Josh Coalsonc8ef8352001-05-25 00:06:33 +000050 memory.c \
Josh Coalson5906c2d2001-04-13 18:57:20 +000051 seek_table.c \
Josh Coalson0a15c142001-06-13 17:59:57 +000052 stream_decoder.c \
53 stream_encoder.c \
54 stream_encoder_framing.c