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