mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Makefile: simplify setting of some variables
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
d08928bbea
commit
583fcb528c
20
Makefile
20
Makefile
@ -9,20 +9,20 @@ PROGS-$(CONFIG_FFPLAY) += ffplay
|
|||||||
PROGS-$(CONFIG_FFPROBE) += ffprobe
|
PROGS-$(CONFIG_FFPROBE) += ffprobe
|
||||||
PROGS-$(CONFIG_FFSERVER) += ffserver
|
PROGS-$(CONFIG_FFSERVER) += ffserver
|
||||||
|
|
||||||
PROGS := $(addsuffix $(EXESUF), $(PROGS-yes))
|
PROGS := $(PROGS-yes:%=%$(EXESUF))
|
||||||
PROGS_G = $(addsuffix _g$(EXESUF), $(PROGS-yes))
|
PROGS_G = $(PROGS-yes:%=%_g$(EXESUF))
|
||||||
OBJS = $(addsuffix .o, $(PROGS-yes)) cmdutils.o
|
OBJS = $(PROGS-yes:%=%.o) cmdutils.o
|
||||||
MANPAGES = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes)))
|
MANPAGES = $(PROGS-yes:%=doc/%.1)
|
||||||
PODPAGES = $(addprefix doc/, $(addsuffix .pod, $(PROGS-yes)))
|
PODPAGES = $(PROGS-yes:%=doc/%.pod)
|
||||||
HTMLPAGES = $(addprefix doc/, $(addsuffix .html, $(PROGS-yes)))
|
HTMLPAGES = $(PROGS-yes:%=doc/%.html)
|
||||||
TOOLS = $(addprefix tools/, $(addsuffix $(EXESUF), cws2fws pktdumper probetest qt-faststart trasher))
|
TOOLS = $(addprefix tools/, $(addsuffix $(EXESUF), cws2fws pktdumper probetest qt-faststart trasher))
|
||||||
HOSTPROGS = $(addprefix tests/, audiogen videogen rotozoom tiny_psnr base64)
|
HOSTPROGS = $(addprefix tests/, audiogen videogen rotozoom tiny_psnr base64)
|
||||||
|
|
||||||
BASENAMES = ffmpeg ffplay ffprobe ffserver
|
BASENAMES = ffmpeg ffplay ffprobe ffserver
|
||||||
ALLPROGS = $(addsuffix $(EXESUF), $(BASENAMES))
|
ALLPROGS = $(BASENAMES:%=%$(EXESUF))
|
||||||
ALLPROGS_G = $(addsuffix _g$(EXESUF), $(BASENAMES))
|
ALLPROGS_G = $(BASENAMES:%=_g$(EXESUF))
|
||||||
ALLMANPAGES = $(addsuffix .1, $(BASENAMES))
|
ALLMANPAGES = $(BASENAMES:%=%.1)
|
||||||
ALLHTMLPAGES= $(addsuffix .html, $(BASENAMES))
|
ALLHTMLPAGES= $(BASENAMES:%=%.html)
|
||||||
|
|
||||||
FFLIBS-$(CONFIG_AVDEVICE) += avdevice
|
FFLIBS-$(CONFIG_AVDEVICE) += avdevice
|
||||||
FFLIBS-$(CONFIG_AVFILTER) += avfilter
|
FFLIBS-$(CONFIG_AVFILTER) += avfilter
|
||||||
|
Loading…
Reference in New Issue
Block a user