aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-11-22 09:20:16 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-22 09:20:16 +0000
commit8cff89be435cf1be10ffdb0674731dce078e89c7 (patch)
tree3a96f9e1b1b308c7ec2a9bc45e740fc655af795a /libavcodec/Makefile
parent1e25a7e7ebb55516d522a8ab1c4b7938b5060fe5 (diff)
downloadffmpeg-8cff89be435cf1be10ffdb0674731dce078e89c7.tar.gz
Conditionally compile some of the AltiVec optimizations.
Originally committed as revision 7154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index e7391798d5..03c1ae43dc 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -388,11 +388,15 @@ OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \
ppc/fft_altivec.o \
ppc/gmc_altivec.o \
ppc/fdct_altivec.o \
- ppc/h264_altivec.o \
- ppc/snow_altivec.o \
- ppc/vc1dsp_altivec.o \
ppc/float_altivec.o \
+ifeq ($(TARGET_ALTIVEC),yes)
+OBJS-$(CONFIG_H264_DECODER) += ppc/h264_altivec.o
+OBJS-$(CONFIG_SNOW_DECODER) += ppc/snow_altivec.o
+OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o
+OBJS-$(CONFIG_WMV3_DECODER) += ppc/vc1dsp_altivec.o
+endif
+
OBJS-$(TARGET_ARCH_BFIN) += bfin/dsputil_bfin.o \
CFLAGS += $(CFLAGS-yes)