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
|
|
|
|
|
2004-01-28 12:16:51 +00:00
|
|
|
# for upload.mak
|
|
|
|
DOC=gstreamer-libs
|
|
|
|
FORMATS=html
|
|
|
|
html: html-build.stamp
|
2006-04-29 00:36:47 +00:00
|
|
|
include $(top_srcdir)/common/upload.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.
|
2005-08-02 21:35:34 +00:00
|
|
|
MKDB_OPTIONS= --output-format=xml --sgml-mode --ignore-files=trio
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-fixref.
|
2007-02-11 19:59:12 +00:00
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(datadir)/gtk-doc/html/gstreamer-@GST_MAJORMINOR@
|
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
|
2006-11-21 08:30:20 +00:00
|
|
|
SCANOBJ_DEPS = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la \
|
|
|
|
$(top_builddir)/libs/gst/base/libgstbase-@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 = \
|
|
|
|
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.
|
Merged in popt removal + GOption addition patch from Ronald, bug #169772.
Original commit message from CVS:
2005-10-10 Andy Wingo <wingo@pobox.com>
Merged in popt removal + GOption addition patch from Ronald, bug
#169772.
* docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
GstElement macros around, remove popt-related symbols, add goption
stuff.
* configure.ac: Remove popt checks, require GLib 2.6 for GOption.
* docs/gst/Makefile.am:
* docs/libs/Makefile.am: No POPT_CFLAGS.
* examples/manual/Makefile.am:
* docs/manual/basics-init.xml: Doc updates with an example.
* gst/gst.c: (gst_init_get_option_group), (gst_init_check),
(gst_init), (parse_one_option), (parse_goption_arg):
* gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
bit of hand merging and debugging to get the GOption stuff working
tho.
* tests/Makefile.am:
* tools/Makefile.am:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-run.c: (main):
* tools/gst-xmlinspect.c: (main): Thanks Ronald!
2005-10-10 15:53:59 +00:00
|
|
|
GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_builddir) -I$(top_builddir)/libs
|
|
|
|
GTKDOC_LIBS = $(GST_OBJ_LIBS) $(SCANOBJ_DEPS)
|
2003-05-18 15:04:26 +00:00
|
|
|
|
|
|
|
GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
|
|
|
|
GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
|
|
|
|
|
|
|
|
# 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
|