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-27 23:11:21 +00:00
|
|
|
SRCS_COMMON-$(HAVE_MMX) += decode_MMX.c
|
|
|
|
SRCS_COMMON-$(HAVE_SSE) += dct64_sse.c
|
2007-06-16 15:24:39 +00:00
|
|
|
ifeq ($(ARCH_X86_32),yes)
|
2007-03-13 21:55:23 +00:00
|
|
|
SRCS_COMMON += decode_i586.c
|
2007-06-27 23:11:21 +00:00
|
|
|
SRCS_COMMON-$(HAVE_MMX) += dct64_MMX.c
|
|
|
|
SRCS_COMMON-$(HAVE_3DNOW) += dct36_3dnow.c dct64_3dnow.c
|
|
|
|
SRCS_COMMON-$(HAVE_3DNOWEX) += dct36_k7.c dct64_k7.c
|
2001-07-03 07:50:52 +00:00
|
|
|
endif
|
2007-06-27 23:11:21 +00:00
|
|
|
SRCS_COMMON-$(HAVE_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
|