view mp3lib/Makefile @ 24368:3fcafaf90457

Fix warnings: cfg-mplayer.h:9: warning: redundant redeclaration of 'noconsolecontrols' mplayer.c:191: warning: previous definition of 'noconsolecontrols' was here cfg-mplayer.h:22: warning: redundant redeclaration of 'volstep' mplayer.c:566: warning: previous definition of 'volstep' was here cfg-mplayer.h:37: warning: redundant redeclaration of 'osd_level' mplayer.c:235: warning: previous definition of 'osd_level' was here cfg-mplayer.h:82: warning: redundant redeclaration of 'use_filedir_conf' mplayer.c:370: warning: previous declaration of 'use_filedir_conf' was here
author voroshil
date Mon, 10 Sep 2007 01:07:21 +0000
parents f19f12214991
children 2095f98cf0fa
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = libmp3.a

SRCS_COMMON = sr1.c
SRCS_COMMON-$(HAVE_MMX)       += decode_MMX.c
SRCS_COMMON-$(HAVE_SSE)       += dct64_sse.c
ifeq ($(ARCH_X86_32),yes)
SRCS_COMMON                   += decode_i586.c
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
endif
SRCS_COMMON-$(HAVE_ALTIVEC)   += dct64_altivec.c

include ../mpcommon.mak

decode_i586.o: CFLAGS += -fomit-frame-pointer

%: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
	$(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm