[MPlayer-cvslog] r19136 - trunk/mp3lib/Makefile
rfelker
subversion at mplayerhq.hu
Wed Jul 19 07:27:02 CEST 2006
Author: rfelker
Date: Wed Jul 19 07:27:02 2006
New Revision: 19136
Modified:
trunk/mp3lib/Makefile
Log:
do not compile mmx/sse/3dnow code if not available
Modified: trunk/mp3lib/Makefile
==============================================================================
--- trunk/mp3lib/Makefile (original)
+++ trunk/mp3lib/Makefile Wed Jul 19 07:27:02 2006
@@ -11,12 +11,22 @@
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)
More information about the MPlayer-cvslog
mailing list