Makefile.lite 1.65 KB
Newer Older
1
#  libFLAC - Free Lossless Audio Codec library
2
#  Copyright (C) 2001,2002  Josh Coalson
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  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.

Josh Coalson's avatar
Josh Coalson committed
19
20
21
22
23
#
# GNU makefile
#

LIB_NAME  = libFLAC
Josh Coalson's avatar
Josh Coalson committed
24
25
26
ifeq ($(DARWIN_BUILD),yes)
DEFINES = -DFLAC__NO_NASM -DFLAC__ALIGN_MALLOC_DATA
else
Josh Coalson's avatar
Josh Coalson committed
27
28
29
ifeq ($(SOLARIS_BUILD),yes)
DEFINES = -DFLAC__NO_NASM -DFLAC__ALIGN_MALLOC_DATA
else
Josh Coalson's avatar
Josh Coalson committed
30
DEFINES = -DFLAC__CPU_IA32 -DFLAC__HAS_NASM -DFLAC__ALIGN_MALLOC_DATA
Josh Coalson's avatar
Josh Coalson committed
31
endif
Josh Coalson's avatar
Josh Coalson committed
32
endif
33
INCLUDES  = -I./include -I../../include
Josh Coalson's avatar
Josh Coalson committed
34
DEBUG_CFLAGS = -DFLAC__OVERFLOW_DETECT
Josh Coalson's avatar
Josh Coalson committed
35

Josh Coalson's avatar
Josh Coalson committed
36
37
ifeq ($(DARWIN_BUILD),yes)
else
Josh Coalson's avatar
Josh Coalson committed
38
39
ifeq ($(SOLARIS_BUILD),yes)
else
Josh Coalson's avatar
Josh Coalson committed
40
41
42
43
44
ASM_OBJS = \
	ia32/cpu_asm.o \
	ia32/fixed_asm.o \
	ia32/lpc_asm.o
endif
Josh Coalson's avatar
Josh Coalson committed
45
endif
Josh Coalson's avatar
Josh Coalson committed
46
47

OBJS = $(ASM_OBJS) \
Josh Coalson's avatar
Josh Coalson committed
48
	bitbuffer.o \
Josh Coalson's avatar
Josh Coalson committed
49
	bitmath.o \
Josh Coalson's avatar
Josh Coalson committed
50
	cpu.o \
Josh Coalson's avatar
Josh Coalson committed
51
52
53
54
55
	crc.o \
	file_decoder.o \
	fixed.o \
	format.o \
	lpc.o \
Josh Coalson's avatar
Josh Coalson committed
56
	md5.o \
Josh Coalson's avatar
Josh Coalson committed
57
	memory.o \
Josh Coalson's avatar
Josh Coalson committed
58
	seek_table.o \
59
	seekable_stream_decoder.o \
Josh Coalson's avatar
Josh Coalson committed
60
	stream_decoder.o \
61
62
	stream_encoder.o \
	stream_encoder_framing.o \
Josh Coalson's avatar
Josh Coalson committed
63
	utility.o
Josh Coalson's avatar
Josh Coalson committed
64
65
66
67

include ../../build/lib.mk

# DO NOT DELETE THIS LINE -- make depend depends on it.