aboutsummaryrefslogtreecommitdiffhomepage
path: root/mp3lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib/Makefile')
-rw-r--r--mp3lib/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile
index 93ec70881c..fd93e64e92 100644
--- a/mp3lib/Makefile
+++ b/mp3lib/Makefile
@@ -1,22 +1,22 @@
include ../config.mak
-LIBNAME = libMP3.a
+LIBNAME_COMMON = libMP3.a
ifeq ($(TARGET_ARCH_SGI_MIPS),yes)
OPTFLAGS := $(OPTFLAGS:-O4=-O0)
endif
-SRCS = sr1.c
+SRCS_COMMON = sr1.c
ifeq ($(TARGET_ARCH_X86_32),yes)
-SRCS += decode_i586.c
-SRCS-$(TARGET_MMX) += decode_MMX.c dct64_MMX.c tabinit_MMX.c
-SRCS-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
-SRCS-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
-SRCS-$(TARGET_SSE) += dct64_sse.c
+SRCS_COMMON += decode_i586.c
+SRCS_COMMON-$(TARGET_MMX) += decode_MMX.c dct64_MMX.c tabinit_MMX.c
+SRCS_COMMON-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
+SRCS_COMMON-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
+SRCS_COMMON-$(TARGET_SSE) += dct64_sse.c
endif
ifeq ($(TARGET_ALTIVEC),yes)
-SRCS += dct64_altivec.c
+SRCS_COMMON += dct64_altivec.c
ifeq ($(TARGET_OS),Darwin)
CFLAGS += -faltivec
else
@@ -29,7 +29,7 @@ include ../mpcommon.mak
decode_i586.o: decode_i586.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $<
-%: %.c $(LIBNAME) ../mp_msg-mencoder.o ../cpudetect.o
+%: %.c $(LIBNAME_COMMON) ../mp_msg-mencoder.o ../cpudetect.o
$(CC) $(CFLAGS) -o $@ ../libvo/aclib.c $^ -lm
distclean::