diff Makefile @ 3558:33d29a80bcac libavcodec

Enable swscale usage in ffmpeg
author lucabe
date Tue, 08 Aug 2006 18:51:38 +0000
parents f52e3f60481b
children 5be5a936c8a9
line wrap: on
line diff
--- a/Makefile	Tue Aug 08 12:03:51 2006 +0000
+++ b/Makefile	Tue Aug 08 18:51:38 2006 +0000
@@ -11,7 +11,7 @@
 OBJS= bitstream.o utils.o allcodecs.o \
       mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\
       mjpeg.o resample.o resample2.o dsputil.o \
-      motion_est.o imgconvert.o imgresample.o \
+      motion_est.o imgconvert.o \
       mpeg12.o mpegaudiodec.o simple_idct.o \
       ratecontrol.o eval.o error_resilience.o \
       fft.o mdct.o raw.o golomb.o cabac.o\
@@ -22,6 +22,9 @@
 
 
 HEADERS = avcodec.h
+ifneq ($(CONFIG_SWSCALER),yes)
+HEADERS += swscale.h
+endif
 
 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o
 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o
@@ -277,6 +280,10 @@
 
 OBJS-$(HAVE_XVMC_ACCEL)                += xvmcvideo.o
 
+ifneq ($(CONFIG_SWSCALER),yes)
+OBJS += imgresample.o
+endif
+
 # i386 mmx specific stuff
 ifeq ($(TARGET_MMX),yes)
 OBJS += i386/fdct_mmx.o i386/cputest.o \