1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # this snippet is to be included by both our docbook manuals
19 # and gtk-doc API references
21 # it adds an upload target to each of these dir's Makefiles
23 # each Makefile.am should define the following variables:
24 # - DOC: the base name of the documentation
25 # (faq, manual, pwg, gstreamer, gstreamer-libs)
26 # - FORMATS: the formats in which DOC is output
29 # if you want to use it, make sure your $HOME/.ssh/config file contains the
30 # correct User entry for the Host entry for the DOC_SERVER
32 # This is an include file specifically tuned for building documentation
33 # for GStreamer plug-ins
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkgincludedir = $(includedir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkglibexecdir = $(libexecdir)/@PACKAGE@
39 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
40 install_sh_DATA = $(install_sh) -c -m 644
41 install_sh_PROGRAM = $(install_sh) -c
42 install_sh_SCRIPT = $(install_sh) -c
43 INSTALL_HEADER = $(INSTALL_DATA)
44 transform = $(program_transform_name)
51 build_triplet = @build@
53 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
54 $(top_srcdir)/common/gtk-doc-plugins.mak \
55 $(top_srcdir)/common/upload-doc.mak
57 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \
59 $(top_srcdir)/common/m4/as-auto-alt.m4 \
60 $(top_srcdir)/common/m4/as-compiler-flag.m4 \
61 $(top_srcdir)/common/m4/as-libtool.m4 \
62 $(top_srcdir)/common/m4/as-python.m4 \
63 $(top_srcdir)/common/m4/as-scrub-include.m4 \
64 $(top_srcdir)/common/m4/as-version.m4 \
65 $(top_srcdir)/common/m4/ax_create_stdint_h.m4 \
66 $(top_srcdir)/common/m4/gst-arch.m4 \
67 $(top_srcdir)/common/m4/gst-args.m4 \
68 $(top_srcdir)/common/m4/gst-check.m4 \
69 $(top_srcdir)/common/m4/gst-default.m4 \
70 $(top_srcdir)/common/m4/gst-error.m4 \
71 $(top_srcdir)/common/m4/gst-feature.m4 \
72 $(top_srcdir)/common/m4/gst-function.m4 \
73 $(top_srcdir)/common/m4/gst-gettext.m4 \
74 $(top_srcdir)/common/m4/gst-glib2.m4 \
75 $(top_srcdir)/common/m4/gst-package-release-datetime.m4 \
76 $(top_srcdir)/common/m4/gst-plugin-docs.m4 \
77 $(top_srcdir)/common/m4/gst-plugindir.m4 \
78 $(top_srcdir)/common/m4/gst-x11.m4 \
79 $(top_srcdir)/common/m4/gst.m4 \
80 $(top_srcdir)/common/m4/gtk-doc.m4 \
81 $(top_srcdir)/common/m4/introspection.m4 \
82 $(top_srcdir)/common/m4/orc.m4 $(top_srcdir)/common/m4/pkg.m4 \
83 $(top_srcdir)/m4/freetype2.m4 $(top_srcdir)/m4/gettext.m4 \
84 $(top_srcdir)/m4/gst-alsa.m4 $(top_srcdir)/m4/gst-fionread.m4 \
85 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
86 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
87 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
88 $(top_srcdir)/m4/lrint.m4 $(top_srcdir)/m4/lrintf.m4 \
89 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
90 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
91 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/ogg.m4 \
92 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
93 $(top_srcdir)/m4/vorbis.m4 $(top_srcdir)/configure.ac
94 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96 mkinstalldirs = $(install_sh) -d
97 CONFIG_HEADER = $(top_builddir)/config.h
99 CONFIG_CLEAN_VPATH_FILES =
100 AM_V_GEN = $(am__v_GEN_$(V))
101 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
102 am__v_GEN_0 = @echo " GEN " $@;
103 AM_V_at = $(am__v_at_$(V))
104 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
108 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
110 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
111 ALSA_CFLAGS = @ALSA_CFLAGS@
112 ALSA_LIBS = @ALSA_LIBS@
114 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
117 AUDIORESAMPLE_FORMAT_AUTO = @AUDIORESAMPLE_FORMAT_AUTO@
118 AUDIORESAMPLE_FORMAT_FLOAT = @AUDIORESAMPLE_FORMAT_FLOAT@
119 AUDIORESAMPLE_FORMAT_INT = @AUDIORESAMPLE_FORMAT_INT@
120 AUTOCONF = @AUTOCONF@
121 AUTOHEADER = @AUTOHEADER@
122 AUTOMAKE = @AUTOMAKE@
125 CCASFLAGS = @CCASFLAGS@
126 CCDEPMODE = @CCDEPMODE@
127 CDPARANOIA_CFLAGS = @CDPARANOIA_CFLAGS@
128 CDPARANOIA_LIBS = @CDPARANOIA_LIBS@
131 CPPFLAGS = @CPPFLAGS@
134 CXXDEPMODE = @CXXDEPMODE@
135 CXXFLAGS = @CXXFLAGS@
136 CYGPATH_W = @CYGPATH_W@
137 DEFAULT_AUDIOSINK = @DEFAULT_AUDIOSINK@
138 DEFAULT_AUDIOSRC = @DEFAULT_AUDIOSRC@
139 DEFAULT_VIDEOSINK = @DEFAULT_VIDEOSINK@
140 DEFAULT_VIDEOSRC = @DEFAULT_VIDEOSRC@
141 DEFAULT_VISUALIZER = @DEFAULT_VISUALIZER@
144 DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@
146 DSYMUTIL = @DSYMUTIL@
152 ERROR_CFLAGS = @ERROR_CFLAGS@
153 ERROR_CXXFLAGS = @ERROR_CXXFLAGS@
157 FT2_CFLAGS = @FT2_CFLAGS@
158 FT2_CONFIG = @FT2_CONFIG@
159 FT2_LIBS = @FT2_LIBS@
161 GCOV_CFLAGS = @GCOV_CFLAGS@
162 GCOV_LIBS = @GCOV_LIBS@
163 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
164 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
165 GIO_CFLAGS = @GIO_CFLAGS@
166 GIO_LDFLAGS = @GIO_LDFLAGS@
167 GIO_LIBS = @GIO_LIBS@
168 GLIB_CFLAGS = @GLIB_CFLAGS@
169 GLIB_LIBS = @GLIB_LIBS@
170 GLIB_PREFIX = @GLIB_PREFIX@
171 GLIB_REQ = @GLIB_REQ@
173 GMSGFMT_015 = @GMSGFMT_015@
174 GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@
175 GNOME_VFS_LIBS = @GNOME_VFS_LIBS@
178 GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@
179 GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
180 GST_BASE_LIBS = @GST_BASE_LIBS@
181 GST_CFLAGS = @GST_CFLAGS@
182 GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@
183 GST_CHECK_LIBS = @GST_CHECK_LIBS@
184 GST_CONTROLLER_CFLAGS = @GST_CONTROLLER_CFLAGS@
185 GST_CONTROLLER_LIBS = @GST_CONTROLLER_LIBS@
186 GST_CURRENT = @GST_CURRENT@
187 GST_CXXFLAGS = @GST_CXXFLAGS@
188 GST_DISABLE_ALLOC_TRACE = @GST_DISABLE_ALLOC_TRACE@
189 GST_DISABLE_GST_DEBUG = @GST_DISABLE_GST_DEBUG@
190 GST_DISABLE_LOADSAVE = @GST_DISABLE_LOADSAVE@
191 GST_DISABLE_PARSE = @GST_DISABLE_PARSE@
192 GST_DISABLE_PLUGIN = @GST_DISABLE_PLUGIN@
193 GST_DISABLE_REGISTRY = @GST_DISABLE_REGISTRY@
194 GST_DISABLE_TRACE = @GST_DISABLE_TRACE@
195 GST_DISABLE_XML = @GST_DISABLE_XML@
196 GST_GDP_CFLAGS = @GST_GDP_CFLAGS@
197 GST_GDP_LIBS = @GST_GDP_LIBS@
198 GST_INSTALL_PLUGINS_HELPER = @GST_INSTALL_PLUGINS_HELPER@
199 GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@
200 GST_LIBS = @GST_LIBS@
201 GST_LIBVERSION = @GST_LIBVERSION@
202 GST_LIB_LDFLAGS = @GST_LIB_LDFLAGS@
203 GST_LICENSE = @GST_LICENSE@
204 GST_LT_LDFLAGS = @GST_LT_LDFLAGS@
205 GST_MAJORMINOR = @GST_MAJORMINOR@
206 GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@
207 GST_OPTION_CXXFLAGS = @GST_OPTION_CXXFLAGS@
208 GST_PACKAGE_NAME = @GST_PACKAGE_NAME@
209 GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@
210 GST_PKG_CONFIG_PATH = @GST_PKG_CONFIG_PATH@
211 GST_PLUGINS_ALL = @GST_PLUGINS_ALL@
212 GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@
213 GST_PLUGINS_DIR = @GST_PLUGINS_DIR@
214 GST_PLUGINS_SELECTED = @GST_PLUGINS_SELECTED@
215 GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
216 GST_PREFIX = @GST_PREFIX@
217 GST_REVISION = @GST_REVISION@
218 GST_TOOLS_DIR = @GST_TOOLS_DIR@
219 GTKDOC_CHECK = @GTKDOC_CHECK@
220 GTK_CFLAGS = @GTK_CFLAGS@
221 GTK_LIBS = @GTK_LIBS@
222 GTK_X11_CFLAGS = @GTK_X11_CFLAGS@
223 GTK_X11_LIBS = @GTK_X11_LIBS@
224 GUDEV_CFLAGS = @GUDEV_CFLAGS@
225 GUDEV_LIBS = @GUDEV_LIBS@
226 HAVE_CDPARANOIA = @HAVE_CDPARANOIA@
228 HAVE_XSHM = @HAVE_XSHM@
229 HSTRERROR_LIBS = @HSTRERROR_LIBS@
230 HTML_DIR = @HTML_DIR@
232 INSTALL_DATA = @INSTALL_DATA@
233 INSTALL_PROGRAM = @INSTALL_PROGRAM@
234 INSTALL_SCRIPT = @INSTALL_SCRIPT@
235 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
236 INTLLIBS = @INTLLIBS@
237 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
238 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
239 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
240 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
241 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
242 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
243 IVORBIS_CFLAGS = @IVORBIS_CFLAGS@
244 IVORBIS_LIBS = @IVORBIS_LIBS@
247 LIBICONV = @LIBICONV@
253 LIBVISUAL_CFLAGS = @LIBVISUAL_CFLAGS@
254 LIBVISUAL_LIBS = @LIBVISUAL_LIBS@
257 LOCALEDIR = @LOCALEDIR@
258 LTLIBICONV = @LTLIBICONV@
259 LTLIBINTL = @LTLIBINTL@
260 LTLIBOBJS = @LTLIBOBJS@
262 MAKEINFO = @MAKEINFO@
265 MSGFMT_015 = @MSGFMT_015@
266 MSGMERGE = @MSGMERGE@
271 OGG_CFLAGS = @OGG_CFLAGS@
272 OGG_LIBS = @OGG_LIBS@
274 ORCC_FLAGS = @ORCC_FLAGS@
275 ORC_CFLAGS = @ORC_CFLAGS@
276 ORC_LIBS = @ORC_LIBS@
280 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
281 PACKAGE_NAME = @PACKAGE_NAME@
282 PACKAGE_STRING = @PACKAGE_STRING@
283 PACKAGE_TARNAME = @PACKAGE_TARNAME@
284 PACKAGE_URL = @PACKAGE_URL@
285 PACKAGE_VERSION = @PACKAGE_VERSION@
286 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
287 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
288 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
289 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
290 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
291 PANGO_CFLAGS = @PANGO_CFLAGS@
292 PANGO_LIBS = @PANGO_LIBS@
293 PATH_SEPARATOR = @PATH_SEPARATOR@
294 PKG_CONFIG = @PKG_CONFIG@
295 PLUGINDIR = @PLUGINDIR@
297 PROFILE_CFLAGS = @PROFILE_CFLAGS@
299 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
300 PYTHON_PLATFORM = @PYTHON_PLATFORM@
301 PYTHON_PREFIX = @PYTHON_PREFIX@
302 PYTHON_VERSION = @PYTHON_VERSION@
304 QT_CFLAGS = @QT_CFLAGS@
308 SET_MAKE = @SET_MAKE@
311 THEORA_CFLAGS = @THEORA_CFLAGS@
312 THEORA_LIBS = @THEORA_LIBS@
314 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
315 VALGRIND_LIBS = @VALGRIND_LIBS@
316 VALGRIND_PATH = @VALGRIND_PATH@
318 VORBISENC_LIBS = @VORBISENC_LIBS@
319 VORBISFILE_LIBS = @VORBISFILE_LIBS@
320 VORBIS_CFLAGS = @VORBIS_CFLAGS@
321 VORBIS_LIBS = @VORBIS_LIBS@
322 WARNING_CFLAGS = @WARNING_CFLAGS@
323 WARNING_CXXFLAGS = @WARNING_CXXFLAGS@
324 WIN32_LIBS = @WIN32_LIBS@
325 XGETTEXT = @XGETTEXT@
326 XGETTEXT_015 = @XGETTEXT_015@
327 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
329 XSHM_LIBS = @XSHM_LIBS@
330 XVIDEO_LIBS = @XVIDEO_LIBS@
331 X_CFLAGS = @X_CFLAGS@
332 X_EXTRA_LIBS = @X_EXTRA_LIBS@
334 X_PRE_LIBS = @X_PRE_LIBS@
335 abs_builddir = @abs_builddir@
336 abs_srcdir = @abs_srcdir@
337 abs_top_builddir = @abs_top_builddir@
338 abs_top_srcdir = @abs_top_srcdir@
339 ac_ct_CC = @ac_ct_CC@
340 ac_ct_CXX = @ac_ct_CXX@
341 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
342 am__include = @am__include@
343 am__leading_dot = @am__leading_dot@
344 am__quote = @am__quote@
346 am__untar = @am__untar@
349 build_alias = @build_alias@
350 build_cpu = @build_cpu@
351 build_os = @build_os@
352 build_vendor = @build_vendor@
353 builddir = @builddir@
355 datarootdir = @datarootdir@
358 exec_prefix = @exec_prefix@
360 host_alias = @host_alias@
361 host_cpu = @host_cpu@
363 host_vendor = @host_vendor@
365 includedir = @includedir@
367 install_sh = @install_sh@
369 libexecdir = @libexecdir@
370 localedir = @localedir@
371 localstatedir = @localstatedir@
375 oldincludedir = @oldincludedir@
377 pkgpyexecdir = @pkgpyexecdir@
378 pkgpythondir = @pkgpythondir@
379 plugindir = @plugindir@
381 program_transform_name = @program_transform_name@
383 pyexecdir = @pyexecdir@
384 pythondir = @pythondir@
386 sharedstatedir = @sharedstatedir@
388 sysconfdir = @sysconfdir@
389 target_alias = @target_alias@
390 top_build_prefix = @top_build_prefix@
391 top_builddir = @top_builddir@
392 top_srcdir = @top_srcdir@
393 GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
395 # The name of the module, e.g. 'glib'.
396 #DOC_MODULE=gst-plugins-libs-@GST_MAJORMINOR@
397 MODULE = gst-plugins-base
398 DOC_MODULE = $(MODULE)-plugins
401 DOC = $(MODULE)-plugins
404 # these variables define the location of the online docs
405 DOC_SERVER = gstreamer.freedesktop.org
406 DOC_BASE = /srv/gstreamer.freedesktop.org/www/data/doc
407 DOC_URL = $(DOC_SERVER):$(DOC_BASE)
409 # generated basefiles
411 # $(DOC_MODULE)-sections.txt \
412 # $(DOC_MODULE)-docs.sgml
414 # ugly hack to make -unused.sgml work
416 # BUILDDIR=`pwd` && \
417 # cd $(srcdir)/tmpl && \
418 # ln -sf gstreamer-libs-unused.sgml \
419 # $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
420 # touch unused-build.stamp
422 # these rules are added to create parallel docs using GST_MAJORMINOR
423 #$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
426 #CLEANFILES = $(basefiles)
428 # The top-level SGML file. Change it if you want.
429 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
431 # The directory containing the source code. Relative to $(top_srcdir).
432 # gtk-doc will search all .c & .h files beneath here for inline comments
433 # documenting functions and macros.
434 DOC_SOURCE_DIR = $(top_srcdir)
436 # Extra options to supply to gtkdoc-scan.
439 # Extra options to supply to gtkdoc-mkdb.
440 MKDB_OPTIONS = --sgml-mode
442 # Extra options to supply to gtkdoc-fixref.
443 FIXXREF_OPTIONS = --extra-dir=$(top_builddir)/docs/libs/html \
444 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
445 --extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
446 --extra-dir=$(datadir)/gtk-doc/html
449 # Used for dependencies.
450 HFILE_GLOB = $(DOC_SOURCE_DIR)/*/*/*.h
451 CFILE_GLOB = $(DOC_SOURCE_DIR)/*/*/*.c
453 # this is a wingo addition
454 # thomasvs: another nice wingo addition would be an explanation on why
458 # Header files to ignore when scanning.
459 IGNORE_HFILES = avcodec.h gstffmpegcodecmap.h dsputil.h arch.h speex_resampler.h speex_resampler_wrapper.h fixed_arm4.h fixed_arm5e.h fixed_bfin.h fixed_debug.h fixed_generic.h resample_sse.h
460 IGNORE_CFILES = utils.c mem.c imgconvert.c
462 # we add all .h files of elements that have signals/args we want
463 # sadly this also pulls in the private methods - maybe we should
464 # move those around in the source ?
465 # also, we should add some stuff here conditionally based on whether
466 # or not the plugin will actually build
467 # but I'm not sure about that - it might be this Just Works given that
468 # the registry won't have the element
470 $(top_srcdir)/ext/alsa/gstalsamixerelement.h \
471 $(top_srcdir)/ext/alsa/gstalsasink.h \
472 $(top_srcdir)/ext/alsa/gstalsasrc.h \
473 $(top_srcdir)/ext/cdparanoia/gstcdparanoiasrc.h \
474 $(top_srcdir)/ext/gio/gstgiosink.h \
475 $(top_srcdir)/ext/gio/gstgiosrc.h \
476 $(top_srcdir)/ext/gio/gstgiostreamsink.h \
477 $(top_srcdir)/ext/gio/gstgiostreamsrc.h \
478 $(top_srcdir)/ext/gnomevfs/gstgnomevfssink.h \
479 $(top_srcdir)/ext/gnomevfs/gstgnomevfssrc.h \
480 $(top_srcdir)/ext/ogg/gstoggdemux.h \
481 $(top_srcdir)/ext/ogg/gstoggmux.h \
482 $(top_srcdir)/ext/pango/gstclockoverlay.h \
483 $(top_srcdir)/ext/pango/gsttextoverlay.h \
484 $(top_srcdir)/ext/pango/gsttextrender.h \
485 $(top_srcdir)/ext/pango/gsttimeoverlay.h \
486 $(top_srcdir)/ext/theora/gsttheoradec.h \
487 $(top_srcdir)/ext/theora/gsttheoraenc.h \
488 $(top_srcdir)/ext/theora/gsttheoraparse.h \
489 $(top_srcdir)/ext/vorbis/gstvorbisdec.h \
490 $(top_srcdir)/ext/vorbis/gstvorbisenc.h \
491 $(top_srcdir)/ext/vorbis/gstvorbisparse.h \
492 $(top_srcdir)/ext/vorbis/gstvorbistag.h \
493 $(top_srcdir)/gst/adder/gstadder.h \
494 $(top_srcdir)/gst/audioconvert/audioconvert.h \
495 $(top_srcdir)/gst/audioconvert/gstaudioconvert.h \
496 $(top_srcdir)/gst/audiotestsrc/gstaudiotestsrc.h \
497 $(top_srcdir)/gst/encoding/gstencodebin.h \
498 $(top_srcdir)/gst/ffmpegcolorspace/gstffmpegcolorspace.h \
499 $(top_srcdir)/gst/gdp/gstgdpdepay.h \
500 $(top_srcdir)/gst/gdp/gstgdppay.h \
501 $(top_srcdir)/gst/playback/gstplay-enum.h \
502 $(top_srcdir)/gst/playback/gstsubtitleoverlay.h \
503 $(top_srcdir)/gst/audiorate/gstaudiorate.h \
504 $(top_srcdir)/gst/audioresample/gstaudioresample.h \
505 $(top_srcdir)/gst/tcp/gstmultifdsink.h \
506 $(top_srcdir)/gst/tcp/gsttcpclientsrc.h \
507 $(top_srcdir)/gst/tcp/gsttcpclientsink.h \
508 $(top_srcdir)/gst/tcp/gsttcpserversrc.h \
509 $(top_srcdir)/gst/tcp/gsttcpserversink.h \
510 $(top_builddir)/gst/tcp/gsttcp-enumtypes.h \
511 $(top_srcdir)/gst/tcp/gsttcp.h \
512 $(top_srcdir)/gst/videorate/gstvideorate.h \
513 $(top_srcdir)/gst/videoscale/gstvideoscale.h \
514 $(top_srcdir)/gst/videotestsrc/gstvideotestsrc.h \
515 $(top_srcdir)/gst/volume/gstvolume.h \
516 $(top_srcdir)/sys/ximage/ximagesink.h \
517 $(top_srcdir)/sys/xvimage/xvimagesink.h \
518 $(top_srcdir)/gst-libs/gst/app/gstappsrc.h \
519 $(top_srcdir)/gst-libs/gst/app/gstappsink.h
522 # Images to copy into HTML directory.
525 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
528 # Other files to distribute.
531 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
532 # contains GtkObjects/GObjects and you want to document signals and properties.
533 GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir) -I$(top_builddir)/gst-libs
534 GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_BASE_LIBS)
535 GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC)
536 GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC)
538 # If you need to override some of the declarations, place them in this file
539 # and uncomment this line.
540 #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
543 # We set GPATH here; this gives us semantics for GNU make
544 # which are more like other make's VPATH, when it comes to
545 # whether a source that is a target of one rule is then
546 # searched for in VPATH/GPATH.
550 # thomas: make docs parallel installable
551 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@
552 MAINTAINER_DOC_STAMPS = \
556 $(MAINTAINER_DOC_STAMPS) \
557 $(srcdir)/inspect/*.xml \
562 $(DOC_MAIN_SGML_FILE) \
564 $(DOC_MODULE)-sections.txt
567 # we don't add scanobj-build.stamp here since they are built manually by docs
568 # maintainers and result is commited to git
580 # files generated/updated by gtkdoc-scangobj
582 $(DOC_MODULE).signals \
583 $(DOC_MODULE).hierarchy \
584 $(DOC_MODULE).interfaces \
585 $(DOC_MODULE).prerequisites \
586 $(DOC_MODULE).types \
590 .libs/$(DOC_MODULE)-scan.o
593 # files generated/updated by gtkdoc-scan
595 $(DOC_MODULE)-sections.txt \
596 $(DOC_MODULE)-overrides.txt \
597 $(DOC_MODULE)-decl.txt \
598 $(DOC_MODULE)-decl-list.txt
601 $(DOC_MODULE)-undocumented.txt \
602 $(DOC_MODULE)-undeclared.txt \
603 $(DOC_MODULE)-unused.txt
606 # FC3 seems to need -scan.c to be part of CLEANFILES for distcheck
607 # no idea why FC4 can do without
610 $(DOC_MODULE)-scan.c \
615 INSPECT_DIR = inspect
617 ### inspect GStreamer plug-ins; done by documentation maintainer ###
619 # only look at the plugins in this module when building inspect .xml stuff
620 @ENABLE_GTK_DOC_TRUE@INSPECT_REGISTRY = $(top_builddir)/docs/plugins/inspect-registry.xml
621 @ENABLE_GTK_DOC_TRUE@INSPECT_ENVIRONMENT = \
622 @ENABLE_GTK_DOC_TRUE@ LC_ALL=C \
623 @ENABLE_GTK_DOC_TRUE@ GST_PLUGIN_SYSTEM_PATH= \
624 @ENABLE_GTK_DOC_TRUE@ GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins:$(top_builddir)/src:$(top_builddir)/gnl \
625 @ENABLE_GTK_DOC_TRUE@ GST_REGISTRY=$(INSPECT_REGISTRY) \
626 @ENABLE_GTK_DOC_TRUE@ PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
627 @ENABLE_GTK_DOC_TRUE@ $(INSPECT_EXTRA_ENVIRONMENT)
629 MAINTAINERCLEANFILES = $(MAINTAINER_DOC_STAMPS)
631 # wildcard is apparently not portable to other makes, hence the use of find
632 inspect_files = $(shell find $(srcdir)/$(INSPECT_DIR) -name '*.xml')
636 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/common/upload-doc.mak $(top_srcdir)/common/gtk-doc-plugins.mak $(am__configure_deps)
638 case '$(am__configure_deps)' in \
640 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
641 && { if test -f $@; then exit 0; else break; fi; }; \
645 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/plugins/Makefile'; \
646 $(am__cd) $(top_srcdir) && \
647 $(AUTOMAKE) --gnu docs/plugins/Makefile
649 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
652 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
654 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
655 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
658 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
659 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
661 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
662 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
663 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
664 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
665 $(am__aclocal_m4_deps):
679 distdir: $(DISTFILES)
680 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
681 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
682 list='$(DISTFILES)'; \
683 dist_files=`for file in $$list; do echo $$file; done | \
684 sed -e "s|^$$srcdirstrip/||;t" \
685 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
686 case $$dist_files in \
687 */*) $(MKDIR_P) `echo "$$dist_files" | \
688 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
691 for file in $$dist_files; do \
692 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
693 if test -d $$d/$$file; then \
694 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
695 if test -d "$(distdir)/$$file"; then \
696 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
698 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
699 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
700 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
702 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
704 test -f "$(distdir)/$$file" \
705 || cp -p $$d/$$file "$(distdir)/$$file" \
709 $(MAKE) $(AM_MAKEFLAGS) \
710 top_distdir="$(top_distdir)" distdir="$(distdir)" \
714 all-am: Makefile all-local
717 install-exec: install-exec-am
718 install-data: install-data-am
719 uninstall: uninstall-am
722 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
724 installcheck: installcheck-am
726 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
727 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
728 `test -z '$(STRIP)' || \
729 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
733 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
736 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
737 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
739 maintainer-clean-generic:
740 @echo "This command is intended for maintainers to use"
741 @echo "it deletes files that may require special tools to rebuild."
742 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
745 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
747 distclean: distclean-am
749 distclean-am: clean-am distclean-generic distclean-local
761 install-data-am: install-data-local
763 install-dvi: install-dvi-am
769 install-html: install-html-am
773 install-info: install-info-am
779 install-pdf: install-pdf-am
783 install-ps: install-ps-am
789 maintainer-clean: maintainer-clean-am
791 maintainer-clean-am: distclean-am maintainer-clean-generic
793 mostlyclean: mostlyclean-am
795 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
805 uninstall-am: uninstall-local
807 .MAKE: install-am install-strip
809 .PHONY: all all-am all-local check check-am clean clean-generic \
810 clean-libtool clean-local dist-hook distclean \
811 distclean-generic distclean-libtool distclean-local distdir \
812 dvi dvi-am html html-am info info-am install install-am \
813 install-data install-data-am install-data-local install-dvi \
814 install-dvi-am install-exec install-exec-am install-html \
815 install-html-am install-info install-info-am install-man \
816 install-pdf install-pdf-am install-ps install-ps-am \
817 install-strip installcheck installcheck-am installdirs \
818 maintainer-clean maintainer-clean-generic mostlyclean \
819 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
820 uninstall uninstall-am uninstall-local
822 html: html-build.stamp
825 @if echo $(FORMATS) | grep html > /dev/null; then \
826 echo "Preparing docs for upload (rebasing cross-references) ..." ; \
827 if test x$(builddir) != x$(srcdir); then \
828 echo "make upload can only be used if srcdir == builddir"; \
831 # gtkdoc-rebase sometimes gets confused, so reset everything to \
832 # local links before rebasing to online links \
833 gtkdoc-rebase --html-dir=$(builddir)/html 2>/dev/null 2>/dev/null ; \
834 rebase=`gtkdoc-rebase --verbose --online --html-dir=$(builddir)/html` ; \
835 echo "$$rebase" | grep -e "On-*line"; \
836 for req in glib gobject gstreamer gstreamer-libs gst-plugins-base-libs; do \
837 if ! ( echo "$$rebase" | grep -i -e "On-*line.*/$$req/" ); then \
838 echo "===============================================================================" ; \
839 echo " Could not determine online location for $$req docs. Cross-referencing will be " ; \
840 echo " broken, so not uploading. Make sure the library's gtk-doc documentation is " ; \
841 echo " installed somewhere in /usr/share/gtk-doc. " ; \
842 echo "===============================================================================" ; \
846 export SRC="$$SRC html"; \
848 if echo $(FORMATS) | grep ps > /dev/null; then export SRC="$$SRC $(DOC).ps"; fi; \
849 if echo $(FORMATS) | grep pdf > /dev/null; then export SRC="$$SRC $(DOC).pdf"; fi; \
851 # upload releases to both 0.10.X/ and head/ subdirectories \
852 if test "x$(PACKAGE_VERSION_NANO)" = x0; then \
853 export DIR=$(DOC_BASE)/gstreamer/$(VERSION)/$(DOC); \
854 echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
855 ssh $(DOC_SERVER) mkdir -p $$DIR; \
856 rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
857 ssh $(DOC_SERVER) chmod -R g+w $$DIR; \
860 export DIR=$(DOC_BASE)/gstreamer/head/$(DOC); \
861 echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
862 ssh $(DOC_SERVER) mkdir -p $$DIR; \
863 rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
864 ssh $(DOC_SERVER) chmod -R g+w $$DIR; \
866 if echo $(FORMATS) | grep html > /dev/null; then \
867 echo "Un-preparing docs for upload (rebasing cross-references) ..." ; \
868 gtkdoc-rebase --html-dir=$(builddir)/html ; \
874 @echo "If you are a doc maintainer, run 'make update' to update"
875 @echo "the documentation files maintained in git"
877 @echo Other useful make targets:
879 @echo check-inspected-versions: make sure the inspected plugin info
880 @echo is up to date before a release
883 # update the stuff maintained by doc maintainers
885 $(MAKE) scanobj-update
886 $(MAKE) check-outdated-docs
888 @ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
890 # update the element and plugin XML descriptions; store in inspect/
891 @ENABLE_GTK_DOC_TRUE@inspect:
892 @ENABLE_GTK_DOC_TRUE@ @-mkdir -p $(INSPECT_DIR)
894 #### scan gobjects; done by documentation maintainer ####
895 @ENABLE_GTK_DOC_TRUE@scanobj-update:
896 @ENABLE_GTK_DOC_TRUE@ -rm scanobj-build.stamp
897 @ENABLE_GTK_DOC_TRUE@ $(MAKE) scanobj-build.stamp
899 # TODO: finish elite script that updates the output files of this step
900 # instead of rewriting them, so that multiple maintainers can generate
901 # a collective set of args and signals
902 @ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect
903 @ENABLE_GTK_DOC_TRUE@ @echo '*** Scanning GObjects ***'
904 @ENABLE_GTK_DOC_TRUE@ @if test x"$(srcdir)" != x. ; then \
905 @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \
906 @ENABLE_GTK_DOC_TRUE@ do \
907 @ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi; \
908 @ENABLE_GTK_DOC_TRUE@ done; \
909 @ENABLE_GTK_DOC_TRUE@ fi; \
910 @ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \
911 @ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" \
912 @ENABLE_GTK_DOC_TRUE@ CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)" \
913 @ENABLE_GTK_DOC_TRUE@ LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
914 @ENABLE_GTK_DOC_TRUE@ $(GST_DOC_SCANOBJ) --type-init-func="gst_init(NULL,NULL)" \
915 @ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir=$(INSPECT_DIR) && \
916 @ENABLE_GTK_DOC_TRUE@ $(PYTHON) \
917 @ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE); \
918 @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \
919 @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES); \
920 @ENABLE_GTK_DOC_TRUE@ do \
921 @ENABLE_GTK_DOC_TRUE@ cmp -s ./$$f $(srcdir)/$$f || cp ./$$f $(srcdir)/ ; \
922 @ENABLE_GTK_DOC_TRUE@ done; \
923 @ENABLE_GTK_DOC_TRUE@ fi; \
924 @ENABLE_GTK_DOC_TRUE@ touch scanobj-build.stamp
926 @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
927 @ENABLE_GTK_DOC_TRUE@ @true
929 ### scan headers; done on every build ###
930 @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp
931 @ENABLE_GTK_DOC_TRUE@ @echo '*** Scanning header files ***'
932 @ENABLE_GTK_DOC_TRUE@ gtkdoc-scan \
933 @ENABLE_GTK_DOC_TRUE@ $(SCAN_OPTIONS) $(EXTRA_HFILES) \
934 @ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) \
935 @ENABLE_GTK_DOC_TRUE@ --source-dir=$(DOC_SOURCE_DIR) \
936 @ENABLE_GTK_DOC_TRUE@ --ignore-headers="$(IGNORE_HFILES)"; \
937 @ENABLE_GTK_DOC_TRUE@ touch scan-build.stamp
939 #### update templates; done on every build ####
941 ### FIXME: make this error out again when docs are fixed for 0.X
942 # in a non-srcdir build, we need to copy files from the previous step
943 # and the files from previous runs of this step
944 @ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
945 @ENABLE_GTK_DOC_TRUE@ @echo '*** Rebuilding template files ***'
946 @ENABLE_GTK_DOC_TRUE@ @if test x"$(srcdir)" != x. ; then \
947 @ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \
948 @ENABLE_GTK_DOC_TRUE@ do \
949 @ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi; \
950 @ENABLE_GTK_DOC_TRUE@ done; \
951 @ENABLE_GTK_DOC_TRUE@ fi
952 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mktmpl --module=$(DOC_MODULE) | tee tmpl-build.log
953 @ENABLE_GTK_DOC_TRUE@ $(PYTHON) \
954 @ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/mangle-tmpl.py $(srcdir)/$(INSPECT_DIR) tmpl
955 @ENABLE_GTK_DOC_TRUE@ @rm -f tmpl-build.log
956 @ENABLE_GTK_DOC_TRUE@ touch tmpl-build.stamp
958 @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
959 @ENABLE_GTK_DOC_TRUE@ @true
961 #### build xml; done on every build ####
963 ### FIXME: make this error out again when docs are fixed for 0.9
964 @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
965 @ENABLE_GTK_DOC_TRUE@ @echo '*** Building XML ***'
966 @ENABLE_GTK_DOC_TRUE@ @-mkdir -p xml
967 @ENABLE_GTK_DOC_TRUE@ @for a in $(srcdir)/$(INSPECT_DIR)/*.xml; do \
968 @ENABLE_GTK_DOC_TRUE@ xsltproc --stringparam module $(MODULE) \
969 @ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done
970 @ENABLE_GTK_DOC_TRUE@ @for f in $(EXAMPLE_CFILES); do \
971 @ENABLE_GTK_DOC_TRUE@ $(PYTHON) $(top_srcdir)/common/c-to-xml.py $$f > xml/element-`basename $$f .c`.xml; done
972 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb \
973 @ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) \
974 @ENABLE_GTK_DOC_TRUE@ --source-dir=$(DOC_SOURCE_DIR) \
975 @ENABLE_GTK_DOC_TRUE@ --expand-content-files="$(expand_content_files)" \
976 @ENABLE_GTK_DOC_TRUE@ --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \
977 @ENABLE_GTK_DOC_TRUE@ --output-format=xml \
978 @ENABLE_GTK_DOC_TRUE@ --ignore-files="$(IGNORE_HFILES) $(IGNORE_CFILES)" \
979 @ENABLE_GTK_DOC_TRUE@ $(MKDB_OPTIONS) \
980 @ENABLE_GTK_DOC_TRUE@ | tee sgml-build.log
981 @ENABLE_GTK_DOC_TRUE@ @if grep "WARNING:" sgml-build.log > /dev/null; then true; fi # exit 1; fi
982 @ENABLE_GTK_DOC_TRUE@ cp ../version.entities xml
983 @ENABLE_GTK_DOC_TRUE@ rm sgml-build.log
984 @ENABLE_GTK_DOC_TRUE@ touch sgml-build.stamp
986 @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
987 @ENABLE_GTK_DOC_TRUE@ @true
989 #### build html; done on every step ####
991 @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
992 @ENABLE_GTK_DOC_TRUE@ @echo '*** Building HTML ***'
993 @ENABLE_GTK_DOC_TRUE@ if test -d html; then rm -rf html; fi
994 @ENABLE_GTK_DOC_TRUE@ mkdir html
995 @ENABLE_GTK_DOC_TRUE@ cp $(srcdir)/$(DOC_MAIN_SGML_FILE) html
996 @ENABLE_GTK_DOC_TRUE@ @for f in $(content_files); do cp $(srcdir)/$$f html; done
997 @ENABLE_GTK_DOC_TRUE@ cp -pr xml html
998 @ENABLE_GTK_DOC_TRUE@ cp ../version.entities html
999 @ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
1000 @ENABLE_GTK_DOC_TRUE@ mv html/index.sgml html/index.sgml.bak
1001 @ENABLE_GTK_DOC_TRUE@ $(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
1002 @ENABLE_GTK_DOC_TRUE@ rm -f html/index.sgml.bak
1003 @ENABLE_GTK_DOC_TRUE@ rm -f html/$(DOC_MAIN_SGML_FILE)
1004 @ENABLE_GTK_DOC_TRUE@ rm -rf html/xml
1005 @ENABLE_GTK_DOC_TRUE@ rm -f html/version.entities
1006 @ENABLE_GTK_DOC_TRUE@ test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
1007 @ENABLE_GTK_DOC_TRUE@ if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
1008 @ENABLE_GTK_DOC_TRUE@ @echo '-- Fixing Crossreferences'
1009 @ENABLE_GTK_DOC_TRUE@ gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
1010 @ENABLE_GTK_DOC_TRUE@ touch html-build.stamp
1012 @ENABLE_GTK_DOC_TRUE@clean-local-gtkdoc:
1013 @ENABLE_GTK_DOC_TRUE@ rm -rf xml tmpl html
1014 # clean files copied for nonsrcdir templates build
1015 @ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \
1016 @ENABLE_GTK_DOC_TRUE@ rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(REPORT_FILES) \
1017 @ENABLE_GTK_DOC_TRUE@ $(MAINTAINER_DOC_STAMPS); \
1018 @ENABLE_GTK_DOC_TRUE@ fi
1019 @ENABLE_GTK_DOC_FALSE@all-local:
1020 @ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc:
1022 clean-local: clean-local-gtkdoc
1027 rm -f $(REPORT_FILES) \
1028 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
1029 rm -rf tmpl/*.sgml.bak
1030 rm -f $(DOC_MODULE).hierarchy
1031 rm -f *.stamp || true
1032 if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1033 rm -f $(DOC_MODULE)-docs.sgml ; \
1034 rm -f $(DOC_MODULE).types ; \
1035 rm -f $(DOC_MODULE).interfaces ; \
1036 rm -f $(DOC_MODULE)-overrides.txt ; \
1037 rm -f $(DOC_MODULE).prerequisites ; \
1038 rm -f $(DOC_MODULE)-sections.txt ; \
1039 rm -rf tmpl/*.sgml ; \
1040 rm -rf $(INSPECT_DIR); \
1044 # thomas: make docs parallel installable; devhelp requires majorminor too
1046 (installfiles=`echo $(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css`; \
1047 if test "$$installfiles" = '$(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css'; \
1048 then echo '-- Nothing to install' ; \
1050 $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
1051 for i in $$installfiles; do \
1052 echo '-- Installing '$$i ; \
1053 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
1055 pngfiles=`echo ./html/*.png`; \
1056 if test "$$pngfiles" != './html/*.png'; then \
1057 for i in $$pngfiles; do \
1058 echo '-- Installing '$$i ; \
1059 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
1062 echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp' ; \
1063 $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp \
1064 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
1065 if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
1066 $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
1067 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
1069 (which gtkdoc-rebase >/dev/null && \
1070 gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
1073 if test -d $(DESTDIR)$(TARGET_DIR); then \
1074 rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
1075 rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \
1077 echo '-- Nothing to uninstall' ; \
1083 @ENABLE_GTK_DOC_TRUE@check-hierarchy: $(DOC_MODULE).hierarchy
1084 @ENABLE_GTK_DOC_TRUE@ @if grep ' ' $(DOC_MODULE).hierarchy; then \
1085 @ENABLE_GTK_DOC_TRUE@ echo "$(DOC_MODULE).hierarchy contains tabs, please fix"; \
1086 @ENABLE_GTK_DOC_TRUE@ /bin/false; \
1087 @ENABLE_GTK_DOC_TRUE@ fi
1089 @ENABLE_GTK_DOC_TRUE@check: check-hierarchy
1091 check-inspected-versions:
1092 @echo Checking plugin versions of inspected plugin data ...; \
1094 for each in $(inspect_files) ; do \
1095 if (grep -H '<version>' $$each | grep -v '<version>$(VERSION)'); then \
1096 echo $$each should be fixed to say version $(VERSION) or be removed ; \
1097 echo "sed -i -e 's/<version.*version>/<version>$(VERSION)<\/version>/'" $$each; \
1104 check-outdated-docs:
1105 $(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \
1107 if [ -d $(top_srcdir)/.git/ ]; then \
1108 files=`find $(srcdir)/inspect/ -name '*xml'`; \
1109 for f in $$files; do \
1110 ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \
1111 if test "x$$ver" = "x"; then \
1112 plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \
1113 # echo "Checking $$plugin $$f"; \
1114 pushd "$(top_srcdir)" >/dev/null; \
1115 pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \
1117 # echo "[$$pinit]"; \
1118 if test "x$$pinit" = "x"; then \
1119 printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \
1128 # Require gtk-doc when making dist
1130 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
1131 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
1132 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
1133 @ENABLE_GTK_DOC_FALSE@ @false
1135 # FIXME: decide whether we want to dist generated html or not
1136 # also this only works, if the project has been build before
1137 # we could dist html only if its there, but that might lead to missing html in
1139 dist-hook: dist-check-gtkdoc dist-hook-local
1140 mkdir $(distdir)/html
1141 cp html/* $(distdir)/html
1142 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
1143 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
1144 cd $(distdir) && rm -f $(DISTCLEANFILES)
1145 -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
1147 .PHONY : dist-hook-local docs check-outdated-docs inspect
1149 # avoid spurious build errors when distchecking with -jN
1152 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1153 # Otherwise a system limit (for SysV at least) may be exceeded.