1 GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
3 ## Process this file with automake to produce Makefile.in
5 # The name of the module, e.g. 'glib'.
12 html: html-build.stamp
13 include $(top_srcdir)/common/upload-doc.mak
17 ## $(DOC_MODULE).types \
18 # $(DOC_MODULE)-sections.txt \
19 # $(DOC_MODULE)-docs.sgml
21 # ugly hack to make -unused.sgml work
24 # cd $(srcdir)/tmpl && \
25 # ln -sf gstreamer-libs-unused.sgml \
26 # $$BUILDDIR/tmpl/gstreamer-libs-@GST_API_VERSION@-unused.sgml
27 # touch unused-build.stamp
29 # these rules are added to create parallel docs using GST_API_VERSION
30 #$(basefiles): gstreamer-libs-@GST_API_VERSION@%: gstreamer-libs%
33 #CLEANFILES = $(basefiles)
35 # The top-level SGML file. Change it if you want.
36 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
38 # The directory containing the source code. Relative to $(top_srcdir).
39 # gtk-doc will search all .c & .h files beneath here for inline comments
40 # documenting functions and macros.
41 DOC_SOURCE_DIR = $(top_srcdir)/gst/rtsp-server/
42 DOC_BUILD_DIR=$(top_builddir)/gst/rtsp-server/
47 # there's something wrong with gstreamer-sections.txt not being in the dist
48 # maybe it doesn't resolve; we're adding it below for now
49 #EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
51 # Extra options to supply to gtkdoc-mkdb.
52 MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,m
54 # Extra options to supply to gtkdoc-fixref.
55 FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
56 --extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
57 --extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html
59 # Used for dependencies.
60 HFILE_GLOB=$(DOC_SOURCE_DIR)/*.h
61 CFILE_GLOB=$(DOC_SOURCE_DIR)/*.c
64 $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
66 # Extra options to supply to gtkdoc-scan.
67 SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
69 # Header files to ignore when scanning.
73 # we add all .h files of elements that have signals/args we want
74 # sadly this also pulls in the private methods - maybe we should
75 # move those around in the source ?
76 # also, we should add some stuff here conditionally based on whether
77 # or not the plugin will actually build
78 # but I'm not sure about that - it might be this Just Works given that
79 # the registry won't have the element
83 # Images to copy into HTML directory.
86 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
89 # Other files to distribute.
92 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
93 # contains GtkObjects/GObjects and you want to document signals and properties.
94 GTKDOC_CFLAGS = -I$(top_srcdir) $(GST_PLUGINS_BASE_CFLAGS) \
95 $(GST_BASE_CFLAGS) $(GST_CFLAGS)
96 GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_PLUGINS_BASE_LIBS) \
97 $(GST_BASE_LIBS) $(GST_LIBS) $(GCOV_LIBS)
99 GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
100 GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
102 # If you need to override some of the declarations, place them in this file
103 # and uncomment this line.
104 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
106 include $(top_srcdir)/common/gtk-doc.mak