[FFmpeg-cvslog] r16456 - trunk/libavcodec/Makefile

aurel subversion
Tue Jan 6 23:01:57 CET 2009


Author: aurel
Date: Tue Jan  6 23:01:57 2009
New Revision: 16456

Log:
ensure that no GPL code is linked to LGPL only libavcodec

Modified:
   trunk/libavcodec/Makefile

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	Tue Jan  6 19:58:18 2009	(r16455)
+++ trunk/libavcodec/Makefile	Tue Jan  6 23:01:57 2009	(r16456)
@@ -393,6 +393,9 @@ OBJS-$(HAVE_PTHREADS)                  +
 OBJS-$(HAVE_W32THREADS)                += w32thread.o
 
 # processor-specific code
+YASM-OBJS-$(CONFIG_GPL)                += x86/h264_deblock_sse2.o       \
+                                          x86/h264_idct_sse2.o          \
+
 MMX-OBJS-$(CONFIG_CAVS_DECODER)        += x86/cavsdsp_mmx.o
 MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o
 MMX-OBJS-$(CONFIG_FLAC_ENCODER)        += x86/flacdsp_mmx.o
@@ -407,8 +410,7 @@ MMX-OBJS-$(CONFIG_VP6A_DECODER)        +
 MMX-OBJS-$(CONFIG_VP6F_DECODER)        += x86/vp3dsp_mmx.o x86/vp3dsp_sse2.o
 MMX-OBJS-$(CONFIG_WMV3_DECODER)        += x86/vc1dsp_mmx.o
 MMX-OBJS-$(HAVE_YASM)                  += x86/dsputil_yasm.o            \
-                                          x86/h264_deblock_sse2.o       \
-                                          x86/h264_idct_sse2.o          \
+                                          $(YASM-OBJS-yes)
 
 OBJS-$(HAVE_MMX)                       += x86/cpuid.o                   \
                                           x86/dnxhd_mmx.o               \




More information about the ffmpeg-cvslog mailing list