Allow disabling of lavc, lavf, lavd, and lsws

Originally committed as revision 21468 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 15 years ago
parent 16e5e39ab4
commit 5a0f713118
  1. 6
      Makefile
  2. 22
      configure

@ -20,10 +20,14 @@ ALLPROGS = $(addsuffix $(EXESUF), $(BASENAMES))
ALLPROGS_G = $(addsuffix _g$(EXESUF), $(BASENAMES)) ALLPROGS_G = $(addsuffix _g$(EXESUF), $(BASENAMES))
ALLMANPAGES = $(addsuffix .1, $(BASENAMES)) ALLMANPAGES = $(addsuffix .1, $(BASENAMES))
FFLIBS-$(CONFIG_AVCODEC) += avcodec
FFLIBS-$(CONFIG_AVDEVICE) += avdevice
FFLIBS-$(CONFIG_AVFILTER) += avfilter FFLIBS-$(CONFIG_AVFILTER) += avfilter
FFLIBS-$(CONFIG_AVFORMAT) += avformat
FFLIBS-$(CONFIG_POSTPROC) += postproc FFLIBS-$(CONFIG_POSTPROC) += postproc
FFLIBS-$(CONFIG_SWSCALE) += swscale
FFLIBS := avdevice avformat avcodec avutil swscale FFLIBS := avutil
DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset) DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset)

22
configure vendored

@ -83,6 +83,10 @@ Configuration options:
--disable-ffmpeg disable ffmpeg build --disable-ffmpeg disable ffmpeg build
--disable-ffplay disable ffplay build --disable-ffplay disable ffplay build
--disable-ffserver disable ffserver build --disable-ffserver disable ffserver build
--disable-avdevice disable libavdevice build
--disable-avcodec disable libavcodec build
--disable-avformat disable libavformat build
--disable-swscale disable libswscale build
--enable-postproc enable GPLed postprocessing support [no] --enable-postproc enable GPLed postprocessing support [no]
--enable-avfilter video filter support [no] --enable-avfilter video filter support [no]
--enable-avfilter-lavf video filters dependent on avformat [no] --enable-avfilter-lavf video filters dependent on avformat [no]
@ -858,8 +862,11 @@ COMPONENT_LIST="
CONFIG_LIST=" CONFIG_LIST="
$COMPONENT_LIST $COMPONENT_LIST
aandct aandct
avcodec
avdevice
avfilter avfilter
avfilter_lavf avfilter_lavf
avformat
avisynth avisynth
beos_netserver beos_netserver
bzlib bzlib
@ -908,6 +915,7 @@ CONFIG_LIST="
shared shared
small small
static static
swscale
swscale_alpha swscale_alpha
vaapi vaapi
vdpau vdpau
@ -1348,10 +1356,16 @@ udp_protocol_deps="network"
# filters # filters
movie_filter_deps="avfilter_lavf" movie_filter_deps="avfilter_lavf"
avfilter_lavf_deps="avformat"
# libraries
avdevice_deps="avcodec avformat"
avformat_deps="avcodec"
# programs # programs
ffplay_deps="sdl" ffmpeg_deps="avcodec avformat swscale"
ffserver_deps="ffm_muxer rtp_protocol rtsp_demuxer" ffplay_deps="avcodec avformat swscale sdl"
ffserver_deps="avformat ffm_muxer rtp_protocol rtsp_demuxer"
ffserver_extralibs='$ldl' ffserver_extralibs='$ldl'
doc_deps="texi2html" doc_deps="texi2html"
@ -1392,6 +1406,9 @@ target_os=$(tolower $(uname -s))
host_os=$target_os host_os=$target_os
# configurable options # configurable options
enable avcodec
enable avdevice
enable avformat
enable asm enable asm
enable debug enable debug
enable doc enable doc
@ -1405,6 +1422,7 @@ enable optimizations
enable protocols enable protocols
enable static enable static
enable stripping enable stripping
enable swscale
enable swscale_alpha enable swscale_alpha
# build settings # build settings

Loading…
Cancel
Save