tizen 2.3 release
[framework/multimedia/gst-plugins-base0.10.git] / docs / plugins / Makefile.in
1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6 # Foundation, Inc.
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.
10
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
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # this snippet is to be included by both our docbook manuals
19 # and gtk-doc API references
20
21 # it adds an upload target to each of these dir's Makefiles
22
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
27 #            (html ps pdf)
28
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
31
32 # This is an include file specifically tuned for building documentation
33 # for GStreamer plug-ins
34 VPATH = @srcdir@
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)
45 NORMAL_INSTALL = :
46 PRE_INSTALL = :
47 POST_INSTALL = :
48 NORMAL_UNINSTALL = :
49 PRE_UNINSTALL = :
50 POST_UNINSTALL = :
51 build_triplet = @build@
52 host_triplet = @host@
53 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
54         $(top_srcdir)/common/gtk-doc-plugins.mak \
55         $(top_srcdir)/common/upload-doc.mak
56 subdir = docs/plugins
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-platform.m4 \
77         $(top_srcdir)/common/m4/gst-plugin-docs.m4 \
78         $(top_srcdir)/common/m4/gst-plugindir.m4 \
79         $(top_srcdir)/common/m4/gst-x11.m4 \
80         $(top_srcdir)/common/m4/gst.m4 \
81         $(top_srcdir)/common/m4/gtk-doc.m4 \
82         $(top_srcdir)/common/m4/introspection.m4 \
83         $(top_srcdir)/common/m4/orc.m4 $(top_srcdir)/common/m4/pkg.m4 \
84         $(top_srcdir)/m4/freetype2.m4 $(top_srcdir)/m4/gettext.m4 \
85         $(top_srcdir)/m4/gst-alsa.m4 $(top_srcdir)/m4/gst-fionread.m4 \
86         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
87         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
88         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
89         $(top_srcdir)/m4/lrint.m4 $(top_srcdir)/m4/lrintf.m4 \
90         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
91         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
92         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/ogg.m4 \
93         $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
94         $(top_srcdir)/m4/vorbis.m4 $(top_srcdir)/configure.ac
95 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96         $(ACLOCAL_M4)
97 mkinstalldirs = $(install_sh) -d
98 CONFIG_HEADER = $(top_builddir)/config.h
99 CONFIG_CLEAN_FILES =
100 CONFIG_CLEAN_VPATH_FILES =
101 AM_V_GEN = $(am__v_GEN_@AM_V@)
102 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
103 am__v_GEN_0 = @echo "  GEN   " $@;
104 AM_V_at = $(am__v_at_@AM_V@)
105 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
106 am__v_at_0 = @
107 SOURCES =
108 DIST_SOURCES =
109 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
110 ACLOCAL = @ACLOCAL@
111 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
112 ALSA_CFLAGS = @ALSA_CFLAGS@
113 ALSA_LIBS = @ALSA_LIBS@
114 AMTAR = @AMTAR@
115 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
116 AR = @AR@
117 AS = @AS@
118 AUDIORESAMPLE_FORMAT_AUTO = @AUDIORESAMPLE_FORMAT_AUTO@
119 AUDIORESAMPLE_FORMAT_FLOAT = @AUDIORESAMPLE_FORMAT_FLOAT@
120 AUDIORESAMPLE_FORMAT_INT = @AUDIORESAMPLE_FORMAT_INT@
121 AUTOCONF = @AUTOCONF@
122 AUTOHEADER = @AUTOHEADER@
123 AUTOMAKE = @AUTOMAKE@
124 AWK = @AWK@
125 CC = @CC@
126 CCASFLAGS = @CCASFLAGS@
127 CCDEPMODE = @CCDEPMODE@
128 CDPARANOIA_CFLAGS = @CDPARANOIA_CFLAGS@
129 CDPARANOIA_LIBS = @CDPARANOIA_LIBS@
130 CFLAGS = @CFLAGS@
131 CPP = @CPP@
132 CPPFLAGS = @CPPFLAGS@
133 CXX = @CXX@
134 CXXCPP = @CXXCPP@
135 CXXDEPMODE = @CXXDEPMODE@
136 CXXFLAGS = @CXXFLAGS@
137 CYGPATH_W = @CYGPATH_W@
138 DEFAULT_AUDIOSINK = @DEFAULT_AUDIOSINK@
139 DEFAULT_AUDIOSRC = @DEFAULT_AUDIOSRC@
140 DEFAULT_VIDEOSINK = @DEFAULT_VIDEOSINK@
141 DEFAULT_VIDEOSRC = @DEFAULT_VIDEOSRC@
142 DEFAULT_VISUALIZER = @DEFAULT_VISUALIZER@
143 DEFS = @DEFS@
144 DEPDIR = @DEPDIR@
145 DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@
146 DLLTOOL = @DLLTOOL@
147 DSYMUTIL = @DSYMUTIL@
148 DUMPBIN = @DUMPBIN@
149 ECHO_C = @ECHO_C@
150 ECHO_N = @ECHO_N@
151 ECHO_T = @ECHO_T@
152 EGREP = @EGREP@
153 ERROR_CFLAGS = @ERROR_CFLAGS@
154 ERROR_CXXFLAGS = @ERROR_CXXFLAGS@
155 EXEEXT = @EXEEXT@
156 FFLAGS = @FFLAGS@
157 FGREP = @FGREP@
158 FT2_CFLAGS = @FT2_CFLAGS@
159 FT2_CONFIG = @FT2_CONFIG@
160 FT2_LIBS = @FT2_LIBS@
161 GCOV = @GCOV@
162 GCOV_CFLAGS = @GCOV_CFLAGS@
163 GCOV_LIBS = @GCOV_LIBS@
164 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
165 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
166 GIO_CFLAGS = @GIO_CFLAGS@
167 GIO_LDFLAGS = @GIO_LDFLAGS@
168 GIO_LIBS = @GIO_LIBS@
169 GLIB_CFLAGS = @GLIB_CFLAGS@
170 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
171 GLIB_LIBS = @GLIB_LIBS@
172 GLIB_PREFIX = @GLIB_PREFIX@
173 GLIB_REQ = @GLIB_REQ@
174 GMSGFMT = @GMSGFMT@
175 GMSGFMT_015 = @GMSGFMT_015@
176 GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@
177 GNOME_VFS_LIBS = @GNOME_VFS_LIBS@
178 GREP = @GREP@
179 GST_AGE = @GST_AGE@
180 GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@
181 GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
182 GST_BASE_LIBS = @GST_BASE_LIBS@
183 GST_CFLAGS = @GST_CFLAGS@
184 GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@
185 GST_CHECK_LIBS = @GST_CHECK_LIBS@
186 GST_CONTROLLER_CFLAGS = @GST_CONTROLLER_CFLAGS@
187 GST_CONTROLLER_LIBS = @GST_CONTROLLER_LIBS@
188 GST_CURRENT = @GST_CURRENT@
189 GST_CXXFLAGS = @GST_CXXFLAGS@
190 GST_DISABLE_ALLOC_TRACE = @GST_DISABLE_ALLOC_TRACE@
191 GST_DISABLE_GST_DEBUG = @GST_DISABLE_GST_DEBUG@
192 GST_DISABLE_LOADSAVE = @GST_DISABLE_LOADSAVE@
193 GST_DISABLE_PARSE = @GST_DISABLE_PARSE@
194 GST_DISABLE_PLUGIN = @GST_DISABLE_PLUGIN@
195 GST_DISABLE_REGISTRY = @GST_DISABLE_REGISTRY@
196 GST_DISABLE_TRACE = @GST_DISABLE_TRACE@
197 GST_DISABLE_XML = @GST_DISABLE_XML@
198 GST_GDP_CFLAGS = @GST_GDP_CFLAGS@
199 GST_GDP_LIBS = @GST_GDP_LIBS@
200 GST_INSTALL_PLUGINS_HELPER = @GST_INSTALL_PLUGINS_HELPER@
201 GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@
202 GST_LIBS = @GST_LIBS@
203 GST_LIBVERSION = @GST_LIBVERSION@
204 GST_LIB_LDFLAGS = @GST_LIB_LDFLAGS@
205 GST_LICENSE = @GST_LICENSE@
206 GST_LT_LDFLAGS = @GST_LT_LDFLAGS@
207 GST_MAJORMINOR = @GST_MAJORMINOR@
208 GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@
209 GST_OPTION_CXXFLAGS = @GST_OPTION_CXXFLAGS@
210 GST_PACKAGE_NAME = @GST_PACKAGE_NAME@
211 GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@
212 GST_PKG_CONFIG_PATH = @GST_PKG_CONFIG_PATH@
213 GST_PLUGINS_ALL = @GST_PLUGINS_ALL@
214 GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@
215 GST_PLUGINS_DIR = @GST_PLUGINS_DIR@
216 GST_PLUGINS_SELECTED = @GST_PLUGINS_SELECTED@
217 GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
218 GST_PREFIX = @GST_PREFIX@
219 GST_REVISION = @GST_REVISION@
220 GST_TOOLS_DIR = @GST_TOOLS_DIR@
221 GTKDOC_CHECK = @GTKDOC_CHECK@
222 GTK_CFLAGS = @GTK_CFLAGS@
223 GTK_LIBS = @GTK_LIBS@
224 GTK_X11_CFLAGS = @GTK_X11_CFLAGS@
225 GTK_X11_LIBS = @GTK_X11_LIBS@
226 GUDEV_CFLAGS = @GUDEV_CFLAGS@
227 GUDEV_LIBS = @GUDEV_LIBS@
228 HAVE_CDPARANOIA = @HAVE_CDPARANOIA@
229 HAVE_X = @HAVE_X@
230 HAVE_XSHM = @HAVE_XSHM@
231 HAVE_ZLIB = @HAVE_ZLIB@
232 HSTRERROR_LIBS = @HSTRERROR_LIBS@
233 HTML_DIR = @HTML_DIR@
234 INSTALL = @INSTALL@
235 INSTALL_DATA = @INSTALL_DATA@
236 INSTALL_PROGRAM = @INSTALL_PROGRAM@
237 INSTALL_SCRIPT = @INSTALL_SCRIPT@
238 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
239 INTLLIBS = @INTLLIBS@
240 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
241 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
242 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
243 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
244 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
245 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
246 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
247 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
248 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
249 IVORBIS_CFLAGS = @IVORBIS_CFLAGS@
250 IVORBIS_LIBS = @IVORBIS_LIBS@
251 LD = @LD@
252 LDFLAGS = @LDFLAGS@
253 LIBICONV = @LIBICONV@
254 LIBINTL = @LIBINTL@
255 LIBM = @LIBM@
256 LIBOBJS = @LIBOBJS@
257 LIBS = @LIBS@
258 LIBTOOL = @LIBTOOL@
259 LIBVISUAL_CFLAGS = @LIBVISUAL_CFLAGS@
260 LIBVISUAL_LIBS = @LIBVISUAL_LIBS@
261 LIPO = @LIPO@
262 LN_S = @LN_S@
263 LOCALEDIR = @LOCALEDIR@
264 LTLIBICONV = @LTLIBICONV@
265 LTLIBINTL = @LTLIBINTL@
266 LTLIBOBJS = @LTLIBOBJS@
267 MAINT = @MAINT@
268 MAKEINFO = @MAKEINFO@
269 MANIFEST_TOOL = @MANIFEST_TOOL@
270 MKDIR_P = @MKDIR_P@
271 MSGFMT = @MSGFMT@
272 MSGFMT_015 = @MSGFMT_015@
273 MSGMERGE = @MSGMERGE@
274 NM = @NM@
275 NMEDIT = @NMEDIT@
276 OBJDUMP = @OBJDUMP@
277 OBJEXT = @OBJEXT@
278 OGG_CFLAGS = @OGG_CFLAGS@
279 OGG_LIBS = @OGG_LIBS@
280 ORCC = @ORCC@
281 ORCC_FLAGS = @ORCC_FLAGS@
282 ORC_CFLAGS = @ORC_CFLAGS@
283 ORC_LIBS = @ORC_LIBS@
284 OTOOL = @OTOOL@
285 OTOOL64 = @OTOOL64@
286 PACKAGE = @PACKAGE@
287 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
288 PACKAGE_NAME = @PACKAGE_NAME@
289 PACKAGE_STRING = @PACKAGE_STRING@
290 PACKAGE_TARNAME = @PACKAGE_TARNAME@
291 PACKAGE_URL = @PACKAGE_URL@
292 PACKAGE_VERSION = @PACKAGE_VERSION@
293 PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
294 PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
295 PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
296 PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
297 PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
298 PANGO_CFLAGS = @PANGO_CFLAGS@
299 PANGO_LIBS = @PANGO_LIBS@
300 PATH_SEPARATOR = @PATH_SEPARATOR@
301 PKG_CONFIG = @PKG_CONFIG@
302 PLUGINDIR = @PLUGINDIR@
303 POSUB = @POSUB@
304 PROFILE_CFLAGS = @PROFILE_CFLAGS@
305 PYTHON = @PYTHON@
306 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
307 PYTHON_PLATFORM = @PYTHON_PLATFORM@
308 PYTHON_PREFIX = @PYTHON_PREFIX@
309 PYTHON_VERSION = @PYTHON_VERSION@
310 QT4_MOC = @QT4_MOC@
311 QT_CFLAGS = @QT_CFLAGS@
312 QT_LIBS = @QT_LIBS@
313 RANLIB = @RANLIB@
314 SED = @SED@
315 SET_MAKE = @SET_MAKE@
316 SHELL = @SHELL@
317 STRIP = @STRIP@
318 THEORA_CFLAGS = @THEORA_CFLAGS@
319 THEORA_LIBS = @THEORA_LIBS@
320 USE_NLS = @USE_NLS@
321 VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
322 VALGRIND_LIBS = @VALGRIND_LIBS@
323 VALGRIND_PATH = @VALGRIND_PATH@
324 VERSION = @VERSION@
325 VORBISENC_LIBS = @VORBISENC_LIBS@
326 VORBISFILE_LIBS = @VORBISFILE_LIBS@
327 VORBIS_CFLAGS = @VORBIS_CFLAGS@
328 VORBIS_LIBS = @VORBIS_LIBS@
329 WARNING_CFLAGS = @WARNING_CFLAGS@
330 WARNING_CXXFLAGS = @WARNING_CXXFLAGS@
331 WIN32_LIBS = @WIN32_LIBS@
332 XGETTEXT = @XGETTEXT@
333 XGETTEXT_015 = @XGETTEXT_015@
334 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
335 XMKMF = @XMKMF@
336 XSHM_LIBS = @XSHM_LIBS@
337 XVIDEO_LIBS = @XVIDEO_LIBS@
338 X_CFLAGS = @X_CFLAGS@
339 X_EXTRA_LIBS = @X_EXTRA_LIBS@
340 X_LIBS = @X_LIBS@
341 X_PRE_LIBS = @X_PRE_LIBS@
342 ZLIB_CFLAGS = @ZLIB_CFLAGS@
343 ZLIB_LIBS = @ZLIB_LIBS@
344 abs_builddir = @abs_builddir@
345 abs_srcdir = @abs_srcdir@
346 abs_top_builddir = @abs_top_builddir@
347 abs_top_srcdir = @abs_top_srcdir@
348 ac_ct_AR = @ac_ct_AR@
349 ac_ct_CC = @ac_ct_CC@
350 ac_ct_CXX = @ac_ct_CXX@
351 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
352 am__include = @am__include@
353 am__leading_dot = @am__leading_dot@
354 am__quote = @am__quote@
355 am__tar = @am__tar@
356 am__untar = @am__untar@
357 bindir = @bindir@
358 build = @build@
359 build_alias = @build_alias@
360 build_cpu = @build_cpu@
361 build_os = @build_os@
362 build_vendor = @build_vendor@
363 builddir = @builddir@
364 datadir = @datadir@
365 datarootdir = @datarootdir@
366 docdir = @docdir@
367 dvidir = @dvidir@
368 exec_prefix = @exec_prefix@
369 host = @host@
370 host_alias = @host_alias@
371 host_cpu = @host_cpu@
372 host_os = @host_os@
373 host_vendor = @host_vendor@
374 htmldir = @htmldir@
375 includedir = @includedir@
376 infodir = @infodir@
377 install_sh = @install_sh@
378 libdir = @libdir@
379 libexecdir = @libexecdir@
380 localedir = @localedir@
381 localstatedir = @localstatedir@
382 mandir = @mandir@
383 mkdir_p = @mkdir_p@
384 oldincludedir = @oldincludedir@
385 pdfdir = @pdfdir@
386 pkgpyexecdir = @pkgpyexecdir@
387 pkgpythondir = @pkgpythondir@
388 plugindir = @plugindir@
389 prefix = @prefix@
390 program_transform_name = @program_transform_name@
391 psdir = @psdir@
392 pyexecdir = @pyexecdir@
393 pythondir = @pythondir@
394 sbindir = @sbindir@
395 sharedstatedir = @sharedstatedir@
396 srcdir = @srcdir@
397 sysconfdir = @sysconfdir@
398 target_alias = @target_alias@
399 top_build_prefix = @top_build_prefix@
400 top_builddir = @top_builddir@
401 top_srcdir = @top_srcdir@
402 GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
403
404 # The name of the module, e.g. 'glib'.
405 #DOC_MODULE=gst-plugins-libs-@GST_MAJORMINOR@
406 MODULE = gst-plugins-base
407 DOC_MODULE = $(MODULE)-plugins
408
409 # for upload-doc.mak
410 DOC = $(MODULE)-plugins
411 FORMATS = html
412
413 # these variables define the location of the online docs
414 DOC_SERVER = gstreamer.freedesktop.org
415 DOC_BASE = /srv/gstreamer.freedesktop.org/www/data/doc
416 DOC_URL = $(DOC_SERVER):$(DOC_BASE)
417
418 # The top-level SGML file. Change it if you want.
419 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
420
421 # The directory containing the source code.
422 # gtk-doc will search all .c & .h files beneath here for inline comments
423 # documenting functions and macros.
424 DOC_SOURCE_DIR = $(top_srcdir)/gst $(top_srcdir)/ext $(top_srcdir)/sys
425
426 # Extra options to supply to gtkdoc-scan.
427 SCAN_OPTIONS = 
428
429 # Extra options to supply to gtkdoc-mkdb.
430 MKDB_OPTIONS = --sgml-mode
431
432 # Extra options to supply to gtkdoc-fixref.
433 FIXXREF_OPTIONS = --extra-dir=$(top_builddir)/docs/libs/html \
434         --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
435         --extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
436         --extra-dir=$(datadir)/gtk-doc/html
437
438
439 # Used for dependencies.
440 HFILE_GLOB = $(top_srcdir)/gst/*/*.h $(top_srcdir)/ext/*/*.h $(top_srcdir)/sys/*/*.h
441 CFILE_GLOB = $(top_srcdir)/gst/*/*.c $(top_srcdir)/ext/*/*.c $(top_srcdir)/sys/*/*.c
442
443 # Header files to ignore when scanning.
444 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
445 IGNORE_CFILES = utils.c mem.c imgconvert.c
446
447 # we add all .h files of elements that have signals/args we want
448 # sadly this also pulls in the private methods - maybe we should
449 # move those around in the source ?
450 # also, we should add some stuff here conditionally based on whether
451 # or not the plugin will actually build
452 # but I'm not sure about that - it might be this Just Works given that
453 # the registry won't have the element
454 EXTRA_HFILES = \
455         $(top_srcdir)/ext/alsa/gstalsamixerelement.h \
456         $(top_srcdir)/ext/alsa/gstalsasink.h \
457         $(top_srcdir)/ext/alsa/gstalsasrc.h \
458         $(top_srcdir)/ext/cdparanoia/gstcdparanoiasrc.h \
459         $(top_srcdir)/ext/gio/gstgiosink.h \
460         $(top_srcdir)/ext/gio/gstgiosrc.h \
461         $(top_srcdir)/ext/gio/gstgiostreamsink.h \
462         $(top_srcdir)/ext/gio/gstgiostreamsrc.h \
463         $(top_srcdir)/ext/gnomevfs/gstgnomevfssink.h \
464         $(top_srcdir)/ext/gnomevfs/gstgnomevfssrc.h \
465         $(top_srcdir)/ext/ogg/gstoggdemux.h \
466         $(top_srcdir)/ext/ogg/gstoggmux.h \
467         $(top_srcdir)/ext/pango/gstclockoverlay.h \
468         $(top_srcdir)/ext/pango/gsttextoverlay.h \
469         $(top_srcdir)/ext/pango/gsttextrender.h \
470         $(top_srcdir)/ext/pango/gsttimeoverlay.h \
471         $(top_srcdir)/ext/theora/gsttheoradec.h \
472         $(top_srcdir)/ext/theora/gsttheoraenc.h \
473         $(top_srcdir)/ext/theora/gsttheoraparse.h \
474         $(top_srcdir)/ext/vorbis/gstvorbisdec.h \
475         $(top_srcdir)/ext/vorbis/gstvorbisenc.h \
476         $(top_srcdir)/ext/vorbis/gstvorbisparse.h \
477         $(top_srcdir)/ext/vorbis/gstvorbistag.h \
478         $(top_srcdir)/gst/adder/gstadder.h \
479         $(top_srcdir)/gst/audioconvert/audioconvert.h \
480         $(top_srcdir)/gst/audioconvert/gstaudioconvert.h \
481         $(top_srcdir)/gst/audiotestsrc/gstaudiotestsrc.h \
482         $(top_srcdir)/gst/encoding/gstencodebin.h \
483         $(top_srcdir)/gst/ffmpegcolorspace/gstffmpegcolorspace.h \
484         $(top_srcdir)/gst/gdp/gstgdpdepay.h \
485         $(top_srcdir)/gst/gdp/gstgdppay.h \
486         $(top_srcdir)/gst/playback/gstplay-enum.h \
487         $(top_srcdir)/gst/playback/gstsubtitleoverlay.h \
488         $(top_srcdir)/gst/audiorate/gstaudiorate.h \
489         $(top_srcdir)/gst/audioresample/gstaudioresample.h \
490         $(top_srcdir)/gst/tcp/gstmultifdsink.h \
491         $(top_srcdir)/gst/tcp/gsttcpclientsrc.h \
492         $(top_srcdir)/gst/tcp/gsttcpclientsink.h \
493         $(top_srcdir)/gst/tcp/gsttcpserversrc.h \
494         $(top_srcdir)/gst/tcp/gsttcpserversink.h \
495         $(top_builddir)/gst/tcp/gsttcp-enumtypes.h \
496         $(top_srcdir)/gst/tcp/gsttcp.h \
497         $(top_srcdir)/gst/videorate/gstvideorate.h \
498         $(top_srcdir)/gst/videoscale/gstvideoscale.h \
499         $(top_srcdir)/gst/videotestsrc/gstvideotestsrc.h \
500         $(top_srcdir)/gst/volume/gstvolume.h \
501         $(top_srcdir)/sys/ximage/ximagesink.h \
502         $(top_srcdir)/sys/xvimage/xvimagesink.h \
503         $(top_srcdir)/gst-libs/gst/app/gstappsrc.h \
504         $(top_srcdir)/gst-libs/gst/app/gstappsink.h
505
506
507 # Images to copy into HTML directory.
508 HTML_IMAGES = 
509
510 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
511 content_files = 
512
513 # Other files to distribute.
514 extra_files = 
515
516 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
517 # contains GtkObjects/GObjects and you want to document signals and properties.
518 GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir) -I$(top_builddir)/gst-libs
519 GTKDOC_LIBS = $(GST_BASE_LIBS)
520 GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC)
521 GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC)
522
523 # If you need to override some of the declarations, place them in this file
524 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
525
526 # We set GPATH here; this gives us semantics for GNU make
527 # which are more like other make's VPATH, when it comes to
528 # whether a source that is a target of one rule is then
529 # searched for in VPATH/GPATH.
530 #
531 GPATH = $(srcdir)
532
533 # thomas: make docs parallel installable
534 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@
535 MAINTAINER_DOC_STAMPS = \
536         scanobj-build.stamp
537
538 EXTRA_DIST = \
539         $(MAINTAINER_DOC_STAMPS)                \
540         $(srcdir)/inspect/*.xml         \
541         $(SCANOBJ_FILES)                \
542         $(content_files)                \
543         $(extra_files)                  \
544         $(HTML_IMAGES)                  \
545         $(DOC_MAIN_SGML_FILE)   \
546         $(DOC_OVERRIDES)                \
547         $(DOC_MODULE)-sections.txt
548
549
550 # we don't add scanobj-build.stamp here since they are built manually by docs
551 # maintainers and result is commited to git
552 DOC_STAMPS = \
553         scan-build.stamp                \
554         tmpl-build.stamp                \
555         sgml-build.stamp                \
556         html-build.stamp                \
557         scan.stamp                      \
558         tmpl.stamp                      \
559         sgml.stamp                      \
560         html.stamp
561
562
563 # files generated/updated by gtkdoc-scangobj
564 SCANOBJ_FILES = \
565         $(DOC_MODULE).args              \
566         $(DOC_MODULE).hierarchy         \
567         $(DOC_MODULE).interfaces        \
568         $(DOC_MODULE).prerequisites     \
569         $(DOC_MODULE).signals           \
570         $(DOC_MODULE).types
571
572 SCANOBJ_FILES_O = \
573         .libs/$(DOC_MODULE)-scan.o
574
575
576 # files generated/updated by gtkdoc-scan
577 SCAN_FILES = \
578         $(DOC_MODULE)-sections.txt      \
579         $(DOC_MODULE)-overrides.txt     \
580         $(DOC_MODULE)-decl.txt          \
581         $(DOC_MODULE)-decl-list.txt
582
583 REPORT_FILES = \
584         $(DOC_MODULE)-undocumented.txt \
585         $(DOC_MODULE)-undeclared.txt \
586         $(DOC_MODULE)-unused.txt
587
588 CLEANFILES = \
589         $(SCANOBJ_FILES_O) \
590         $(REPORT_FILES) \
591         $(DOC_STAMPS) \
592         inspect-registry.xml
593
594 INSPECT_DIR = inspect
595
596 ### inspect GStreamer plug-ins; done by documentation maintainer ###
597
598 # only look at the plugins in this module when building inspect .xml stuff
599 @ENABLE_GTK_DOC_TRUE@INSPECT_REGISTRY = $(top_builddir)/docs/plugins/inspect-registry.xml
600 @ENABLE_GTK_DOC_TRUE@INSPECT_ENVIRONMENT = \
601 @ENABLE_GTK_DOC_TRUE@   LC_ALL=C \
602 @ENABLE_GTK_DOC_TRUE@   GST_PLUGIN_SYSTEM_PATH= \
603 @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 \
604 @ENABLE_GTK_DOC_TRUE@   GST_REGISTRY=$(INSPECT_REGISTRY) \
605 @ENABLE_GTK_DOC_TRUE@   PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
606 @ENABLE_GTK_DOC_TRUE@   $(INSPECT_EXTRA_ENVIRONMENT)
607
608 MAINTAINERCLEANFILES = $(MAINTAINER_DOC_STAMPS)
609
610 # wildcard is apparently not portable to other makes, hence the use of find
611 inspect_files = $(shell find $(srcdir)/$(INSPECT_DIR) -name '*.xml')
612 all: all-am
613
614 .SUFFIXES:
615 $(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)
616         @for dep in $?; do \
617           case '$(am__configure_deps)' in \
618             *$$dep*) \
619               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
620                 && { if test -f $@; then exit 0; else break; fi; }; \
621               exit 1;; \
622           esac; \
623         done; \
624         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/plugins/Makefile'; \
625         $(am__cd) $(top_srcdir) && \
626           $(AUTOMAKE) --gnu docs/plugins/Makefile
627 .PRECIOUS: Makefile
628 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
629         @case '$?' in \
630           *config.status*) \
631             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
632           *) \
633             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
634             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
635         esac;
636 $(top_srcdir)/common/upload-doc.mak $(top_srcdir)/common/gtk-doc-plugins.mak:
637
638 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
639         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
640
641 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
642         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
643 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
644         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
645 $(am__aclocal_m4_deps):
646
647 mostlyclean-libtool:
648         -rm -f *.lo
649
650 clean-libtool:
651         -rm -rf .libs _libs
652 tags: TAGS
653 TAGS:
654
655 ctags: CTAGS
656 CTAGS:
657
658
659 distdir: $(DISTFILES)
660         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
661         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
662         list='$(DISTFILES)'; \
663           dist_files=`for file in $$list; do echo $$file; done | \
664           sed -e "s|^$$srcdirstrip/||;t" \
665               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
666         case $$dist_files in \
667           */*) $(MKDIR_P) `echo "$$dist_files" | \
668                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
669                            sort -u` ;; \
670         esac; \
671         for file in $$dist_files; do \
672           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
673           if test -d $$d/$$file; then \
674             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
675             if test -d "$(distdir)/$$file"; then \
676               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
677             fi; \
678             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
679               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
680               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
681             fi; \
682             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
683           else \
684             test -f "$(distdir)/$$file" \
685             || cp -p $$d/$$file "$(distdir)/$$file" \
686             || exit 1; \
687           fi; \
688         done
689         $(MAKE) $(AM_MAKEFLAGS) \
690           top_distdir="$(top_distdir)" distdir="$(distdir)" \
691           dist-hook
692 check-am: all-am
693 check: check-am
694 all-am: Makefile all-local
695 installdirs:
696 install: install-am
697 install-exec: install-exec-am
698 install-data: install-data-am
699 uninstall: uninstall-am
700
701 install-am: all-am
702         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
703
704 installcheck: installcheck-am
705 install-strip:
706         if test -z '$(STRIP)'; then \
707           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
708             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
709               install; \
710         else \
711           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
712             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
713             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
714         fi
715 mostlyclean-generic:
716
717 clean-generic:
718         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
719
720 distclean-generic:
721         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
722         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
723
724 maintainer-clean-generic:
725         @echo "This command is intended for maintainers to use"
726         @echo "it deletes files that may require special tools to rebuild."
727         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
728 clean: clean-am
729
730 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
731
732 distclean: distclean-am
733         -rm -f Makefile
734 distclean-am: clean-am distclean-generic distclean-local
735
736 dvi: dvi-am
737
738 dvi-am:
739
740 html-am:
741
742 info: info-am
743
744 info-am:
745
746 install-data-am: install-data-local
747
748 install-dvi: install-dvi-am
749
750 install-dvi-am:
751
752 install-exec-am:
753
754 install-html: install-html-am
755
756 install-html-am:
757
758 install-info: install-info-am
759
760 install-info-am:
761
762 install-man:
763
764 install-pdf: install-pdf-am
765
766 install-pdf-am:
767
768 install-ps: install-ps-am
769
770 install-ps-am:
771
772 installcheck-am:
773
774 maintainer-clean: maintainer-clean-am
775         -rm -f Makefile
776 maintainer-clean-am: distclean-am maintainer-clean-generic
777
778 mostlyclean: mostlyclean-am
779
780 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
781
782 pdf: pdf-am
783
784 pdf-am:
785
786 ps: ps-am
787
788 ps-am:
789
790 uninstall-am: uninstall-local
791
792 .MAKE: install-am install-strip
793
794 .PHONY: all all-am all-local check check-am clean clean-generic \
795         clean-libtool clean-local dist-hook distclean \
796         distclean-generic distclean-libtool distclean-local distdir \
797         dvi dvi-am html html-am info info-am install install-am \
798         install-data install-data-am install-data-local install-dvi \
799         install-dvi-am install-exec install-exec-am install-html \
800         install-html-am install-info install-info-am install-man \
801         install-pdf install-pdf-am install-ps install-ps-am \
802         install-strip installcheck installcheck-am installdirs \
803         maintainer-clean maintainer-clean-generic mostlyclean \
804         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
805         uninstall uninstall-am uninstall-local
806
807 html: html-build.stamp
808
809 upload: $(FORMATS)
810         @if echo $(FORMATS) | grep html > /dev/null; then \
811           echo "Preparing docs for upload (rebasing cross-references) ..." ; \
812           if test x$(builddir) != x$(srcdir); then \
813             echo "make upload can only be used if srcdir == builddir"; \
814             exit 1; \
815           fi; \
816           # gtkdoc-rebase sometimes gets confused, so reset everything to \
817           # local links before rebasing to online links                   \
818           gtkdoc-rebase --html-dir=$(builddir)/html 2>/dev/null 2>/dev/null ; \
819           rebase=`gtkdoc-rebase --verbose --online --html-dir=$(builddir)/html` ; \
820           echo "$$rebase" | grep -e "On-*line"; \
821           for req in glib gobject gstreamer gstreamer-libs gst-plugins-base-libs; do \
822             if ! ( echo "$$rebase" | grep -i -e "On-*line.*/$$req/" ); then \
823               echo "===============================================================================" ; \
824               echo " Could not determine online location for $$req docs. Cross-referencing will be " ; \
825               echo " broken, so not uploading. Make sure the library's gtk-doc documentation is    " ; \
826               echo " installed somewhere in /usr/share/gtk-doc.                                    " ; \
827               echo "===============================================================================" ; \
828               exit 1; \
829             fi; \
830           done; \
831           export SRC="$$SRC html"; \
832         fi; \
833         if echo $(FORMATS) | grep ps > /dev/null; then export SRC="$$SRC $(DOC).ps"; fi; \
834         if echo $(FORMATS) | grep pdf > /dev/null; then export SRC="$$SRC $(DOC).pdf"; fi; \
835         \
836         # upload releases to both 0.10.X/ and head/ subdirectories \
837         if test "x$(PACKAGE_VERSION_NANO)" = x0; then \
838           export DIR=$(DOC_BASE)/gstreamer/$(VERSION)/$(DOC); \
839           echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
840           ssh $(DOC_SERVER) mkdir -p $$DIR; \
841           rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
842           ssh $(DOC_SERVER) chmod -R g+w $$DIR; \
843         fi; \
844         \
845         export DIR=$(DOC_BASE)/gstreamer/head/$(DOC); \
846         echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \
847         ssh $(DOC_SERVER) mkdir -p $$DIR; \
848         rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \
849         ssh $(DOC_SERVER) chmod -R g+w $$DIR; \
850         \
851         if echo $(FORMATS) | grep html > /dev/null; then \
852           echo "Un-preparing docs for upload (rebasing cross-references) ..." ; \
853           gtkdoc-rebase --html-dir=$(builddir)/html ; \
854         fi; \
855         echo Done
856
857 help:
858         @echo
859         @echo "If you are a doc maintainer, run 'make update' to update"
860         @echo "the documentation files maintained in git"
861         @echo
862         @echo Other useful make targets:
863         @echo
864         @echo  check-inspected-versions: make sure the inspected plugin info
865         @echo                            is up to date before a release
866         @echo
867
868 # update the stuff maintained by doc maintainers
869 update:
870         $(MAKE) scanobj-update
871         $(MAKE) check-outdated-docs
872
873 @ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
874
875 #### scan gobjects; done by documentation maintainer ####
876 @ENABLE_GTK_DOC_TRUE@scanobj-update:
877 @ENABLE_GTK_DOC_TRUE@   -rm scanobj-build.stamp
878 @ENABLE_GTK_DOC_TRUE@   $(MAKE) scanobj-build.stamp
879
880 # gstdoc-scanobj produces 5 output files (.new)
881 # scangobj-merge.py merges them into the file which we commit later
882 # TODO: also merge the hierarchy
883 @ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
884 @ENABLE_GTK_DOC_TRUE@   @echo "  DOC   Introspecting gobjects"
885 @ENABLE_GTK_DOC_TRUE@   @if test x"$(srcdir)" != x. ; then                              \
886 @ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES) $(SCAN_FILES);                    \
887 @ENABLE_GTK_DOC_TRUE@       do                                                          \
888 @ENABLE_GTK_DOC_TRUE@           if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi;      \
889 @ENABLE_GTK_DOC_TRUE@       done;                                                       \
890 @ENABLE_GTK_DOC_TRUE@   fi;                                                             \
891 @ENABLE_GTK_DOC_TRUE@   mkdir -p $(INSPECT_DIR); \
892 @ENABLE_GTK_DOC_TRUE@   scanobj_options=""; \
893 @ENABLE_GTK_DOC_TRUE@   if test "x$(V)" = "x1"; then \
894 @ENABLE_GTK_DOC_TRUE@       scanobj_options="--verbose"; \
895 @ENABLE_GTK_DOC_TRUE@   fi; \
896 @ENABLE_GTK_DOC_TRUE@   $(INSPECT_ENVIRONMENT)                                  \
897 @ENABLE_GTK_DOC_TRUE@   CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)"                             \
898 @ENABLE_GTK_DOC_TRUE@   CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)"   \
899 @ENABLE_GTK_DOC_TRUE@   LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)"                             \
900 @ENABLE_GTK_DOC_TRUE@   $(GST_DOC_SCANOBJ) $$scanobj_options --type-init-func="gst_init(NULL,NULL)"     \
901 @ENABLE_GTK_DOC_TRUE@       --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir=$(INSPECT_DIR) &&          \
902 @ENABLE_GTK_DOC_TRUE@       echo "  DOC   Merging introspection data" && \
903 @ENABLE_GTK_DOC_TRUE@       $(PYTHON)                                           \
904 @ENABLE_GTK_DOC_TRUE@       $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE);       \
905 @ENABLE_GTK_DOC_TRUE@   if test x"$(srcdir)" != x. ; then                               \
906 @ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES);                                  \
907 @ENABLE_GTK_DOC_TRUE@       do                                                          \
908 @ENABLE_GTK_DOC_TRUE@           cmp -s ./$$f $(srcdir)/$$f || cp ./$$f $(srcdir)/ ;             \
909 @ENABLE_GTK_DOC_TRUE@       done;                                                       \
910 @ENABLE_GTK_DOC_TRUE@   fi;                                                             \
911 @ENABLE_GTK_DOC_TRUE@   touch scanobj-build.stamp
912
913 @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
914 @ENABLE_GTK_DOC_TRUE@   @true
915
916 ### scan headers; done on every build ###
917 @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp
918 @ENABLE_GTK_DOC_TRUE@   @echo '  DOC   Scanning header files'
919 @ENABLE_GTK_DOC_TRUE@   @if test x"$(srcdir)" != x. ; then                              \
920 @ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES) $(SCAN_FILES);                    \
921 @ENABLE_GTK_DOC_TRUE@       do                                                          \
922 @ENABLE_GTK_DOC_TRUE@           if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi;      \
923 @ENABLE_GTK_DOC_TRUE@       done;                                                       \
924 @ENABLE_GTK_DOC_TRUE@   fi
925 @ENABLE_GTK_DOC_TRUE@   @_source_dir='' ;                                               \
926 @ENABLE_GTK_DOC_TRUE@   for i in $(DOC_SOURCE_DIR) ; do                                 \
927 @ENABLE_GTK_DOC_TRUE@       _source_dir="$${_source_dir} --source-dir=$$i" ;            \
928 @ENABLE_GTK_DOC_TRUE@   done ;                                                          \
929 @ENABLE_GTK_DOC_TRUE@   gtkdoc-scan                                                     \
930 @ENABLE_GTK_DOC_TRUE@       $(SCAN_OPTIONS) $(EXTRA_HFILES)                             \
931 @ENABLE_GTK_DOC_TRUE@       --module=$(DOC_MODULE)                                      \
932 @ENABLE_GTK_DOC_TRUE@       $${_source_dir}                                             \
933 @ENABLE_GTK_DOC_TRUE@       --ignore-headers="$(IGNORE_HFILES)";                        \
934 @ENABLE_GTK_DOC_TRUE@   touch scan-build.stamp
935
936 #### update templates; done on every build ####
937
938 # in a non-srcdir build, we need to copy files from the previous step
939 # and the files from previous runs of this step
940 @ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
941 @ENABLE_GTK_DOC_TRUE@   @echo '  DOC   Rebuilding template files'
942 @ENABLE_GTK_DOC_TRUE@   @if test x"$(srcdir)" != x. ; then                              \
943 @ENABLE_GTK_DOC_TRUE@       for f in $(SCANOBJ_FILES) $(SCAN_FILES);                    \
944 @ENABLE_GTK_DOC_TRUE@       do                                                          \
945 @ENABLE_GTK_DOC_TRUE@           if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi;      \
946 @ENABLE_GTK_DOC_TRUE@       done;                                                       \
947 @ENABLE_GTK_DOC_TRUE@   fi
948 @ENABLE_GTK_DOC_TRUE@   @gtkdoc-mktmpl --module=$(DOC_MODULE)
949 @ENABLE_GTK_DOC_TRUE@   @$(PYTHON) \
950 @ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/mangle-tmpl.py $(srcdir)/$(INSPECT_DIR) tmpl
951 @ENABLE_GTK_DOC_TRUE@   @touch tmpl-build.stamp
952
953 @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
954 @ENABLE_GTK_DOC_TRUE@   @true
955
956 #### xml ####
957
958 @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
959 @ENABLE_GTK_DOC_TRUE@   @echo '  DOC   Building XML'
960 @ENABLE_GTK_DOC_TRUE@   @-mkdir -p xml
961 @ENABLE_GTK_DOC_TRUE@   @for a in $(srcdir)/$(INSPECT_DIR)/*.xml; do \
962 @ENABLE_GTK_DOC_TRUE@       xsltproc --stringparam module $(MODULE) \
963 @ENABLE_GTK_DOC_TRUE@           $(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done
964 @ENABLE_GTK_DOC_TRUE@   @for f in $(EXAMPLE_CFILES); do \
965 @ENABLE_GTK_DOC_TRUE@           $(PYTHON) $(top_srcdir)/common/c-to-xml.py $$f > xml/element-`basename $$f .c`.xml; done
966 @ENABLE_GTK_DOC_TRUE@   @gtkdoc-mkdb \
967 @ENABLE_GTK_DOC_TRUE@           --module=$(DOC_MODULE) \
968 @ENABLE_GTK_DOC_TRUE@           --source-dir=$(DOC_SOURCE_DIR) \
969 @ENABLE_GTK_DOC_TRUE@            --expand-content-files="$(expand_content_files)" \
970 @ENABLE_GTK_DOC_TRUE@           --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \
971 @ENABLE_GTK_DOC_TRUE@           --output-format=xml \
972 @ENABLE_GTK_DOC_TRUE@           --ignore-files="$(IGNORE_HFILES) $(IGNORE_CFILES)" \
973 @ENABLE_GTK_DOC_TRUE@           $(MKDB_OPTIONS)
974 @ENABLE_GTK_DOC_TRUE@   @cp ../version.entities xml
975 @ENABLE_GTK_DOC_TRUE@   @touch sgml-build.stamp
976
977 @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
978 @ENABLE_GTK_DOC_TRUE@   @true
979
980 #### html ####
981
982 @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
983 @ENABLE_GTK_DOC_TRUE@   @echo '  DOC   Building HTML'
984 @ENABLE_GTK_DOC_TRUE@   @rm -rf html
985 @ENABLE_GTK_DOC_TRUE@   @mkdir html
986 @ENABLE_GTK_DOC_TRUE@   @cp $(srcdir)/$(DOC_MAIN_SGML_FILE) html
987 @ENABLE_GTK_DOC_TRUE@   @for f in $(content_files); do cp $(srcdir)/$$f html; done
988 @ENABLE_GTK_DOC_TRUE@   @cp -pr xml html
989 @ENABLE_GTK_DOC_TRUE@   @cp ../version.entities html
990 @ENABLE_GTK_DOC_TRUE@   @mkhtml_options=""; \
991 @ENABLE_GTK_DOC_TRUE@   gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
992 @ENABLE_GTK_DOC_TRUE@   if test "$(?)" = "0"; then \
993 @ENABLE_GTK_DOC_TRUE@     if test "x$(V)" = "x1"; then \
994 @ENABLE_GTK_DOC_TRUE@       mkhtml_options="$$mkhtml_options --verbose"; \
995 @ENABLE_GTK_DOC_TRUE@     fi; \
996 @ENABLE_GTK_DOC_TRUE@   fi; \
997 @ENABLE_GTK_DOC_TRUE@   cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
998 @ENABLE_GTK_DOC_TRUE@   @mv html/index.sgml html/index.sgml.bak
999 @ENABLE_GTK_DOC_TRUE@   @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
1000 @ENABLE_GTK_DOC_TRUE@   @rm -f html/index.sgml.bak
1001 @ENABLE_GTK_DOC_TRUE@   @rm -f html/$(DOC_MAIN_SGML_FILE)
1002 @ENABLE_GTK_DOC_TRUE@   @rm -rf html/xml
1003 @ENABLE_GTK_DOC_TRUE@   @rm -f html/version.entities
1004 @ENABLE_GTK_DOC_TRUE@   @test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
1005 @ENABLE_GTK_DOC_TRUE@       if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
1006 @ENABLE_GTK_DOC_TRUE@   @echo '  DOC   Fixing cross-references'
1007 @ENABLE_GTK_DOC_TRUE@   @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
1008 @ENABLE_GTK_DOC_TRUE@   @touch html-build.stamp
1009
1010 @ENABLE_GTK_DOC_TRUE@clean-local-gtkdoc:
1011 @ENABLE_GTK_DOC_TRUE@   @rm -rf xml tmpl html
1012 # clean files copied for nonsrcdir templates build
1013 @ENABLE_GTK_DOC_TRUE@   @if test x"$(srcdir)" != x. ; then \
1014 @ENABLE_GTK_DOC_TRUE@       rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(REPORT_FILES) \
1015 @ENABLE_GTK_DOC_TRUE@           $(MAINTAINER_DOC_STAMPS); \
1016 @ENABLE_GTK_DOC_TRUE@   fi
1017 @ENABLE_GTK_DOC_FALSE@all-local:
1018 @ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc:
1019
1020 clean-local: clean-local-gtkdoc
1021         @rm -f *~ *.bak
1022         @rm -rf .libs
1023
1024 distclean-local:
1025         @rm -f $(REPORT_FILES) \
1026                 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
1027         @rm -rf tmpl/*.sgml.bak
1028         @rm -f $(DOC_MODULE).hierarchy
1029         @rm -f *.stamp || true
1030         @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1031             rm -f $(DOC_MODULE)-docs.sgml ; \
1032             rm -f $(DOC_MODULE).types ; \
1033             rm -f $(DOC_MODULE).interfaces ; \
1034             rm -f $(DOC_MODULE)-overrides.txt ; \
1035             rm -f $(DOC_MODULE).prerequisites ; \
1036             rm -f $(DOC_MODULE)-sections.txt ; \
1037             rm -rf tmpl/*.sgml ; \
1038             rm -rf $(INSPECT_DIR); \
1039         fi
1040         @rm -rf *.o
1041
1042 # thomas: make docs parallel installable; devhelp requires majorminor too
1043 install-data-local:
1044         (installfiles=`echo $(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css`; \
1045         if test "$$installfiles" = '$(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css'; \
1046         then echo '-- Nothing to install' ; \
1047         else \
1048           $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
1049           for i in $$installfiles; do \
1050             echo '-- Installing '$$i ; \
1051             $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
1052           done; \
1053           pngfiles=`echo ./html/*.png`; \
1054           if test "$$pngfiles" != './html/*.png'; then \
1055             for i in $$pngfiles; do \
1056               echo '-- Installing '$$i ; \
1057               $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
1058             done; \
1059           fi; \
1060           echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
1061           if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
1062                     $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
1063                     $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
1064           fi; \
1065           (which gtkdoc-rebase >/dev/null && \
1066             gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || true ; \
1067         fi)
1068 uninstall-local:
1069         if test -d $(DESTDIR)$(TARGET_DIR); then \
1070           rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
1071           rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \
1072         else \
1073           echo '-- Nothing to uninstall' ; \
1074         fi;
1075
1076 #
1077 # Checks
1078 #
1079 @ENABLE_GTK_DOC_TRUE@check-hierarchy: $(DOC_MODULE).hierarchy
1080 @ENABLE_GTK_DOC_TRUE@   @if grep '      ' $(DOC_MODULE).hierarchy; then \
1081 @ENABLE_GTK_DOC_TRUE@       echo "$(DOC_MODULE).hierarchy contains tabs, please fix"; \
1082 @ENABLE_GTK_DOC_TRUE@       /bin/false; \
1083 @ENABLE_GTK_DOC_TRUE@   fi
1084
1085 @ENABLE_GTK_DOC_TRUE@check: check-hierarchy
1086
1087 check-inspected-versions:
1088         @echo Checking plugin versions of inspected plugin data ...; \
1089         fail=0 ; \
1090         for each in $(inspect_files) ; do \
1091           if (grep -H '<version>' $$each | grep -v '<version>$(VERSION)'); then \
1092             echo $$each should be fixed to say version $(VERSION) or be removed ; \
1093             echo "sed -i -e 's/<version.*version>/<version>$(VERSION)<\/version>/'" $$each; \
1094             echo ; \
1095             fail=1; \
1096           fi ; \
1097         done ; \
1098         exit $$fail
1099
1100 check-outdated-docs:
1101         $(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \
1102         fail=0 ; \
1103         if [ -d $(top_srcdir)/.git/ ]; then \
1104           files=`find $(srcdir)/inspect/ -name '*xml'`; \
1105           for f in $$files; do \
1106             ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \
1107             if test "x$$ver" = "x"; then \
1108               plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \
1109               # echo "Checking $$plugin $$f"; \
1110               pushd "$(top_srcdir)" >/dev/null; \
1111               pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \
1112               popd >/dev/null; \
1113               # echo "[$$pinit]"; \
1114               if test "x$$pinit" = "x"; then \
1115                 printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \
1116                 fail=1; \
1117               fi; \
1118             fi; \
1119           done; \
1120         fi ; \
1121         exit $$fail
1122
1123 #
1124 # Require gtk-doc when making dist
1125 #
1126 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
1127 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
1128 @ENABLE_GTK_DOC_FALSE@  @echo "*** gtk-doc must be installed and enabled in order to make dist"
1129 @ENABLE_GTK_DOC_FALSE@  @false
1130
1131 # FIXME: decide whether we want to dist generated html or not
1132 # also this only works, if the project has been build before
1133 # we could dist html only if its there, but that might lead to missing html in
1134 # tarballs
1135 dist-hook: dist-check-gtkdoc dist-hook-local
1136         mkdir $(distdir)/html
1137         cp html/* $(distdir)/html
1138         -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
1139         -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
1140         cd $(distdir) && rm -f $(DISTCLEANFILES)
1141         -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
1142
1143 .PHONY : dist-hook-local docs check-outdated-docs inspect
1144
1145 # avoid spurious build errors when distchecking with -jN
1146 .NOTPARALLEL:
1147
1148 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1149 # Otherwise a system limit (for SysV at least) may be exceeded.
1150 .NOEXPORT: