True conditional compilation
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 19:34:43 +0000 (19:34 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 19:34:43 +0000 (19:34 +0000)
Commited in SoC by Vitor Sessak on 2008-02-12 20:35:37

Originally committed as revision 11955 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/Makefile

index 272761f..c96e6d0 100644 (file)
@@ -2,29 +2,30 @@ include ../config.mak
 
 CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
 
-OBJS = avfilter.o \
+OBJS = allfilters.o \
+       avfilter.o \
        avfiltergraph.o \
        avfiltergraphdesc.o \
        defaults.o \
        formats.o \
+       avfiltergraphfile.o \
 
 # TODO: real conditional compilation
-OBJS-yes = vf_crop.o \
-           vf_fifo.o \
-           vf_fps.o \
-           vf_hflip.o \
-           vf_negate.o \
-           vf_format.o \
-           vf_overlay.o \
-           vf_rotate.o \
-           vf_scale.o \
-           vf_setpts.o \
-           vf_slicify.o \
-           vf_split.o \
-           vf_transpose.o \
-           vf_vflip.o \
-           avfiltergraphfile.o \
 
+
+OBJS-$(CONFIG_VF_CROP)       += vf_crop.o
+OBJS-$(CONFIG_VF_FPS)        += vf_fps.o
+OBJS-$(CONFIG_VF_HFLIP)      += vf_hflip.o
+OBJS-$(CONFIG_VF_NEGATE)     += vf_negate.o
+OBJS-$(CONFIG_VF_FORMAT)     += vf_format.o
+OBJS-$(CONFIG_VF_OVERLAY)    += vf_overlay.o
+OBJS-$(CONFIG_VF_ROTATE)     += vf_rotate.o
+OBJS-$(CONFIG_VF_SCALE)      += vf_scale.o
+OBJS-$(CONFIG_VF_SETPTS)     += vf_setpts.o
+OBJS-$(CONFIG_VF_SLICIFY)    += vf_slicify.o
+OBJS-$(CONFIG_VF_SPLIT)      += vf_split.o
+OBJS-$(CONFIG_VF_TRANSPOSE)  += vf_transpose.o
+OBJS-$(CONFIG_VF_VFLIP)      += vf_vflip.o
 OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
 
 HEADERS = avfilter.h