2001-07-03 07:50:52 +00:00
|
|
|
include ../config.mak
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2007-03-13 22:19:18 +00:00
|
|
|
LIBNAME_COMMON = libmp3.a
|
2006-11-26 18:12:36 +00:00
|
|
|
|
2007-03-13 12:10:57 +00:00
|
|
|
SRCS_COMMON = sr1.c
|
2007-06-08 14:38:25 +00:00
|
|
|
SRCS_COMMON-$(TARGET_MMX) += decode_MMX.c
|
|
|
|
SRCS_COMMON-$(TARGET_SSE) += dct64_sse.c
|
2006-11-01 18:19:02 +00:00
|
|
|
ifeq ($(TARGET_ARCH_X86_32),yes)
|
2007-03-13 21:55:23 +00:00
|
|
|
SRCS_COMMON += decode_i586.c
|
2007-06-08 14:38:25 +00:00
|
|
|
SRCS_COMMON-$(TARGET_MMX) += dct64_MMX.c
|
2007-03-13 12:10:57 +00:00
|
|
|
SRCS_COMMON-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
|
|
|
|
SRCS_COMMON-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
|
2001-07-03 07:50:52 +00:00
|
|
|
endif
|
2007-03-15 13:20:22 +00:00
|
|
|
SRCS_COMMON-$(TARGET_ALTIVEC) += dct64_altivec.c
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2006-11-26 18:12:36 +00:00
|
|
|
include ../mpcommon.mak
|
2001-02-24 20:28:24 +00:00
|
|
|
|
2007-03-15 16:49:59 +00:00
|
|
|
decode_i586.o: CFLAGS += -fomit-frame-pointer
|
2002-12-24 00:05:43 +00:00
|
|
|
|
2007-03-13 22:28:13 +00:00
|
|
|
%: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm
|