2017-10-04 01:11:58 +00:00
|
|
|
EXAMPLES-$(CONFIG_AVIO_DIR_CMD_EXAMPLE) += avio_dir_cmd
|
|
|
|
EXAMPLES-$(CONFIG_AVIO_READING_EXAMPLE) += avio_reading
|
|
|
|
EXAMPLES-$(CONFIG_DECODE_AUDIO_EXAMPLE) += decode_audio
|
|
|
|
EXAMPLES-$(CONFIG_DECODE_VIDEO_EXAMPLE) += decode_video
|
|
|
|
EXAMPLES-$(CONFIG_DEMUXING_DECODING_EXAMPLE) += demuxing_decoding
|
|
|
|
EXAMPLES-$(CONFIG_ENCODE_AUDIO_EXAMPLE) += encode_audio
|
|
|
|
EXAMPLES-$(CONFIG_ENCODE_VIDEO_EXAMPLE) += encode_video
|
|
|
|
EXAMPLES-$(CONFIG_EXTRACT_MVS_EXAMPLE) += extract_mvs
|
|
|
|
EXAMPLES-$(CONFIG_FILTER_AUDIO_EXAMPLE) += filter_audio
|
|
|
|
EXAMPLES-$(CONFIG_FILTERING_AUDIO_EXAMPLE) += filtering_audio
|
|
|
|
EXAMPLES-$(CONFIG_FILTERING_VIDEO_EXAMPLE) += filtering_video
|
|
|
|
EXAMPLES-$(CONFIG_HTTP_MULTICLIENT_EXAMPLE) += http_multiclient
|
|
|
|
EXAMPLES-$(CONFIG_HW_DECODE_EXAMPLE) += hw_decode
|
|
|
|
EXAMPLES-$(CONFIG_METADATA_EXAMPLE) += metadata
|
|
|
|
EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing
|
|
|
|
EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE) += qsvdec
|
|
|
|
EXAMPLES-$(CONFIG_REMUXING_EXAMPLE) += remuxing
|
|
|
|
EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE) += resampling_audio
|
|
|
|
EXAMPLES-$(CONFIG_SCALING_VIDEO_EXAMPLE) += scaling_video
|
|
|
|
EXAMPLES-$(CONFIG_TRANSCODE_AAC_EXAMPLE) += transcode_aac
|
|
|
|
EXAMPLES-$(CONFIG_TRANSCODING_EXAMPLE) += transcoding
|
|
|
|
|
|
|
|
EXAMPLES := $(EXAMPLES-yes:%=doc/examples/%$(PROGSSUF)$(EXESUF))
|
|
|
|
EXAMPLES_G := $(EXAMPLES-yes:%=doc/examples/%$(PROGSSUF)_g$(EXESUF))
|
|
|
|
ALL_EXAMPLES := $(EXAMPLES) $(EXAMPLES-:%=doc/examples/%$(PROGSSUF)$(EXESUF))
|
|
|
|
ALL_EXAMPLES_G := $(EXAMPLES_G) $(EXAMPLES-:%=doc/examples/%$(PROGSSUF)_g$(EXESUF))
|
|
|
|
PROGS += $(EXAMPLES)
|
2017-09-29 18:09:19 +00:00
|
|
|
|
|
|
|
EXAMPLES_FILES := $(wildcard $(SRC_PATH)/doc/examples/*.c) $(SRC_PATH)/doc/examples/README
|
|
|
|
EXAMPLE_MAKEFILE := $(SRC_PATH)/doc/examples/Makefile
|
2017-02-15 12:31:52 +00:00
|
|
|
|
2017-10-04 01:11:58 +00:00
|
|
|
$(foreach P,$(EXAMPLES),$(eval OBJS-$(P:%$(PROGSSUF)$(EXESUF)=%) = $(P:%$(PROGSSUF)$(EXESUF)=%).o))
|
|
|
|
$(EXAMPLES_G): %$(PROGSSUF)_g$(EXESUF): %.o
|
2017-02-14 12:15:25 +00:00
|
|
|
|
2017-02-22 13:18:47 +00:00
|
|
|
examples: $(EXAMPLES)
|
2017-02-15 12:31:52 +00:00
|
|
|
|
2017-10-04 01:11:58 +00:00
|
|
|
$(EXAMPLES:%$(PROGSSUF)$(EXESUF)=%.o): | doc/examples
|
2017-02-15 12:31:52 +00:00
|
|
|
OBJDIRS += doc/examples
|
|
|
|
|
2017-10-04 01:11:58 +00:00
|
|
|
DOXY_INPUT += $(EXAMPLES:%$(PROGSSUF)$(EXESUF)=%.c)
|
2017-02-15 12:31:52 +00:00
|
|
|
|
2017-09-29 18:09:19 +00:00
|
|
|
examplesclean:
|
2017-10-04 01:11:58 +00:00
|
|
|
$(RM) $(ALL_EXAMPLES) $(ALL_EXAMPLES_G)
|
2017-02-15 12:31:52 +00:00
|
|
|
$(RM) $(CLEANSUFFIXES:%=doc/examples/%)
|
|
|
|
|
2017-09-29 18:09:19 +00:00
|
|
|
docclean:: examplesclean
|
|
|
|
|
2017-10-04 01:11:58 +00:00
|
|
|
-include $(wildcard $(EXAMPLES:%$(PROGSSUF)$(EXESUF)=%.d))
|
2017-02-14 12:15:25 +00:00
|
|
|
|
2017-02-15 12:31:52 +00:00
|
|
|
.PHONY: examples
|