1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# This is an include file specifically tuned for building documentation
18# for GStreamer plug-ins
19# It has been further specialized to farstream plugins stuff
20VPATH = @srcdir@
21am__is_gnu_make = { \
22  if test -z '$(MAKELEVEL)'; then \
23    false; \
24  elif test -n '$(MAKE_HOST)'; then \
25    true; \
26  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
27    true; \
28  else \
29    false; \
30  fi; \
31}
32am__make_running_with_option = \
33  case $${target_option-} in \
34      ?) ;; \
35      *) echo "am__make_running_with_option: internal error: invalid" \
36              "target option '$${target_option-}' specified" >&2; \
37         exit 1;; \
38  esac; \
39  has_opt=no; \
40  sane_makeflags=$$MAKEFLAGS; \
41  if $(am__is_gnu_make); then \
42    sane_makeflags=$$MFLAGS; \
43  else \
44    case $$MAKEFLAGS in \
45      *\\[\ \	]*) \
46        bs=\\; \
47        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
48          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
49    esac; \
50  fi; \
51  skip_next=no; \
52  strip_trailopt () \
53  { \
54    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
55  }; \
56  for flg in $$sane_makeflags; do \
57    test $$skip_next = yes && { skip_next=no; continue; }; \
58    case $$flg in \
59      *=*|--*) continue;; \
60        -*I) strip_trailopt 'I'; skip_next=yes;; \
61      -*I?*) strip_trailopt 'I';; \
62        -*O) strip_trailopt 'O'; skip_next=yes;; \
63      -*O?*) strip_trailopt 'O';; \
64        -*l) strip_trailopt 'l'; skip_next=yes;; \
65      -*l?*) strip_trailopt 'l';; \
66      -[dEDm]) skip_next=yes;; \
67      -[JT]) skip_next=yes;; \
68    esac; \
69    case $$flg in \
70      *$$target_option*) has_opt=yes; break;; \
71    esac; \
72  done; \
73  test $$has_opt = yes
74am__make_dryrun = (target_option=n; $(am__make_running_with_option))
75am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
76pkgdatadir = $(datadir)/@PACKAGE@
77pkgincludedir = $(includedir)/@PACKAGE@
78pkglibdir = $(libdir)/@PACKAGE@
79pkglibexecdir = $(libexecdir)/@PACKAGE@
80am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
81install_sh_DATA = $(install_sh) -c -m 644
82install_sh_PROGRAM = $(install_sh) -c
83install_sh_SCRIPT = $(install_sh) -c
84INSTALL_HEADER = $(INSTALL_DATA)
85transform = $(program_transform_name)
86NORMAL_INSTALL = :
87PRE_INSTALL = :
88POST_INSTALL = :
89NORMAL_UNINSTALL = :
90PRE_UNINSTALL = :
91POST_UNINSTALL = :
92build_triplet = @build@
93host_triplet = @host@
94target_triplet = @target@
95subdir = docs/plugins
96ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97am__aclocal_m4_deps = $(top_srcdir)/common/m4/as-ac-expand.m4 \
98	$(top_srcdir)/common/m4/as-auto-alt.m4 \
99	$(top_srcdir)/common/m4/as-compiler-flag.m4 \
100	$(top_srcdir)/common/m4/as-libtool.m4 \
101	$(top_srcdir)/common/m4/as-version.m4 \
102	$(top_srcdir)/common/m4/gst-arch.m4 \
103	$(top_srcdir)/common/m4/gst-args.m4 \
104	$(top_srcdir)/common/m4/gst-check.m4 \
105	$(top_srcdir)/common/m4/gst-error.m4 \
106	$(top_srcdir)/common/m4/gst-glib2.m4 \
107	$(top_srcdir)/common/m4/gst-plugin-docs.m4 \
108	$(top_srcdir)/common/m4/gst-plugindir.m4 \
109	$(top_srcdir)/common/m4/gst.m4 \
110	$(top_srcdir)/common/m4/gtk-doc.m4 \
111	$(top_srcdir)/common/m4/introspection.m4 \
112	$(top_srcdir)/common/m4/pkg.m4 $(top_srcdir)/configure.ac
113am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
114	$(ACLOCAL_M4)
115DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
116mkinstalldirs = $(install_sh) -d
117CONFIG_HEADER = $(top_builddir)/config.h
118CONFIG_CLEAN_FILES =
119CONFIG_CLEAN_VPATH_FILES =
120AM_V_P = $(am__v_P_@AM_V@)
121am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
122am__v_P_0 = false
123am__v_P_1 = :
124AM_V_GEN = $(am__v_GEN_@AM_V@)
125am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
126am__v_GEN_0 = @echo "  GEN     " $@;
127am__v_GEN_1 =
128AM_V_at = $(am__v_at_@AM_V@)
129am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
130am__v_at_0 = @
131am__v_at_1 =
132SOURCES =
133DIST_SOURCES =
134am__can_run_installinfo = \
135  case $$AM_UPDATE_INFO_DIR in \
136    n|no|NO) false;; \
137    *) (install-info --version) >/dev/null 2>&1;; \
138  esac
139am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
140am__DIST_COMMON = $(srcdir)/Makefile.in \
141	$(top_srcdir)/common-modified/gtk-doc-plugins.mak
142DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
143ACLOCAL = @ACLOCAL@
144ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
145AMTAR = @AMTAR@
146AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
147AR = @AR@
148AS = @AS@
149AUTOCONF = @AUTOCONF@
150AUTOHEADER = @AUTOHEADER@
151AUTOMAKE = @AUTOMAKE@
152AWK = @AWK@
153CC = @CC@
154CCASFLAGS = @CCASFLAGS@
155CCDEPMODE = @CCDEPMODE@
156CFLAGS = @CFLAGS@
157CPP = @CPP@
158CPPFLAGS = @CPPFLAGS@
159CXXFLAGS = @CXXFLAGS@
160CYGPATH_W = @CYGPATH_W@
161DEFS = @DEFS@
162DEPDIR = @DEPDIR@
163DLLTOOL = @DLLTOOL@
164DSYMUTIL = @DSYMUTIL@
165DUMPBIN = @DUMPBIN@
166ECHO_C = @ECHO_C@
167ECHO_N = @ECHO_N@
168ECHO_T = @ECHO_T@
169EGREP = @EGREP@
170ERROR_CFLAGS = @ERROR_CFLAGS@
171EXEEXT = @EXEEXT@
172FFLAGS = @FFLAGS@
173FGREP = @FGREP@
174FS_AGE = @FS_AGE@
175FS_ALL_LDFLAGS = @FS_ALL_LDFLAGS@
176FS_APIVERSION = @FS_APIVERSION@
177FS_API_VERSION = @FS_API_VERSION@
178FS_CFLAGS = @FS_CFLAGS@
179FS_CURRENT = @FS_CURRENT@
180FS_INTERNAL_CFLAGS = @FS_INTERNAL_CFLAGS@
181FS_LIBS = @FS_LIBS@
182FS_LIBVERSION = @FS_LIBVERSION@
183FS_LIB_LDFLAGS = @FS_LIB_LDFLAGS@
184FS_LICENSE = @FS_LICENSE@
185FS_LT_LDFLAGS = @FS_LT_LDFLAGS@
186FS_OPTION_CFLAGS = @FS_OPTION_CFLAGS@
187FS_PLUGINS_ALL = @FS_PLUGINS_ALL@
188FS_PLUGINS_SELECTED = @FS_PLUGINS_SELECTED@
189FS_PLUGIN_LDFLAGS = @FS_PLUGIN_LDFLAGS@
190FS_PLUGIN_PATH = $(top_builddir)/transmitters/rawudp/.libs:$(top_builddir)/transmitters/multicast/.libs:$(top_builddir)/transmitters/nice/.libs:$(top_builddir)/transmitters/shm/.libs
191FS_PREFIX = @FS_PREFIX@
192FS_REVISION = @FS_REVISION@
193FS_TRANSMITTER_PLUGINS_ALL = @FS_TRANSMITTER_PLUGINS_ALL@
194FS_TRANSMITTER_PLUGINS_SELECTED = @FS_TRANSMITTER_PLUGINS_SELECTED@
195GCOV = @GCOV@
196GCOV_CFLAGS = @GCOV_CFLAGS@
197GCOV_LIBS = @GCOV_LIBS@
198GIO_CFLAGS = @GIO_CFLAGS@
199GIO_LDFLAGS = @GIO_LDFLAGS@
200GIO_LIBS = @GIO_LIBS@
201GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
202GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
203GLIB_CFLAGS = @GLIB_CFLAGS@
204GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
205GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
206GLIB_LIBS = @GLIB_LIBS@
207GLIB_MKENUMS = @GLIB_MKENUMS@
208GLIB_PREFIX = @GLIB_PREFIX@
209GLIB_REQ = @GLIB_REQ@
210GREP = @GREP@
211GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@
212GST_API_VERSION = @GST_API_VERSION@
213GST_BASE_CFLAGS = @GST_BASE_CFLAGS@
214GST_BASE_LIBS = @GST_BASE_LIBS@
215GST_CFLAGS = @GST_CFLAGS@
216GST_CHECK_CFLAGS = @GST_CHECK_CFLAGS@
217GST_CHECK_LIBS = @GST_CHECK_LIBS@
218GST_INSTALL_PLUGINS_HELPER = @GST_INSTALL_PLUGINS_HELPER@
219GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@
220GST_LIBS = @GST_LIBS@
221GST_PACKAGE_NAME = @GST_PACKAGE_NAME@
222GST_PACKAGE_ORIGIN = @GST_PACKAGE_ORIGIN@
223GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@
224GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@
225GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@
226GST_PLUGINS_DIR = @GST_PLUGINS_DIR@
227GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@
228GST_TOOLS_DIR = @GST_TOOLS_DIR@
229GTKDOC_CHECK = @GTKDOC_CHECK@
230GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
231GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
232GTKDOC_MKPDF = @GTKDOC_MKPDF@
233GTKDOC_REBASE = @GTKDOC_REBASE@
234GUPNP_CFLAGS = @GUPNP_CFLAGS@
235GUPNP_LIBS = @GUPNP_LIBS@
236HTML_DIR = @HTML_DIR@
237INSTALL = @INSTALL@
238INSTALL_DATA = @INSTALL_DATA@
239INSTALL_PROGRAM = @INSTALL_PROGRAM@
240INSTALL_SCRIPT = @INSTALL_SCRIPT@
241INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
242INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
243INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
244INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
245INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
246INTROSPECTION_INIT = @INTROSPECTION_INIT@
247INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
248INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
249INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
250INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
251LD = @LD@
252LDFLAGS = @LDFLAGS@
253LIBOBJS = @LIBOBJS@
254LIBS = @LIBS@
255LIBTOOL = @LIBTOOL@
256LIPO = @LIPO@
257LN_S = @LN_S@
258LTLIBOBJS = @LTLIBOBJS@
259LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
260MAKEINFO = @MAKEINFO@
261MANIFEST_TOOL = @MANIFEST_TOOL@
262MKDIR_P = @MKDIR_P@
263NICE_CFLAGS = @NICE_CFLAGS@
264NICE_LIBS = @NICE_LIBS@
265NM = @NM@
266NMEDIT = @NMEDIT@
267OBJDUMP = @OBJDUMP@
268OBJEXT = @OBJEXT@
269OTOOL = @OTOOL@
270OTOOL64 = @OTOOL64@
271PACKAGE = @PACKAGE@
272PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
273PACKAGE_NAME = @PACKAGE_NAME@
274PACKAGE_STRING = @PACKAGE_STRING@
275PACKAGE_TARNAME = @PACKAGE_TARNAME@
276PACKAGE_URL = @PACKAGE_URL@
277PACKAGE_VERSION = @PACKAGE_VERSION@
278PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
279PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@
280PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
281PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@
282PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@
283PATH_SEPARATOR = @PATH_SEPARATOR@
284PKG_CONFIG = @PKG_CONFIG@
285PLUGINDIR = @PLUGINDIR@
286PLUGIN_LIBTOOLFLAGS = @PLUGIN_LIBTOOLFLAGS@
287PROFILE_CFLAGS = @PROFILE_CFLAGS@
288PYTHON = @PYTHON@
289PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
290PYTHON_PLATFORM = @PYTHON_PLATFORM@
291PYTHON_PREFIX = @PYTHON_PREFIX@
292PYTHON_VERSION = @PYTHON_VERSION@
293RANLIB = @RANLIB@
294SED = @SED@
295SET_MAKE = @SET_MAKE@
296SHELL = @SHELL@
297STRIP = @STRIP@
298VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
299VALGRIND_LIBS = @VALGRIND_LIBS@
300VALGRIND_PATH = @VALGRIND_PATH@
301VERSION = @VERSION@
302WARNING_CFLAGS = @WARNING_CFLAGS@
303abs_builddir = @abs_builddir@
304abs_srcdir = @abs_srcdir@
305abs_top_builddir = @abs_top_builddir@
306abs_top_srcdir = @abs_top_srcdir@
307ac_ct_AR = @ac_ct_AR@
308ac_ct_CC = @ac_ct_CC@
309ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
310am__include = @am__include@
311am__leading_dot = @am__leading_dot@
312am__quote = @am__quote@
313am__tar = @am__tar@
314am__untar = @am__untar@
315bindir = @bindir@
316build = @build@
317build_alias = @build_alias@
318build_cpu = @build_cpu@
319build_os = @build_os@
320build_vendor = @build_vendor@
321builddir = @builddir@
322datadir = @datadir@
323datarootdir = @datarootdir@
324docdir = @docdir@
325dvidir = @dvidir@
326exec_prefix = @exec_prefix@
327host = @host@
328host_alias = @host_alias@
329host_cpu = @host_cpu@
330host_os = @host_os@
331host_vendor = @host_vendor@
332htmldir = @htmldir@
333includedir = @includedir@
334infodir = @infodir@
335install_sh = @install_sh@
336libdir = @libdir@
337libexecdir = @libexecdir@
338localedir = @localedir@
339localstatedir = @localstatedir@
340mandir = @mandir@
341mkdir_p = @mkdir_p@
342oldincludedir = @oldincludedir@
343pdfdir = @pdfdir@
344pkgpyexecdir = @pkgpyexecdir@
345pkgpythondir = @pkgpythondir@
346plugindir = @plugindir@
347prefix = @prefix@
348program_transform_name = @program_transform_name@
349psdir = @psdir@
350pyexecdir = @pyexecdir@
351pythondir = @pythondir@
352sbindir = @sbindir@
353sharedstatedir = @sharedstatedir@
354srcdir = @srcdir@
355sysconfdir = @sysconfdir@
356target = @target@
357target_alias = @target_alias@
358target_cpu = @target_cpu@
359target_os = @target_os@
360target_vendor = @target_vendor@
361top_build_prefix = @top_build_prefix@
362top_builddir = @top_builddir@
363top_srcdir = @top_srcdir@
364GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj
365
366# The name of the module, e.g. 'glib'.
367#DOC_MODULE=gst-plugins-libs-@GST_API_VERSION@
368MODULE = farstream
369DOC_MODULE = $(MODULE)-plugins
370
371# generated basefiles
372#basefiles = \
373#		$(DOC_MODULE)-sections.txt \
374#		$(DOC_MODULE)-docs.sgml
375
376# ugly hack to make -unused.sgml work
377#unused-build.stamp:
378#	BUILDDIR=`pwd` && \
379#	cd $(srcdir)/tmpl && \
380#	ln -sf gstreamer-libs-unused.sgml \
381#		$$BUILDDIR/tmpl/gstreamer-libs-@GST_API_VERSION@-unused.sgml
382#	touch unused-build.stamp
383
384# these rules are added to create parallel docs using GST_API_VERSION
385#$(basefiles): gstreamer-libs-@GST_API_VERSION@%: gstreamer-libs%
386#	cp $< $@
387
388#CLEANFILES = $(basefiles)
389
390# The top-level SGML file. Change it if you want.
391DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
392
393# The directory containing the source code. Relative to $(top_srcdir).
394# gtk-doc will search all .c & .h files beneath here for inline comments
395# documenting functions and macros.
396DOC_SOURCE_DIR = $(top_srcdir)
397
398# Extra options to supply to gtkdoc-scan.
399SCAN_OPTIONS =
400
401# Extra options to supply to gtkdoc-mkdb.
402MKDB_OPTIONS = --sgml-mode
403
404# Extra options to supply to gtkdoc-fixref.
405FIXXREF_OPTIONS = --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
406	--extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
407        --extra-dir=$(datadir)/gtk-doc/html
408
409
410# Used for dependencies.
411HFILE_GLOB = $(DOC_SOURCE_DIR)/gst/*/*.h $(DOC_SOURCE_DIR)/transmitters/*/*.h
412CFILE_GLOB = $(DOC_SOURCE_DIR)/gst/*/*.c $(DOC_SOURCE_DIR)/transmitters/*/*.c
413
414# this is a wingo addition
415# thomasvs: another nice wingo addition would be an explanation on why
416# this is useful ;)
417SCANOBJ_DEPS = \
418	$(top_builddir)/transmitters/multicast/libmulticast-transmitter.la \
419	$(top_builddir)/transmitters/rawudp/librawudp-transmitter.la \
420	$(top_builddir)/transmitters/nice/libnice-transmitter.la \
421	$(top_builddir)/transmitters/shm/libshm-transmitter.la \
422	$(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \
423	$(top_builddir)/gst/fsrawconference/libfsrawconference_doc.la \
424	$(top_builddir)/gst/fsvideoanyrate/libfsvideoanyrate.la \
425	$(top_builddir)/gst/fsrtpxdata/libfsrtpxdata.la
426
427
428# Header files to ignore when scanning.
429IGNORE_HFILES =
430IGNORE_CFILES =
431
432# we add all .h files of elements that have signals/args we want
433# sadly this also pulls in the private methods - maybe we should
434# move those around in the source ?
435# also, we should add some stuff here conditionally based on whether
436# or not the plugin will actually build
437# but I'm not sure about that - it might be this Just Works given that
438# the registry won't have the element
439EXTRA_HFILES = \
440	$(top_srcdir)/gst/fsvideoanyrate/videoanyrate.h \
441	$(top_srcdir)/gst/fsrtpxdata/fsrtpxdatapay.h \
442	$(top_srcdir)/gst/fsrtpxdata/fsrtpxdatadepay.h \
443	$(top_srcdir)/gst/fsrtpconference/fs-rtp-conference.h \
444	$(top_srcdir)/gst/fsrtpconference/fs-rtp-session.h \
445	$(top_srcdir)/gst/fsrtpconference/fs-rtp-stream.h \
446	$(top_srcdir)/gst/fsrtpconference/fs-rtp-participant.h \
447	$(top_srcdir)/gst/fsrawconference/fs-raw-conference.h \
448	$(top_srcdir)/gst/fsrawconference/fs-raw-session.h \
449	$(top_srcdir)/gst/fsrawconference/fs-raw-stream.h \
450	$(top_srcdir)/gst/fsrawconference/fs-raw-participant.h \
451	$(top_srcdir)/transmitters/rawudp/fs-rawudp-transmitter.h \
452	$(top_srcdir)/transmitters/rawudp/fs-rawudp-stream-transmitter.h \
453	$(top_srcdir)/transmitters/multicast/fs-multicast-transmitter.h \
454	$(top_srcdir)/transmitters/multicast/fs-multicast-stream-transmitter.h \
455	$(top_srcdir)/transmitters/nice/fs-nice-transmitter.h \
456	$(top_srcdir)/transmitters/nice/fs-nice-stream-transmitter.h \
457	$(top_srcdir)/transmitters/shm/fs-shm-transmitter.h \
458	$(top_srcdir)/transmitters/shm/fs-shm-stream-transmitter.h
459
460
461# Images to copy into HTML directory.
462HTML_IMAGES =
463
464# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
465content_files =
466
467# Other files to distribute.
468extra_files = \
469	farstream-transmitters.types.in \
470	gtkdoc-scangobj-transmitters
471
472CLEANFILES = farstream-transmitters.types $(SCANOBJ_FILES_O) \
473	$(REPORT_FILES) $(DOC_STAMPS) inspect-registry.xml
474
475# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
476# contains GtkObjects/GObjects and you want to document signals and properties.
477GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir) -I$(top_builddir)/gst-libs -I$(top_srcdir)
478GTKDOC_LIBS = \
479	$(top_builddir)/farstream/libfarstream-@FS_APIVERSION@.la \
480	$(top_builddir)/gst/fsrtpconference/libfsrtpconference_doc.la \
481	$(top_builddir)/gst/fsrawconference/libfsrawconference_doc.la \
482	$(GST_BASE_LIBS)
483
484
485#GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
486#GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
487
488# If you need to override some of the declarations, place them in this file
489# and uncomment this line.
490#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
491DOC_OVERRIDES =
492
493# This seems to be missing form GStreamer's common version
494DISTCLEANFILES = $(DOC_MODULE)-sections.new
495@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
496@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
497@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
498@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
499@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
500@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
501
502# We set GPATH here; this gives us semantics for GNU make
503# which are more like other make's VPATH, when it comes to
504# whether a source that is a target of one rule is then
505# searched for in VPATH/GPATH.
506#
507GPATH = $(srcdir)
508
509# thomas: make docs parallel installable
510TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@FS_APIVERSION@
511MAINTAINER_DOC_STAMPS = \
512	scanobj-build.stamp
513
514EXTRA_DIST = \
515	$(MAINTAINER_DOC_STAMPS)		\
516	$(srcdir)/inspect/*.xml		\
517	$(SCANOBJ_FILES)		\
518	$(content_files)		\
519	$(extra_files)			\
520	$(HTML_IMAGES)			\
521	$(DOC_MAIN_SGML_FILE)	\
522	$(DOC_OVERRIDES)		\
523	$(DOC_MODULE)-sections.txt
524
525
526# we don't add scanobj-build.stamp here since they are built manually by docs
527# maintainers and result is commited to git
528DOC_STAMPS = \
529	scan-build.stamp		\
530	sgml-build.stamp		\
531	html-build.stamp		\
532	scan.stamp			\
533	sgml.stamp			\
534	html.stamp
535
536
537# files generated/updated by gtkdoc-scangobj
538SCANOBJ_FILES = \
539	$(DOC_MODULE).args              \
540	$(DOC_MODULE).hierarchy         \
541	$(DOC_MODULE).interfaces        \
542	$(DOC_MODULE).prerequisites     \
543	$(DOC_MODULE).signals           \
544	$(DOC_MODULE).types
545
546SCANOBJ_FILES_O = \
547	.libs/$(DOC_MODULE)-scan.o
548
549
550# files generated/updated by gtkdoc-scan
551SCAN_FILES = \
552	$(DOC_MODULE)-sections.txt	\
553	$(DOC_MODULE)-overrides.txt	\
554	$(DOC_MODULE)-decl.txt		\
555	$(DOC_MODULE)-decl-list.txt
556
557REPORT_FILES = \
558	$(DOC_MODULE)-undocumented.txt \
559	$(DOC_MODULE)-undeclared.txt \
560	$(DOC_MODULE)-unused.txt
561
562INSPECT_DIR = inspect
563
564### inspect GStreamer plug-ins; done by documentation maintainer ###
565
566# only look at the plugins in this module when building inspect .xml stuff
567@ENABLE_GTK_DOC_TRUE@INSPECT_REGISTRY = $(top_builddir)/docs/plugins/inspect-registry.xml
568@ENABLE_GTK_DOC_TRUE@INSPECT_ENVIRONMENT = \
569@ENABLE_GTK_DOC_TRUE@	LC_ALL=C \
570@ENABLE_GTK_DOC_TRUE@	GST_PLUGIN_SYSTEM_PATH_1_0= \
571@ENABLE_GTK_DOC_TRUE@	GST_PLUGIN_PATH_1_0=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins:$(top_builddir)/src:$(top_builddir)/gnl \
572@ENABLE_GTK_DOC_TRUE@	GST_REGISTRY_1_0=$(INSPECT_REGISTRY) \
573@ENABLE_GTK_DOC_TRUE@	PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
574@ENABLE_GTK_DOC_TRUE@	$(INSPECT_EXTRA_ENVIRONMENT)
575
576MAINTAINERCLEANFILES = $(MAINTAINER_DOC_STAMPS)
577
578# wildcard is apparently not portable to other makes, hence the use of find
579inspect_files = $(shell find $(srcdir)/$(INSPECT_DIR) -name '*.xml')
580all: all-am
581
582.SUFFIXES:
583$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/common-modified/gtk-doc-plugins.mak $(am__configure_deps)
584	@for dep in $?; do \
585	  case '$(am__configure_deps)' in \
586	    *$$dep*) \
587	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
588	        && { if test -f $@; then exit 0; else break; fi; }; \
589	      exit 1;; \
590	  esac; \
591	done; \
592	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/plugins/Makefile'; \
593	$(am__cd) $(top_srcdir) && \
594	  $(AUTOMAKE) --gnu docs/plugins/Makefile
595Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
596	@case '$?' in \
597	  *config.status*) \
598	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
599	  *) \
600	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
601	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
602	esac;
603$(top_srcdir)/common-modified/gtk-doc-plugins.mak $(am__empty):
604
605$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
606	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
607
608$(top_srcdir)/configure:  $(am__configure_deps)
609	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
610$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
611	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
612$(am__aclocal_m4_deps):
613
614mostlyclean-libtool:
615	-rm -f *.lo
616
617clean-libtool:
618	-rm -rf .libs _libs
619tags TAGS:
620
621ctags CTAGS:
622
623cscope cscopelist:
624
625
626distdir: $(BUILT_SOURCES)
627	$(MAKE) $(AM_MAKEFLAGS) distdir-am
628
629distdir-am: $(DISTFILES)
630	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
631	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
632	list='$(DISTFILES)'; \
633	  dist_files=`for file in $$list; do echo $$file; done | \
634	  sed -e "s|^$$srcdirstrip/||;t" \
635	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
636	case $$dist_files in \
637	  */*) $(MKDIR_P) `echo "$$dist_files" | \
638			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
639			   sort -u` ;; \
640	esac; \
641	for file in $$dist_files; do \
642	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
643	  if test -d $$d/$$file; then \
644	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
645	    if test -d "$(distdir)/$$file"; then \
646	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
647	    fi; \
648	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
649	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
650	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
651	    fi; \
652	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
653	  else \
654	    test -f "$(distdir)/$$file" \
655	    || cp -p $$d/$$file "$(distdir)/$$file" \
656	    || exit 1; \
657	  fi; \
658	done
659	$(MAKE) $(AM_MAKEFLAGS) \
660	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
661	  dist-hook
662check-am: all-am
663check: check-am
664all-am: Makefile all-local
665installdirs:
666install: install-am
667install-exec: install-exec-am
668install-data: install-data-am
669uninstall: uninstall-am
670
671install-am: all-am
672	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
673
674installcheck: installcheck-am
675install-strip:
676	if test -z '$(STRIP)'; then \
677	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
678	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
679	      install; \
680	else \
681	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
682	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
683	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
684	fi
685mostlyclean-generic:
686
687clean-generic:
688	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
689
690distclean-generic:
691	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
692	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
693	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
694
695maintainer-clean-generic:
696	@echo "This command is intended for maintainers to use"
697	@echo "it deletes files that may require special tools to rebuild."
698	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
699clean: clean-am
700
701clean-am: clean-generic clean-libtool clean-local mostlyclean-am
702
703distclean: distclean-am
704	-rm -f Makefile
705distclean-am: clean-am distclean-generic distclean-local
706
707dvi: dvi-am
708
709dvi-am:
710
711html: html-am
712
713html-am:
714
715info: info-am
716
717info-am:
718
719install-data-am: install-data-local
720
721install-dvi: install-dvi-am
722
723install-dvi-am:
724
725install-exec-am:
726
727install-html: install-html-am
728
729install-html-am:
730
731install-info: install-info-am
732
733install-info-am:
734
735install-man:
736
737install-pdf: install-pdf-am
738
739install-pdf-am:
740
741install-ps: install-ps-am
742
743install-ps-am:
744
745installcheck-am:
746
747maintainer-clean: maintainer-clean-am
748	-rm -f Makefile
749maintainer-clean-am: distclean-am maintainer-clean-generic
750
751mostlyclean: mostlyclean-am
752
753mostlyclean-am: mostlyclean-generic mostlyclean-libtool
754
755pdf: pdf-am
756
757pdf-am:
758
759ps: ps-am
760
761ps-am:
762
763uninstall-am: uninstall-local
764
765.MAKE: install-am install-strip
766
767.PHONY: all all-am all-local check check-am clean clean-generic \
768	clean-libtool clean-local cscopelist-am ctags-am dist-hook \
769	distclean distclean-generic distclean-libtool distclean-local \
770	distdir dvi dvi-am html html-am info info-am install \
771	install-am install-data install-data-am install-data-local \
772	install-dvi install-dvi-am install-exec install-exec-am \
773	install-html install-html-am install-info install-info-am \
774	install-man install-pdf install-pdf-am install-ps \
775	install-ps-am install-strip installcheck installcheck-am \
776	installdirs maintainer-clean maintainer-clean-generic \
777	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
778	ps ps-am tags-am uninstall uninstall-am uninstall-local
779
780.PRECIOUS: Makefile
781
782
783farstream-transmitters.types: farstream-transmitters.types.in Makefile
784	cat $< > $@
785	for i in "$(FS_TRANSMITTER_PLUGINS_SELECTED)"; do \
786		echo "${i}" >> $@ ;\
787	done
788
789update-all: scanobj-trans-build.stamp update
790
791help:
792	@echo
793	@echo "If you are a doc maintainer, run 'make update' to update"
794	@echo "the documentation files maintained in git"
795	@echo
796	@echo Other useful make targets:
797	@echo
798	@echo  check-inspected-versions: make sure the inspected plugin info
799	@echo                            is up to date before a release
800	@echo
801
802# update the stuff maintained by doc maintainers
803update: scanobj-update
804	$(MAKE) check-outdated-docs
805
806@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
807
808#### scan gobjects; done by documentation maintainer ####
809@ENABLE_GTK_DOC_TRUE@scanobj-update:
810@ENABLE_GTK_DOC_TRUE@	-rm scanobj-build.stamp
811@ENABLE_GTK_DOC_TRUE@	$(MAKE) scanobj-build.stamp
812
813# gstdoc-scanobj produces 5 output files (.new)
814# scangobj-merge.py merges them into the file which we commit later
815# TODO: also merge the hierarchy
816@ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles)
817@ENABLE_GTK_DOC_TRUE@	@echo "  DOC   Introspecting gobjects"
818@ENABLE_GTK_DOC_TRUE@	@if test x"$(srcdir)" != x. ; then				\
819@ENABLE_GTK_DOC_TRUE@	    for f in $(SCANOBJ_FILES) $(SCAN_FILES);			\
820@ENABLE_GTK_DOC_TRUE@	    do								\
821@ENABLE_GTK_DOC_TRUE@	        if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi;	\
822@ENABLE_GTK_DOC_TRUE@	    done;							\
823@ENABLE_GTK_DOC_TRUE@	fi;								\
824@ENABLE_GTK_DOC_TRUE@	mkdir -p $(INSPECT_DIR); \
825@ENABLE_GTK_DOC_TRUE@	scanobj_options=""; \
826@ENABLE_GTK_DOC_TRUE@	if test "x$(V)" = "x1"; then \
827@ENABLE_GTK_DOC_TRUE@	    scanobj_options="--verbose"; \
828@ENABLE_GTK_DOC_TRUE@	fi; \
829@ENABLE_GTK_DOC_TRUE@	$(INSPECT_ENVIRONMENT) 					\
830@ENABLE_GTK_DOC_TRUE@	CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)"	\
831@ENABLE_GTK_DOC_TRUE@	CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)"	\
832@ENABLE_GTK_DOC_TRUE@	LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)"				\
833@ENABLE_GTK_DOC_TRUE@	$(GST_DOC_SCANOBJ) $$scanobj_options --type-init-func="gst_init(NULL,NULL)"	\
834@ENABLE_GTK_DOC_TRUE@	    --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir=$(INSPECT_DIR) &&		\
835@ENABLE_GTK_DOC_TRUE@	    echo "  DOC   Merging introspection data" && \
836@ENABLE_GTK_DOC_TRUE@	    $(PYTHON)						\
837@ENABLE_GTK_DOC_TRUE@	    $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE) || exit 1;	\
838@ENABLE_GTK_DOC_TRUE@	if test x"$(srcdir)" != x. ; then				\
839@ENABLE_GTK_DOC_TRUE@	    for f in $(SCANOBJ_FILES);					\
840@ENABLE_GTK_DOC_TRUE@	    do								\
841@ENABLE_GTK_DOC_TRUE@	        cmp -s ./$$f $(srcdir)/$$f || cp ./$$f $(srcdir)/ ;		\
842@ENABLE_GTK_DOC_TRUE@	    done;							\
843@ENABLE_GTK_DOC_TRUE@	fi;								\
844@ENABLE_GTK_DOC_TRUE@	touch scanobj-build.stamp
845
846@ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
847@ENABLE_GTK_DOC_TRUE@	@true
848
849### scan headers; done on every build ###
850@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp
851@ENABLE_GTK_DOC_TRUE@	@echo '  DOC   Scanning header files'
852@ENABLE_GTK_DOC_TRUE@	@if test x"$(srcdir)" != x. ; then				\
853@ENABLE_GTK_DOC_TRUE@	    for f in $(SCANOBJ_FILES) $(SCAN_FILES);			\
854@ENABLE_GTK_DOC_TRUE@	    do								\
855@ENABLE_GTK_DOC_TRUE@	        if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi;	\
856@ENABLE_GTK_DOC_TRUE@	    done;							\
857@ENABLE_GTK_DOC_TRUE@	fi
858@ENABLE_GTK_DOC_TRUE@	@_source_dir='' ;						\
859@ENABLE_GTK_DOC_TRUE@	for i in $(DOC_SOURCE_DIR) ; do					\
860@ENABLE_GTK_DOC_TRUE@	    _source_dir="$${_source_dir} --source-dir=$$i" ;	        \
861@ENABLE_GTK_DOC_TRUE@	done ;							        \
862@ENABLE_GTK_DOC_TRUE@	gtkdoc-scan							\
863@ENABLE_GTK_DOC_TRUE@	    $(SCAN_OPTIONS) $(EXTRA_HFILES)				\
864@ENABLE_GTK_DOC_TRUE@	    --module=$(DOC_MODULE)					\
865@ENABLE_GTK_DOC_TRUE@	    $${_source_dir}             				\
866@ENABLE_GTK_DOC_TRUE@	    --ignore-headers="$(IGNORE_HFILES)";			\
867@ENABLE_GTK_DOC_TRUE@	touch scan-build.stamp
868
869#### xml ####
870
871@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files)
872@ENABLE_GTK_DOC_TRUE@	@echo '  DOC   Building XML'
873@ENABLE_GTK_DOC_TRUE@	@-mkdir -p xml
874@ENABLE_GTK_DOC_TRUE@	@for a in $(inspect_files); do \
875@ENABLE_GTK_DOC_TRUE@	    xsltproc --stringparam module $(MODULE) \
876@ENABLE_GTK_DOC_TRUE@		$(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done
877@ENABLE_GTK_DOC_TRUE@	@for f in $(EXAMPLE_CFILES); do \
878@ENABLE_GTK_DOC_TRUE@		$(PYTHON) $(top_srcdir)/common/c-to-xml.py $$f > xml/element-`basename $$f .c`.xml; done
879@ENABLE_GTK_DOC_TRUE@	@gtkdoc-mkdb \
880@ENABLE_GTK_DOC_TRUE@		--module=$(DOC_MODULE) \
881@ENABLE_GTK_DOC_TRUE@		--source-dir=$(DOC_SOURCE_DIR) \
882@ENABLE_GTK_DOC_TRUE@		 --expand-content-files="$(expand_content_files)" \
883@ENABLE_GTK_DOC_TRUE@		--main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \
884@ENABLE_GTK_DOC_TRUE@		--output-format=xml \
885@ENABLE_GTK_DOC_TRUE@		--ignore-files="$(IGNORE_HFILES) $(IGNORE_CFILES)" \
886@ENABLE_GTK_DOC_TRUE@		$(MKDB_OPTIONS)
887@ENABLE_GTK_DOC_TRUE@	@$(PYTHON) $(top_srcdir)/common/mangle-db.py xml
888@ENABLE_GTK_DOC_TRUE@	@cp ../version.entities xml
889@ENABLE_GTK_DOC_TRUE@	@touch sgml-build.stamp
890
891@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
892@ENABLE_GTK_DOC_TRUE@	@true
893
894#### html ####
895
896@ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
897@ENABLE_GTK_DOC_TRUE@	@echo '  DOC   Building HTML'
898@ENABLE_GTK_DOC_TRUE@	@rm -rf html
899@ENABLE_GTK_DOC_TRUE@	@mkdir html
900@ENABLE_GTK_DOC_TRUE@	@cp $(srcdir)/$(DOC_MAIN_SGML_FILE) html
901@ENABLE_GTK_DOC_TRUE@	@for f in $(content_files); do cp $(srcdir)/$$f html; done
902@ENABLE_GTK_DOC_TRUE@	@cp -pr xml html
903@ENABLE_GTK_DOC_TRUE@	@cp ../version.entities html
904@ENABLE_GTK_DOC_TRUE@	@mkhtml_options=""; \
905@ENABLE_GTK_DOC_TRUE@	gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
906@ENABLE_GTK_DOC_TRUE@	if test "$(?)" = "0"; then \
907@ENABLE_GTK_DOC_TRUE@	  if test "x$(V)" = "x1"; then \
908@ENABLE_GTK_DOC_TRUE@	    mkhtml_options="$$mkhtml_options --verbose"; \
909@ENABLE_GTK_DOC_TRUE@	  fi; \
910@ENABLE_GTK_DOC_TRUE@	fi; \
911@ENABLE_GTK_DOC_TRUE@	cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
912@ENABLE_GTK_DOC_TRUE@	@rm -f html/$(DOC_MAIN_SGML_FILE)
913@ENABLE_GTK_DOC_TRUE@	@rm -rf html/xml
914@ENABLE_GTK_DOC_TRUE@	@rm -f html/version.entities
915@ENABLE_GTK_DOC_TRUE@	@test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \
916@ENABLE_GTK_DOC_TRUE@	    if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done
917@ENABLE_GTK_DOC_TRUE@	@echo '  DOC   Fixing cross-references'
918@ENABLE_GTK_DOC_TRUE@	@gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
919@ENABLE_GTK_DOC_TRUE@	@touch html-build.stamp
920
921@ENABLE_GTK_DOC_TRUE@clean-local-gtkdoc:
922@ENABLE_GTK_DOC_TRUE@	@rm -rf xml tmpl html
923# clean files copied for nonsrcdir templates build
924@ENABLE_GTK_DOC_TRUE@	@if test x"$(srcdir)" != x. ; then \
925@ENABLE_GTK_DOC_TRUE@	    rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(REPORT_FILES) \
926@ENABLE_GTK_DOC_TRUE@	        $(MAINTAINER_DOC_STAMPS); \
927@ENABLE_GTK_DOC_TRUE@	fi
928@ENABLE_GTK_DOC_FALSE@all-local:
929@ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc:
930
931clean-local: clean-local-gtkdoc
932	@rm -f *~ *.bak
933	@rm -rf .libs
934
935distclean-local:
936	@rm -f $(REPORT_FILES) \
937	        $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
938	@rm -rf tmpl/*.sgml.bak
939	@rm -f $(DOC_MODULE).hierarchy
940	@rm -f *.stamp || true
941	@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
942	    rm -f $(DOC_MODULE)-docs.sgml ; \
943	    rm -f $(DOC_MODULE).types ; \
944	    rm -f $(DOC_MODULE).interfaces ; \
945	    rm -f $(DOC_MODULE)-overrides.txt ; \
946	    rm -f $(DOC_MODULE).prerequisites ; \
947	    rm -f $(DOC_MODULE)-sections.txt ; \
948	    rm -rf tmpl/*.sgml ; \
949	    rm -rf $(INSPECT_DIR); \
950	fi
951	@rm -rf *.o
952
953# thomas: make docs parallel installable; devhelp requires majorminor too
954install-data-local:
955	(installfiles=`echo $(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css`; \
956	if test "$$installfiles" = '$(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css'; \
957	then echo '-- Nothing to install' ; \
958	else \
959	  $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \
960	  for i in $$installfiles; do \
961	    echo '-- Installing '$$i ; \
962	    $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
963	  done; \
964	  pngfiles=`echo ./html/*.png`; \
965	  if test "$$pngfiles" != './html/*.png'; then \
966	    for i in $$pngfiles; do \
967	      echo '-- Installing '$$i ; \
968	      $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
969	    done; \
970	  fi; \
971	  echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
972	  if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
973	            $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
974	            $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@FS_APIVERSION@.devhelp2; \
975	  fi; \
976	  $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) || true ; \
977	fi)
978uninstall-local:
979	if test -d $(DESTDIR)$(TARGET_DIR); then \
980	  rm -rf $(DESTDIR)$(TARGET_DIR)/*; \
981	  rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \
982	else \
983	  echo '-- Nothing to uninstall' ; \
984	fi;
985
986#
987# Checks
988#
989@ENABLE_GTK_DOC_TRUE@check-hierarchy: $(DOC_MODULE).hierarchy
990@ENABLE_GTK_DOC_TRUE@	@if grep '	' $(DOC_MODULE).hierarchy; then \
991@ENABLE_GTK_DOC_TRUE@	    echo "$(DOC_MODULE).hierarchy contains tabs, please fix"; \
992@ENABLE_GTK_DOC_TRUE@	    /bin/false; \
993@ENABLE_GTK_DOC_TRUE@	fi
994
995@ENABLE_GTK_DOC_TRUE@check: check-hierarchy
996
997check-inspected-versions:
998	@echo Checking plugin versions of inspected plugin data ...; \
999	fail=0 ; \
1000	for each in $(inspect_files) ; do \
1001	  if (grep -H '<version>' $$each | grep -v '<version>$(VERSION)'); then \
1002	    echo $$each should be fixed to say version $(VERSION) or be removed ; \
1003	    echo "sed -i -e 's/<version.*version>/<version>$(VERSION)<\/version>/'" $$each; \
1004	    echo ; \
1005	    fail=1; \
1006	  fi ; \
1007	done ; \
1008	exit $$fail
1009
1010scanobj-trans-update:
1011	-rm scanobj-trans-build.stamp
1012	$(MAKE) scanobj-trans-build.stamp
1013
1014# We have a scanobj-build.stamp just to prevent both from running at the same
1015# time as they use temp files with the same name
1016
1017scanobj-trans-build.stamp: $(SCANOBJ_DEPS) $(basefiles) scanobj-build.stamp farstream-transmitters.types
1018	@echo '*** Scanning Transmitters ***'
1019	if test x"$(srcdir)" = x. ; then				\
1020	    GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext	\
1021	    GST_REGISTRY=$(INSPECT_REGISTRY)				\
1022	    FS_PLUGIN_PATH="$(FS_PLUGIN_PATH)"				\
1023	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)"				\
1024	    CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)"				\
1025	    LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)"				\
1026	    $(srcdir)/gtkdoc-scangobj-transmitters			\
1027		 --type-init-func="gst_init(NULL,NULL)"			\
1028		 --types=farstream-transmitters.types			\
1029		 --module=$(DOC_MODULE) &&				\
1030		$(PYTHON)						\
1031		$(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE);	\
1032	fi
1033	touch scanobj-trans-build.stamp
1034
1035check-outdated-docs:
1036	$(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \
1037	fail=0 ; \
1038	if [ -d $(top_srcdir)/.git/ ]; then \
1039	  files=`find $(srcdir)/inspect/ -name '*xml'`; \
1040	  for f in $$files; do \
1041	    ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \
1042	    if test "x$$ver" = "x"; then \
1043	      plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \
1044	      # echo "Checking $$plugin $$f"; \
1045	      pushd "$(top_srcdir)" >/dev/null; \
1046	      pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \
1047	      popd >/dev/null; \
1048	      # echo "[$$pinit]"; \
1049	      if test "x$$pinit" = "x"; then \
1050	        printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \
1051	        fail=1; \
1052	      fi; \
1053	    fi; \
1054	  done; \
1055	fi ; \
1056	exit $$fail
1057
1058#
1059# Require gtk-doc when making dist
1060#
1061@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
1062@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
1063@ENABLE_GTK_DOC_FALSE@	@echo "*** gtk-doc must be installed and enabled in order to make dist"
1064@ENABLE_GTK_DOC_FALSE@	@false
1065
1066# FIXME: decide whether we want to dist generated html or not
1067# also this only works, if the project has been build before
1068# we could dist html only if its there, but that might lead to missing html in
1069# tarballs
1070dist-hook: dist-check-gtkdoc dist-hook-local
1071	mkdir $(distdir)/html
1072	cp html/* $(distdir)/html
1073	-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
1074	-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
1075	cd $(distdir) && rm -f $(DISTCLEANFILES)
1076	-gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
1077
1078.PHONY : dist-hook-local docs check-outdated-docs inspect
1079
1080# avoid spurious build errors when distchecking with -jN
1081.NOTPARALLEL:
1082
1083# Tell versions [3.59,3.63) of GNU make to not export all variables.
1084# Otherwise a system limit (for SysV at least) may be exceeded.
1085.NOEXPORT:
1086