Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
ab81f24a
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ab81f24a
编写于
11月 02, 2013
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build: Integrate multilibrary examples into the build system
This includes moving libavformat/output-example to doc/examples/output.
上级
14abeaa4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
26 addition
and
8 deletion
+26
-8
Makefile
Makefile
+2
-1
configure
configure
+9
-1
doc/Makefile
doc/Makefile
+14
-1
doc/examples/output.c
doc/examples/output.c
+1
-1
libavformat/Makefile
libavformat/Makefile
+0
-4
未找到文件。
Makefile
浏览文件 @
ab81f24a
...
...
@@ -130,6 +130,8 @@ endef
$(foreach
D,$(FFLIBS),$(eval
$(call
DOSUBDIR,lib$(D))))
include
$(SRC_PATH)/doc/Makefile
define
DOPROG
OBJS-$(1)
+=
$(1)
.o
$(EXEOBJS)
$
(
OBJS-
$(1)
-yes
)
$(1)$(EXESUF)
:
$$(OBJS-$(1))
...
...
@@ -203,7 +205,6 @@ config:
check
:
all alltools checkheaders examples testprogs fate
include
$(SRC_PATH)/doc/Makefile
include
$(SRC_PATH)/tests/Makefile
$(sort $(OBJDIRS))
:
...
...
configure
浏览文件 @
ab81f24a
...
...
@@ -1041,6 +1041,10 @@ COMPONENT_LIST="
protocols
"
EXAMPLE_LIST
=
"
output_example
"
EXTERNAL_LIBRARY_LIST
=
"
avisynth
bzlib
...
...
@@ -1102,6 +1106,7 @@ PROGRAM_LIST="
CONFIG_LIST
=
"
$COMPONENT_LIST
$EXAMPLE_LIST
$EXTERNAL_LIBRARY_LIST
$HWACCEL_LIST
$LIBRARY_LIST
...
...
@@ -1944,6 +1949,9 @@ ocv_filter_deps="libopencv"
scale_filter_deps
=
"swscale"
yadif_filter_deps
=
"gpl"
# examples
output_example_deps
=
"avcodec avformat avutil swscale"
# libraries
avcodec_deps
=
"avutil"
avdevice_deps
=
"avutil avcodec avformat"
...
...
@@ -2002,7 +2010,7 @@ target_os_default=$(tolower $(uname -s))
host_os
=
$target_os_default
# configurable options
enable
$LIBRARY_LIST
$PROGRAM_LIST
enable
$
EXAMPLE_LIST
$
LIBRARY_LIST
$PROGRAM_LIST
enable
asm
enable
debug
...
...
doc/Makefile
浏览文件 @
ab81f24a
...
...
@@ -15,11 +15,20 @@ DOCS-$(CONFIG_PERL) += $(MANPAGES) $(PODPAGES)
DOCS-$(CONFIG_TEXI2HTML)
+=
$(HTMLPAGES)
DOCS
=
$
(
DOCS-yes
)
DOC_EXAMPLES-$(CONFIG_OUTPUT_EXAMPLE)
+=
output
ALL_DOC_EXAMPLES
=
output
DOC_EXAMPLES
:=
$
(
DOC_EXAMPLES-yes:%
=
doc/examples/%
$(EXESUF)
)
ALL_DOC_EXAMPLES
:=
$
(
ALL_DOC_EXAMPLES:%
=
doc/examples/%
$(EXESUF)
)
PROGS
+=
$(DOC_EXAMPLES)
all
:
$(DOCS)
apidoc
:
doc/doxy/html
documentation
:
$(DOCS)
examples
:
$(DOC_EXAMPLES)
TEXIDEP
=
awk
'/^@include/ { printf "$@: $(@D)/%s\n", $$2 }'
<
$<
>
$
(
@:%
=
%.d
)
GENTEXI
=
format codec
...
...
@@ -44,6 +53,8 @@ doc/%.1: doc/%.pod $(GENTEXI)
$(M)
pod2man
--section
=
1
--center
=
" "
--release
=
" "
$<
>
$@
$(DOCS) doc/doxy/html
:
| doc/
$(DOC_EXAMPLES
:
%=%.o): | doc/examples
OBJDIRS
+=
doc/examples
doc/doxy/html
:
$(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
$(M)$(SRC_PATH)
/doc/doxy-wrapper.sh
$(SRC_PATH)
$^
...
...
@@ -68,7 +79,9 @@ uninstall-man:
$(RM)
$(
addprefix
"
$(MANDIR)
/man1/"
,
$(ALLMANPAGES)
)
clean
::
$(RM)
doc/
*
.html doc/
*
.pod doc/
*
.1
$
(
CLEANSUFFIXES:%
=
doc/%
)
doc/avoptions_
*
.texi
$(RM)
$(ALL_DOC_EXAMPLES)
$(RM)
$
(
CLEANSUFFIXES:%
=
doc/%
)
$
(
CLEANSUFFIXES:%
=
doc/examples/%
)
$(RM)
doc/
*
.html doc/
*
.pod doc/
*
.1 doc/avoptions_
*
.texi
$(RM)
-r
doc/doxy/html
-include
$(wildcard $(DOCS:%=%.d))
...
...
libavformat/output-example
.c
→
doc/examples/output
.c
浏览文件 @
ab81f24a
...
...
@@ -24,7 +24,7 @@
* @file
* libavformat API example.
*
* @example
libavformat/output-example
.c
* @example
doc/examples/output
.c
* Output a media file in any supported libavformat format.
* The default codecs are used.
*/
...
...
libavformat/Makefile
浏览文件 @
ab81f24a
...
...
@@ -392,7 +392,6 @@ SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
SKIPHEADERS-$(CONFIG_NETWORK)
+=
network.h rtsp.h
EXAMPLES
=
metadata
\
output
\
TESTPROGS
=
seek
\
srtp
\
...
...
@@ -404,6 +403,3 @@ TOOLS = aviocat \
ismindex
\
pktdumper
\
probetest
\
$(SUBDIR)output-example$(EXESUF)
:
ELIBS = $(patsubst %
,
$(LD_LIB)
,
swscale avutil)
$(SUBDIR)output-example$(EXESUF)
:
$(call PATH_LIBNAME
,
swscale)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录