Mercurial > mplayer.hg
changeset 19131:078479215e54
do not compile mmx/sse/3dnow code if not available
author | rfelker |
---|---|
date | Wed, 19 Jul 2006 05:27:02 +0000 |
parents | 39d8fd7e7543 |
children | 0945c6e242c6 |
files | mp3lib/Makefile |
diffstat | 1 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3lib/Makefile Wed Jul 19 04:54:27 2006 +0000 +++ b/mp3lib/Makefile Wed Jul 19 05:27:02 2006 +0000 @@ -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)