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