summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mp3lib/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile
index 8dd2185134..4676e1cf20 100644
--- a/mp3lib/Makefile
+++ b/mp3lib/Makefile
@@ -11,12 +11,22 @@ CFLAGS = -I.. $(OPTFLAGS)
ifeq ($(TARGET_ARCH_X86),yes)
SRCS += decode_i586.c
OBJS += decode_i586.o
+ifeq ($(TARGET_MMX),yes)
SRCS += decode_MMX.c dct64_MMX.c tabinit_MMX.c
OBJS += decode_MMX.o dct64_MMX.o tabinit_MMX.o
+endif
+ifeq ($(TARGET_3DNOW),yes)
SRCS += dct36_3dnow.c dct64_3dnow.c
OBJS += dct36_3dnow.o dct64_3dnow.o
-SRCS += dct36_k7.c dct64_k7.c dct64_sse.c
-OBJS += dct36_k7.o dct64_k7.o dct64_sse.o
+endif
+ifeq ($(TARGET_3DNOWEX),yes)
+SRCS += dct36_k7.c dct64_k7.c
+OBJS += dct36_k7.o dct64_k7.o
+endif
+ifeq ($(TARGET_SSE),yes)
+SRCS += dct64_sse.c
+OBJS += dct64_sse.o
+endif
endif
ifeq ($(TARGET_ARCH_POWERPC),yes)
ifeq ($(TARGET_ALTIVEC),yes)