aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-20 15:19:44 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-20 05:03:23 -0700
commit54a6e08a650a71fd375551585b0ea40a3a06d228 (patch)
tree0fbb863f56c6d9308f36255fc2c89a37339e2ba6 /libavcodec
parent5169e688956be3378adb3b16a93962fe0048f1c9 (diff)
downloadffmpeg-54a6e08a650a71fd375551585b0ea40a3a06d228.tar.gz
dsputil: Conditionally compile dsputil code on all architectures
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/bfin/Makefile16
-rw-r--r--libavcodec/ppc/Makefile8
2 files changed, 12 insertions, 12 deletions
diff --git a/libavcodec/bfin/Makefile b/libavcodec/bfin/Makefile
index 193f8e6700..efdcbfc69f 100644
--- a/libavcodec/bfin/Makefile
+++ b/libavcodec/bfin/Makefile
@@ -1,10 +1,10 @@
-OBJS += bfin/dsputil_init.o \
- bfin/dsputil.o \
- bfin/fdct_bfin.o \
- bfin/hpel_pixels_no_rnd.o \
- bfin/idct_bfin.o \
- bfin/pixels.o \
-
-OBJS-$(CONFIG_HPELDSP) += bfin/hpeldsp_init.o
+OBJS-$(CONFIG_DSPUTIL) += bfin/dsputil_init.o \
+ bfin/dsputil.o \
+ bfin/fdct_bfin.o \
+ bfin/idct_bfin.o \
+ bfin/pixels.o
+OBJS-$(CONFIG_HPELDSP) += bfin/hpeldsp_init.o \
+ bfin/hpel_pixels_no_rnd.o \
+ bfin/pixels.o
OBJS-$(CONFIG_VP3DSP) += bfin/vp3dsp_init.o \
bfin/vp3dsp.o
diff --git a/libavcodec/ppc/Makefile b/libavcodec/ppc/Makefile
index 71b23da10e..6656ffb985 100644
--- a/libavcodec/ppc/Makefile
+++ b/libavcodec/ppc/Makefile
@@ -1,7 +1,6 @@
-OBJS += ppc/dsputil_ppc.o \
- ppc/fmtconvert_altivec.o \
- ppc/videodsp_ppc.o \
+OBJS += ppc/fmtconvert_altivec.o \
+OBJS-$(CONFIG_DSPUTIL) += ppc/dsputil_ppc.o
OBJS-$(CONFIG_FFT) += ppc/fft_altivec.o
OBJS-$(CONFIG_H264CHROMA) += ppc/h264chroma_init.o
OBJS-$(CONFIG_H264DSP) += ppc/h264dsp.o
@@ -10,11 +9,12 @@ OBJS-$(CONFIG_HPELDSP) += ppc/hpeldsp_altivec.o
OBJS-$(CONFIG_MPEGAUDIODSP) += ppc/mpegaudiodsp_altivec.o
OBJS-$(CONFIG_MPEGVIDEO) += ppc/mpegvideo_altivec.o
OBJS-$(CONFIG_VC1_DECODER) += ppc/vc1dsp_altivec.o
+OBJS-$(CONFIG_VIDEODSP) += ppc/videodsp_ppc.o
OBJS-$(CONFIG_VORBIS_DECODER) += ppc/vorbisdsp_altivec.o
OBJS-$(CONFIG_VP3DSP) += ppc/vp3dsp_altivec.o
OBJS-$(CONFIG_VP8_DECODER) += ppc/vp8dsp_altivec.o
-ALTIVEC-OBJS += ppc/dsputil_altivec.o \
+ALTIVEC-OBJS-$(CONFIG_DSPUTIL) += ppc/dsputil_altivec.o \
ppc/fdct_altivec.o \
ppc/gmc_altivec.o \
ppc/idct_altivec.o \