changeset 6399:0a3a5109cfb6 libavcodec

compile various fdct only when encoders are enabled
author aurel
date Mon, 25 Feb 2008 21:43:19 +0000
parents 0a50abd54b7f
children a1d0b3a421f6
files Makefile
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Feb 25 14:59:04 2008 +0000
+++ b/Makefile	Mon Feb 25 21:43:19 2008 +0000
@@ -13,11 +13,8 @@
        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 @@
 
 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