1GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
2
3## Process this file with automake to produce Makefile.in
4
5# The name of the module, e.g. 'glib'.
6#DOC_MODULE=gst-plugins-libs-@GST_API_VERSION@
7MODULE=gst-plugins-bad
8DOC_MODULE=$(MODULE)-plugins
9
10# for upload-doc.mak
11DOC=$(MODULE)-plugins
12FORMATS=html
13html: html-build.stamp
14include $(top_srcdir)/common/upload-doc.mak
15
16# The top-level SGML file. Change it if you want.
17DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
18
19# The directory containing the source code.
20# gtk-doc will search all .c & .h files beneath here for inline comments
21# documenting functions and macros.
22DOC_SOURCE_DIR = $(top_srcdir)/gst $(top_srcdir)/ext $(top_srcdir)/sys
23
24# Extra options to supply to gtkdoc-scan.
25SCAN_OPTIONS=
26
27# Extra options to supply to gtkdoc-mkdb.
28MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,cpp,m
29
30# Extra options to supply to gtkdoc-fixref.
31FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
32	--extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
33	--extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html
34
35# Used for dependencies.
36HFILE_GLOB= \
37  $(top_srcdir)/gst/*/*.h $(top_srcdir)/ext/*/*.h $(top_srcdir)/sys/*/*.h \
38  $(top_srcdir)/ext/*/*.hh
39CFILE_GLOB= \
40  $(top_srcdir)/gst/*/*.c $(top_srcdir)/ext/*/*.c $(top_srcdir)/sys/*/*.c \
41  $(top_srcdir)/ext/*/*.cc $(top_srcdir)/ext/*/*.cpp  $(top_srcdir)/sys/*/*.cpp \
42  $(top_srcdir)/sys/*/*.m
43
44# Header files to ignore when scanning.
45IGNORE_HFILES =
46IGNORE_CFILES =
47
48# we add all .h files of elements that have signals/args we want
49# sadly this also pulls in the private methods - maybe we should
50# move those around in the source ?
51#
52# also, we should add some stuff here conditionally based on whether
53# or not the plugin will actually build
54# but I'm not sure about that - it might be this Just Works given that
55# the registry won't have the element
56# -> it just works (TM) (ensonic)
57
58# FIXME: not ported yet
59#	$(top_srcdir)/ext/gnomevfs/gstgnomevfssink.c
60
61# example code that needs to be converted to xml and placed in xml/
62EXAMPLE_CFILES = \
63        $(top_srcdir)/ext/directfb/dfb-example.c
64
65EXTRA_HFILES = \
66	$(top_srcdir)/ext/assrender/gstassrender.h \
67	$(top_srcdir)/ext/curl/gstcurlbasesink.h \
68	$(top_srcdir)/ext/curl/gstcurlfilesink.h \
69	$(top_srcdir)/ext/curl/gstcurlftpsink.h \
70	$(top_srcdir)/ext/curl/gstcurlhttpsink.h \
71	$(top_srcdir)/ext/curl/gstcurlsmtpsink.h \
72	$(top_srcdir)/ext/curl/gstcurltlssink.h \
73	$(top_srcdir)/ext/dc1394/gstdc1394src.h \
74	$(top_srcdir)/ext/directfb/dfbvideosink.h \
75	$(top_srcdir)/ext/dts/gstdtsdec.h \
76	$(top_srcdir)/ext/faac/gstfaac.h \
77	$(top_srcdir)/ext/faad/gstfaad.h \
78	$(top_srcdir)/ext/iqa/iqa.h \
79	$(top_srcdir)/ext/kate/gstkateenc.h \
80	$(top_srcdir)/ext/kate/gstkatedec.h \
81	$(top_srcdir)/ext/kate/gstkateparse.h \
82	$(top_srcdir)/ext/kate/gstkatetag.h \
83	$(top_srcdir)/ext/kate/gstkatetiger.h \
84	$(top_srcdir)/ext/ladspa/gstladspa.h \
85	$(top_srcdir)/ext/modplug/gstmodplug.h \
86	$(top_srcdir)/ext/mpeg2enc/gstmpeg2enc.hh \
87	$(top_srcdir)/ext/mplex/gstmplex.hh \
88	$(top_srcdir)/ext/opencv/gstcvdilate.h \
89	$(top_srcdir)/ext/opencv/gstcverode.h \
90	$(top_srcdir)/ext/opencv/gstcvequalizehist.h \
91	$(top_srcdir)/ext/opencv/gstcvlaplace.h \
92	$(top_srcdir)/ext/opencv/gstcvsmooth.h \
93	$(top_srcdir)/ext/opencv/gstcvsobel.h \
94	$(top_srcdir)/ext/opencv/gstedgedetect.h \
95	$(top_srcdir)/ext/opencv/gstfaceblur.h \
96	$(top_srcdir)/ext/opencv/gstfacedetect.h \
97	$(top_srcdir)/ext/opencv/gsttemplatematch.h \
98	$(top_srcdir)/ext/opencv/gsttextoverlay.h \
99	$(top_srcdir)/ext/openni2/gstopenni2src.h \
100	$(top_srcdir)/ext/rsvg/gstrsvgdec.h \
101	$(top_srcdir)/ext/rsvg/gstrsvgoverlay.h \
102	$(top_srcdir)/ext/rtmp/gstrtmpsrc.h \
103	$(top_srcdir)/ext/rtmp/gstrtmpsink.h \
104	$(top_srcdir)/ext/spandsp/gstspanplc.h \
105	$(top_srcdir)/ext/spandsp/gstdtmfdetect.h \
106	$(top_srcdir)/ext/wildmidi/gstwildmididec.h \
107	$(top_srcdir)/ext/voaacenc/gstvoaacenc.h \
108	$(top_srcdir)/ext/voamrwbenc/gstvoamrwbenc.h \
109	$(top_srcdir)/ext/webrtcdsp/gstwebrtcdsp.h \
110	$(top_srcdir)/ext/webrtcdsp/gstwebrtcechoprobe.h \
111	$(top_srcdir)/ext/zbar/gstzbar.h \
112	$(top_srcdir)/gst/aiff/aiffparse.h \
113	$(top_srcdir)/gst/aiff/aiffmux.h \
114	$(top_srcdir)/gst/autoconvert/gstautoconvert.h \
115	$(top_srcdir)/gst/audiovisualizers/gstspacescope.h \
116	$(top_srcdir)/gst/audiovisualizers/gstspectrascope.h \
117	$(top_srcdir)/gst/audiovisualizers/gstsynaescope.h \
118	$(top_srcdir)/gst/audiovisualizers/gstwavescope.h \
119	$(top_srcdir)/gst/camerabin2/gstcamerabin2.h \
120	$(top_srcdir)/gst/coloreffects/gstcoloreffects.h \
121	$(top_srcdir)/gst/debugutils/fpsdisplaysink.h \
122	$(top_srcdir)/gst/dvdspu/gstdvdspu.h \
123	$(top_srcdir)/gst/festival/gstfestival.h \
124	$(top_srcdir)/gst/gaudieffects/gstburn.h \
125	$(top_srcdir)/gst/gaudieffects/gstchromium.h \
126	$(top_srcdir)/gst/gaudieffects/gstdilate.h \
127	$(top_srcdir)/gst/gaudieffects/gstdodge.h \
128	$(top_srcdir)/gst/gaudieffects/gstexclusion.h \
129	$(top_srcdir)/gst/gaudieffects/gstgaussblur.h \
130	$(top_srcdir)/gst/gaudieffects/gstplugin.h \
131	$(top_srcdir)/gst/gaudieffects/gstsolarize.h \
132	$(top_srcdir)/gst/geometrictransform/gstbulge.h \
133	$(top_srcdir)/gst/geometrictransform/gstcircle.h \
134	$(top_srcdir)/gst/geometrictransform/gstdiffuse.h \
135	$(top_srcdir)/gst/geometrictransform/gstfisheye.h \
136	$(top_srcdir)/gst/geometrictransform/gstkaleidoscope.h \
137	$(top_srcdir)/gst/geometrictransform/gstmarble.h \
138	$(top_srcdir)/gst/geometrictransform/gstmirror.h \
139	$(top_srcdir)/gst/geometrictransform/gstpinch.h \
140	$(top_srcdir)/gst/geometrictransform/gstsphere.h \
141	$(top_srcdir)/gst/geometrictransform/gstsquare.h \
142	$(top_srcdir)/gst/geometrictransform/gststretch.h \
143	$(top_srcdir)/gst/geometrictransform/gsttunnel.h \
144	$(top_srcdir)/gst/geometrictransform/gsttwirl.h \
145	$(top_srcdir)/gst/geometrictransform/gstwaterripple.h \
146	$(top_srcdir)/gst/ivfparse/gstivfparse.h \
147	$(top_srcdir)/gst/jpegformat/gstjpegparse.h \
148	$(top_srcdir)/gst/mpegtsdemux/tsdemux.h \
149	$(top_srcdir)/gst/mpegtsmux/mpegtsmux.h \
150	$(top_srcdir)/gst/mxf/mxfdemux.h \
151	$(top_srcdir)/gst/mxf/mxfmux.h \
152	$(top_srcdir)/gst/pcapparse/gstpcapparse.h \
153	$(top_srcdir)/gst/rawparse/gstaudioparse.h \
154	$(top_srcdir)/gst/rawparse/gstvideoparse.h \
155	$(top_srcdir)/gst/sdp/gstsdpdemux.h \
156	$(top_srcdir)/gst/speed/gstspeed.h \
157	$(top_srcdir)/gst/videosignal/gstvideoanalyse.h \
158	$(top_srcdir)/sys/dvb/gstdvbsrc.h \
159	$(top_srcdir)/sys/shm/gstshmsink.h \
160	$(top_srcdir)/sys/shm/gstshmsrc.h
161
162# Images to copy into HTML directory.
163HTML_IMAGES = camerabin.png
164
165# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
166content_files =
167
168# Other files to distribute.
169extra_files =
170
171# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
172# contains GtkObjects/GObjects and you want to document signals and properties.
173GTKDOC_CFLAGS = -DGST_USE_UNSTABLE_API $(GST_PLUGINS_BAD_CFLAGS) $(GST_BASE_CFLAGS) -I$(top_builddir)
174GTKDOC_LIBS = \
175	$(GST_BASE_LIBS)
176
177# If you need to override some of the declarations, place them in this file
178# and uncomment this line.
179#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
180DOC_OVERRIDES =
181
182include $(top_srcdir)/common/gtk-doc-plugins.mak
183
184SUBDIRS =
185
186FIGURES_SOURCEFILES = camerabin.dot
187FIGURES_IMAGES      = camerabin.png
188
189EXTRA_DIST += $(FIGURES_SOURCEFILES)
190
191.dot.png:
192	dot -Tpng $< -o$@
193
194update-figures: $(FIGURES_IMAGES)
195