add asm routines

This commit is contained in:
Josh Coalson
2001-05-23 20:58:14 +00:00
parent cf30f50db1
commit e02e8babf2
2 changed files with 48 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
# GNU makefile
#
SUFFIXES = .nasm
.nasm.o:
$(NASM) -f elf -d ELF -i i386/ $< -o $@
lib_LTLIBRARIES = libFLAC.la
if DEBUG
CFLAGS += @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS -DFLAC__OVERFLOW_DETECT
@@ -9,10 +13,31 @@ else
CFLAGS = @CFLAGS@ -DFLAC__PRECOMPUTE_PARTITION_SUMS
endif
if FLaC__CPU_IA32
if FLaC__HAS_NASM
libFLAC_la_SOURCES = \
bitbuffer.c \
bitmath.c \
crc.c \
cpu.c \
encoder.c \
encoder_framing.c \
file_decoder.c \
fixed.c \
format.c \
lpc.c \
md5.c \
seek_table.c \
stream_decoder.c \
i386/cpu_asm.nasm \
i386/fixed_asm.nasm \
i386/lpc_asm.nasm
else
libFLAC_la_SOURCES = \
bitbuffer.c \
bitmath.c \
crc.c \
cpu.c \
encoder.c \
encoder_framing.c \
file_decoder.c \
@@ -22,3 +47,20 @@ libFLAC_la_SOURCES = \
md5.c \
seek_table.c \
stream_decoder.c
endif
else
libFLAC_la_SOURCES = \
bitbuffer.c \
bitmath.c \
crc.c \
cpu.c \
encoder.c \
encoder_framing.c \
file_decoder.c \
fixed.c \
format.c \
lpc.c \
md5.c \
seek_table.c \
stream_decoder.c
endif