view libfaad2/Makefile @ 22697:2fe9bd97a7f6

Fix configure -march detection for athlon-xp The configure script uses SSE support to distinguish between athlon and athlon-xp, but SSE support was tested _after_ deciding the basic CPU type. Thus athlon-xp was always misdetected as athlon. Fix this by moving the CPU extensions check before the CPU type check. Patch from Andrew Savchenko, bircoph list ru.
author uau
date Sun, 18 Mar 2007 13:38:55 +0000
parents 3945d813e573
children 5aa11f9ff625
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = libfaad2.a

SRCS_COMMON = bits.c \
              cfft.c \
              common.c \
              decoder.c \
              drc.c \
              drm_dec.c \
              error.c \
              filtbank.c \
              hcr.c \
              huffman.c \
              ic_predict.c \
              is.c \
              lt_predict.c \
              mdct.c \
              mp4.c \
              ms.c \
              output.c \
              pns.c \
              ps_dec.c \
              ps_syntax.c  \
              pulse.c \
              rvlc.c \
              sbr_dct.c \
              sbr_dec.c \
              sbr_e_nf.c \
              sbr_fbt.c \
              sbr_hfadj.c \
              sbr_hfgen.c \
              sbr_huff.c \
              sbr_qmf.c \
              sbr_syntax.c \
              sbr_tf_grid.c \
              specrec.c \
              ssr.c \
              ssr_fb.c \
              ssr_ipqf.c \
              syntax.c \
              tns.c \

CFLAGS  = -D_GNU_SOURCE

# The FIXED_POINT implementation of FAAD2 improves performance
# on some platforms, especially for SBR files.
CFLAGS-$(FAAD_FIXED)  += -DFIXED_POINT

include ../mpcommon.mak