add memory.c, fix to work with i386 convenience library (thanks mdz)
[platform/upstream/flac.git] / src / libFLAC / Makefile.am
1 #
2 # GNU makefile
3 #
4
5 lib_LTLIBRARIES = libFLAC.la
6 if DEBUG
7 CFLAGS += @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS -DFLAC__OVERFLOW_DETECT
8 else
9 CFLAGS = @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS
10 endif
11
12 if FLaC__NO_ASM
13 else
14 if FLaC__CPU_IA32 
15 if FLaC__HAS_NASM
16 SUBDIRS = i386 .
17 libFLAC_la_LIBADD = i386/libFLAC-asm.la
18 endif
19 endif
20 endif
21
22 libFLAC_la_SOURCES = \
23         bitbuffer.c \
24         bitmath.c \
25         cpu.c \
26         crc.c \
27         encoder.c \
28         encoder_framing.c \
29         file_decoder.c \
30         fixed.c \
31         format.c \
32         lpc.c \
33         md5.c \
34         memory.c \
35         seek_table.c \
36         stream_decoder.c