[FFmpeg-cvslog] dsputil: Conditionally compile dsputil code on all architectures
Diego Biurrun
git at videolan.org
Thu Mar 20 22:18:47 CET 2014
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Dec 20 15:19:44 2013 +0100| [54a6e08a650a71fd375551585b0ea40a3a06d228] | committer: Diego Biurrun
dsputil: Conditionally compile dsputil code on all architectures
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54a6e08a650a71fd375551585b0ea40a3a06d228
---
libavcodec/bfin/Makefile | 16 ++++++++--------
libavcodec/ppc/Makefile | 8 ++++----
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/libavcodec/bfin/Makefile b/libavcodec/bfin/Makefile
index 193f8e6..efdcbfc 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 71b23da..6656ffb 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 \
More information about the ffmpeg-cvslog
mailing list