mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
+3
-12
@@ -1,7 +1,5 @@
|
||||
include ../config.mak
|
||||
|
||||
CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
|
||||
|
||||
OBJS = allfilters.o \
|
||||
avfilter.o \
|
||||
defaults.o \
|
||||
@@ -11,17 +9,10 @@ OBJS = allfilters.o \
|
||||
|
||||
HEADERS = avfilter.h
|
||||
|
||||
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
|
||||
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||
FFLIBS = avcodec avutil
|
||||
|
||||
ifeq ($(CONFIG_SWSCALER),yes)
|
||||
EXTRALIBS+=-L$(BUILD_ROOT)/libswscale
|
||||
EXTRALIBS+=-lswscale$(BUILDSUF)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
|
||||
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
|
||||
endif
|
||||
FFLIBS-$(CONFIG_SWSCALER) += swscale
|
||||
FFLIBS-$(CONFIG_AVFILTER_LAVF) += avformat
|
||||
|
||||
NAME=avfilter
|
||||
LIBVERSION=$(LAVFIVERSION)
|
||||
|
||||
Reference in New Issue
Block a user