Mercurial > mplayer.hg
view mp3lib/Makefile @ 25789:5cdba0d1c4cf
Allow overriding the codec_tag for audio codecs, and always override
codec_tag for PCM codecs (codec_id from lavf is correct, but the
codec_tag may be non-zero and wrong).
Also fixes bugzilla #983
author | rtogni |
---|---|
date | Sun, 20 Jan 2008 12:57:53 +0000 |
parents | 2095f98cf0fa |
children | d4f4ce3534c3 |
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