2000-10-22 16:27:21 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2003-05-18 15:04:26 +00:00
|
|
|
# The name of the module, e.g. 'glib'.
|
|
|
|
#DOC_MODULE=gstreamer-libs-@GST_MAJORMINOR@
|
2000-10-22 16:27:21 +00:00
|
|
|
DOC_MODULE=gstreamer-libs
|
|
|
|
|
2009-01-27 17:53:01 +00:00
|
|
|
# don't want $(DOC_MODULE)-scan.c to be built with -Werror
|
|
|
|
ERROR_CFLAGS=
|
|
|
|
|
2009-06-11 12:16:29 +00:00
|
|
|
# for upload-doc.mak
|
2004-01-28 12:16:51 +00:00
|
|
|
DOC=gstreamer-libs
|
|
|
|
FORMATS=html
|
|
|
|
html: html-build.stamp
|
2009-06-11 12:16:29 +00:00
|
|
|
include $(top_srcdir)/common/upload-doc.mak
|
2004-01-28 12:16:51 +00:00
|
|
|
|
2003-05-18 15:04:26 +00:00
|
|
|
# generated basefiles
|
|
|
|
#basefiles = \
|
2005-03-29 13:10:25 +00:00
|
|
|
# $(DOC_MODULE).types \
|
2003-05-18 15:04:26 +00:00
|
|
|
# $(DOC_MODULE)-sections.txt \
|
|
|
|
# $(DOC_MODULE)-docs.sgml
|
|
|
|
|
|
|
|
# ugly hack to make -unused.sgml work
|
|
|
|
#unused-build.stamp:
|
|
|
|
# BUILDDIR=`pwd` && \
|
|
|
|
# cd $(srcdir)/tmpl && \
|
|
|
|
# ln -sf gstreamer-libs-unused.sgml \
|
|
|
|
# $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
|
|
|
|
# touch unused-build.stamp
|
|
|
|
|
|
|
|
# these rules are added to create parallel docs using GST_MAJORMINOR
|
|
|
|
#$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
|
|
|
|
# cp $< $@
|
|
|
|
|
|
|
|
#CLEANFILES = $(basefiles)
|
|
|
|
|
|
|
|
# The top-level SGML file. Change it if you want.
|
2000-10-22 16:27:21 +00:00
|
|
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
|
|
|
|
2003-05-18 15:04:26 +00:00
|
|
|
# The directory containing the source code. Relative to $(top_srcdir).
|
|
|
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
|
|
|
# documenting functions and macros.
|
|
|
|
DOC_SOURCE_DIR=$(top_srcdir)/libs/gst
|
2005-11-24 16:32:26 +00:00
|
|
|
DOC_BUILD_DIR=$(top_builddir)/libs/gst
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan.
|
2005-01-21 17:52:50 +00:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="GST_DISABLE_DEPRECATED"
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# FIXME :
|
|
|
|
# there's something wrong with gstreamer-sections.txt not being in the dist
|
|
|
|
# maybe it doesn't resolve; we're adding it below for now
|
|
|
|
#EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mkdb.
|
2007-08-10 17:35:30 +00:00
|
|
|
MKDB_OPTIONS=--sgml-mode --output-format=xml
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-fixref.
|
2011-03-23 15:13:58 +00:00
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(top_builddir)/docs/gst/html \
|
|
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
|
2007-07-05 08:42:42 +00:00
|
|
|
--extra-dir=$(datadir)/gtk-doc/html
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Used for dependencies.
|
|
|
|
HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.h
|
|
|
|
CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.c
|
|
|
|
|
2005-08-02 21:35:34 +00:00
|
|
|
# Dependencies for the intermediate scanobj tool
|
2008-04-21 09:29:37 +00:00
|
|
|
SCANOBJ_DEPS = \
|
|
|
|
$(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la \
|
|
|
|
$(top_builddir)/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la \
|
|
|
|
$(top_builddir)/libs/gst/net/libgstnet-@GST_MAJORMINOR@.la
|
2005-08-02 21:35:34 +00:00
|
|
|
|
|
|
|
# Extra options to pass to gtkdoc-scanobj or gtkdoc-scangobj.
|
|
|
|
SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Header files to ignore when scanning.
|
2004-07-28 14:39:44 +00:00
|
|
|
IGNORE_HFILES = \
|
2008-05-03 16:52:16 +00:00
|
|
|
gstinterpolationcontrolsourceprivate.h \
|
|
|
|
gstlfocontrolsourceprivate.h \
|
|
|
|
gstcontrollerprivate.h \
|
2004-07-28 14:39:44 +00:00
|
|
|
gstgetbits_inl.h \
|
|
|
|
dp-private.h
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Images to copy into HTML directory.
|
2006-06-13 19:24:34 +00:00
|
|
|
HTML_IMAGES = gdp-header.png
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
|
|
|
content_files =
|
|
|
|
|
|
|
|
# Other files to distribute.
|
|
|
|
extra_files =
|
|
|
|
|
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
|
|
|
|
# contains GtkObjects/GObjects and you want to document signals and properties.
|
2007-07-26 14:05:23 +00:00
|
|
|
GTKDOC_CFLAGS = -I$(top_builddir) -I$(top_builddir)/libs $(GST_OBJ_CFLAGS)
|
|
|
|
GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_OBJ_LIBS)
|
2003-05-18 15:04:26 +00:00
|
|
|
|
2009-02-22 15:22:16 +00:00
|
|
|
GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
|
|
|
|
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
|
2003-05-18 15:04:26 +00:00
|
|
|
|
2009-11-17 09:06:48 +00:00
|
|
|
GTKDOC_EXTRA_ENVIRONMENT= \
|
2009-11-16 00:12:22 +00:00
|
|
|
GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner
|
2009-11-17 09:06:48 +00:00
|
|
|
|
2003-05-18 15:04:26 +00:00
|
|
|
# If you need to override some of the declarations, place them in this file
|
|
|
|
# and uncomment this line.
|
2005-03-29 14:12:48 +00:00
|
|
|
DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
|
2003-05-18 15:04:26 +00:00
|
|
|
|
2005-07-07 15:07:21 +00:00
|
|
|
include $(top_srcdir)/common/gtk-doc.mak
|