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

aurel subversion
Mon Feb 25 22:43:19 CET 2008


Author: aurel
Date: Mon Feb 25 22:43:19 2008
New Revision: 12219

Log:
compile various fdct only when encoders are enabled

Modified:
   trunk/libavcodec/Makefile

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	(original)
+++ trunk/libavcodec/Makefile	Mon Feb 25 22:43:19 2008
@@ -13,11 +13,8 @@ OBJS = allcodecs.o \
        dsputil.o \
        error_resilience.o \
        eval.o \
-       faandct.o \
        imgconvert.o \
        jrevdct.o \
-       jfdctfst.o \
-       jfdctint.o\
        mpeg12.o \
        mpeg12data.o \
        mpegvideo.o \
@@ -32,6 +29,8 @@ OBJS = allcodecs.o \
 
 HEADERS = avcodec.h opt.h
 
+OBJS-$(CONFIG_ENCODERS)                += faandct.o jfdctfst.o jfdctint.o
+
 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o
 OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3tab.o ac3.o mdct.o fft.o
 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o




More information about the ffmpeg-cvslog mailing list