Revision f7679c54 Makefile

View differences:

Makefile
8 8

  
9 9
CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
10 10
       -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libswscale \
11
       -I$(SRC_PATH)/libavdevice \
11
       -I$(SRC_PATH)/libavdevice -I$(SRC_PATH)/libavfilter \
12 12
       -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H
13 13
LDFLAGS+= -g
14 14

  
......
69 69
EXTRALIBS+=-lswscale$(BUILDSUF)
70 70
endif
71 71

  
72
ifeq ($(CONFIG_AVFILTER),yes)
73
LDFLAGS+=-L$(BUILD_ROOT)/libavfilter
74
EXTRALIBS := -lavfilter$(BUILDSUF) $(EXTRALIBS)
75
endif
76

  
72 77
MAKE-yes = $(MAKE)
73 78
MAKE-    = : $(MAKE)
74 79

  
......
81 86
	$(MAKE)                    -C libavdevice all
82 87
	$(MAKE-$(CONFIG_PP))       -C libpostproc all
83 88
	$(MAKE-$(CONFIG_SWSCALER)) -C libswscale  all
89
	$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter all
84 90

  
85 91
ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs
86 92
	$(CC) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(EXTRALIBS)
......
174 180
	$(MAKE)              -C libavdevice install-headers
175 181
	$(MAKE-$(CONFIG_PP)) -C libpostproc install-headers
176 182
	$(MAKE)              -C libswscale  install-headers
183
	$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter install-headers
177 184

  
178 185
uninstall: uninstall-progs uninstall-libs uninstall-headers uninstall-man uninstall-vhook
179 186

  
......
194 201
	$(MAKE) -C libavdevice uninstall-libs
195 202
	$(MAKE) -C libpostproc uninstall-libs
196 203
	$(MAKE) -C libswscale  uninstall-libs
204
	$(MAKE) -C libavfilter uninstall-libs
197 205

  
198 206
uninstall-headers:
199 207
	$(MAKE) -C libavutil   uninstall-headers
......
202 210
	$(MAKE) -C libavdevice uninstall-headers
203 211
	$(MAKE) -C libpostproc uninstall-headers
204 212
	$(MAKE) -C libswscale  uninstall-headers
213
	$(MAKE) -C libavfilter uninstall-headers
205 214
	-rmdir "$(INCDIR)"
206 215

  
207 216
depend dep: .depend .vhookdep
......
211 220
	$(MAKE)                    -C libavdevice depend
212 221
	$(MAKE-$(CONFIG_PP))       -C libpostproc depend
213 222
	$(MAKE-$(CONFIG_SWSCALER)) -C libswscale  depend
223
	$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
214 224

  
215 225
.depend: $(SRCS) version.h
216 226
	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
......
231 241
	$(MAKE) -C libavdevice clean
232 242
	$(MAKE) -C libpostproc clean
233 243
	$(MAKE) -C libswscale  clean
244
	$(MAKE) -C libavfilter clean
234 245
	rm -f *.o *~ .libs gmon.out TAGS $(ALLPROGS) $(ALLPROGS_G) \
235 246
	   output_example$(EXESUF)
236 247
	rm -f doc/*.html doc/*.pod doc/*.1
......
246 257
	$(MAKE) -C libavdevice distclean
247 258
	$(MAKE) -C libpostproc distclean
248 259
	$(MAKE) -C libswscale  distclean
260
	$(MAKE) -C libavfilter distclean
249 261
	rm -f .depend .vhookdep version.h config.* *.pc
250 262

  
251 263
TAGS:

Also available in: Unified diff