1 AVPROGS-
$(CONFIG_FFMPEG
) += ffmpeg
2 AVPROGS-
$(CONFIG_FFPLAY
) += ffplay
3 AVPROGS-
$(CONFIG_FFPROBE
) += ffprobe
5 AVPROGS
:= $(AVPROGS-yes
:%=%$(PROGSSUF
)$(EXESUF
))
8 AVBASENAMES
= ffmpeg ffplay ffprobe
9 ALLAVPROGS
= $(AVBASENAMES
:%=%$(PROGSSUF
)$(EXESUF
))
10 ALLAVPROGS_G
= $(AVBASENAMES
:%=%$(PROGSSUF
)_g
$(EXESUF
))
13 fftools
/ffmpeg_dec.o \
14 fftools
/ffmpeg_demux.o \
15 fftools
/ffmpeg_enc.o \
16 fftools
/ffmpeg_filter.o \
18 fftools
/ffmpeg_mux.o \
19 fftools
/ffmpeg_mux_init.o \
20 fftools
/ffmpeg_opt.o \
21 fftools
/ffmpeg_sched.o \
22 fftools
/sync_queue.o \
23 fftools
/thread_queue.o \
25 OBJS-ffplay
+= fftools
/ffplay_renderer.o
28 OBJS-
$(1) += fftools
/cmdutils.o fftools
/opt_common.o fftools
/$(1).o
$(OBJS-
$(1)-yes
)
29 ifdef HAVE_GNU_WINDRES
30 OBJS-
$(1) += fftools
/fftoolsres.o
32 $(1)$(PROGSSUF
)_g
$(EXESUF
): $$(OBJS-
$(1))
33 $$(OBJS-
$(1)): | fftools
34 $$(OBJS-
$(1)): CFLAGS
+= $(CFLAGS-
$(1))
35 $(1)$(PROGSSUF
)_g
$(EXESUF
): LDFLAGS
+= $(LDFLAGS-
$(1))
36 $(1)$(PROGSSUF
)_g
$(EXESUF
): FF_EXTRALIBS
+= $(EXTRALIBS-
$(1))
37 -include $$(OBJS-
$(1):.o
=.d
)
40 $(foreach P
,$(AVPROGS-yes
),$(eval
$(call DOFFTOOL
,$(P
))))
44 fftools
/ffprobe.o fftools
/cmdutils.o
: libavutil
/ffversion.h | fftools
48 install: install-progs install-data
52 install-progs-
$(CONFIG_SHARED
): install-libs
54 install-progs
: install-progs-yes
$(AVPROGS
)
55 $(Q
)mkdir
-p
"$(BINDIR)"
56 $(INSTALL
) -c
-m
755 $(AVPROGS
) "$(BINDIR)"
58 uninstall: uninstall-progs
61 $(RM
) $(addprefix "$(BINDIR)/", $(ALLAVPROGS
))
64 $(RM
) $(ALLAVPROGS
) $(ALLAVPROGS_G
) $(CLEANSUFFIXES
:%=fftools
/%)