# HG changeset patch # User iive # Date 1059261690 0 # Node ID ed8a6c3bc4db3a91845d6304acfe71b89ebb3725 # Parent f23bc5ffb3745f68b661e9865d1e5389a5677d6b compile xvmc only when requested diff -r f23bc5ffb374 -r ed8a6c3bc4db Makefile --- a/Makefile Sat Jul 26 01:52:06 2003 +0000 +++ b/Makefile Sat Jul 26 23:21:30 2003 +0000 @@ -14,7 +14,7 @@ mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o \ motion_est.o imgconvert.o imgresample.o \ - mpeg12.o xvmcvideo.o mpegaudiodec.o pcm.o simple_idct.o \ + mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \ ratecontrol.o adpcm.o eval.o dv.o error_resilience.o \ fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o \ vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o @@ -38,6 +38,10 @@ OBJS+= h263.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o endif +ifeq ($(HAVE_XVMC_ACCEL),yes) +OBJS+= xvmcvideo.o +endif + # currently using liba52 for ac3 decoding ifeq ($(CONFIG_AC3),yes) OBJS+= a52dec.o