2001-06-08 00:13:21 +00:00
|
|
|
# libFLAC - Free Lossless Audio Codec library
|
2002-01-26 18:05:12 +00:00
|
|
|
# Copyright (C) 2001,2002 Josh Coalson
|
2001-06-08 00:13:21 +00:00
|
|
|
#
|
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU Library General Public
|
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
# Library General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
|
# License along with this library; if not, write to the
|
|
|
|
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
|
|
2000-12-10 04:09:52 +00:00
|
|
|
#
|
|
|
|
|
# GNU makefile
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
LIB_NAME = libFLAC
|
2001-12-07 19:28:25 +00:00
|
|
|
ifeq ($(DARWIN_BUILD),yes)
|
|
|
|
|
DEFINES = -DFLAC__NO_NASM -DFLAC__ALIGN_MALLOC_DATA
|
|
|
|
|
else
|
2001-07-12 21:28:55 +00:00
|
|
|
DEFINES = -DFLAC__CPU_IA32 -DFLAC__HAS_NASM -DFLAC__ALIGN_MALLOC_DATA
|
2001-12-07 19:28:25 +00:00
|
|
|
endif
|
2001-03-21 22:35:25 +00:00
|
|
|
INCLUDES = -I./include -I../../include
|
2001-04-24 22:54:07 +00:00
|
|
|
DEBUG_CFLAGS = -DFLAC__OVERFLOW_DETECT
|
2000-12-10 04:09:52 +00:00
|
|
|
|
2001-12-07 19:28:25 +00:00
|
|
|
ifeq ($(DARWIN_BUILD),yes)
|
|
|
|
|
else
|
|
|
|
|
ASM_OBJS = \
|
|
|
|
|
ia32/cpu_asm.o \
|
|
|
|
|
ia32/fixed_asm.o \
|
|
|
|
|
ia32/lpc_asm.o
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
OBJS = $(ASM_OBJS) \
|
2000-12-10 04:09:52 +00:00
|
|
|
bitbuffer.o \
|
2001-03-30 00:45:52 +00:00
|
|
|
bitmath.o \
|
2001-05-23 20:58:14 +00:00
|
|
|
cpu.o \
|
2000-12-10 04:09:52 +00:00
|
|
|
crc.o \
|
|
|
|
|
file_decoder.o \
|
|
|
|
|
fixed.o \
|
|
|
|
|
format.o \
|
|
|
|
|
lpc.o \
|
2001-01-12 23:58:30 +00:00
|
|
|
md5.o \
|
2001-05-11 23:54:49 +00:00
|
|
|
memory.o \
|
2001-04-13 18:57:20 +00:00
|
|
|
seek_table.o \
|
2001-11-08 23:59:22 +00:00
|
|
|
seekable_stream_decoder.o \
|
2001-05-23 20:58:14 +00:00
|
|
|
stream_decoder.o \
|
2001-06-13 17:59:57 +00:00
|
|
|
stream_encoder.o \
|
|
|
|
|
stream_encoder_framing.o \
|
2001-12-07 19:28:25 +00:00
|
|
|
utility.o
|
2000-12-10 04:09:52 +00:00
|
|
|
|
|
|
|
|
include ../../build/lib.mk
|
|
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|