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/gst-arch.m4 \ 116 $(top_srcdir)/common/m4/gst-args.m4 \ 117 $(top_srcdir)/common/m4/gst-check.m4 \ 118 $(top_srcdir)/common/m4/gst-error.m4 \ 119 $(top_srcdir)/common/m4/gst-feature.m4 \ 120 $(top_srcdir)/common/m4/gst-glib2.m4 \ 121 $(top_srcdir)/common/m4/gst-package-release-datetime.m4 \ 122 $(top_srcdir)/common/m4/gst-platform.m4 \ 123 $(top_srcdir)/common/m4/gst-plugin-docs.m4 \ 124 $(top_srcdir)/common/m4/gst-plugindir.m4 \ 125 $(top_srcdir)/common/m4/gst.m4 \ 126 $(top_srcdir)/common/m4/gtk-doc.m4 \ 127 $(top_srcdir)/common/m4/pkg.m4 $(top_srcdir)/m4/libtool.m4 \ 128 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ 129 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ 130 $(top_srcdir)/configure.ac 131am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 132 $(ACLOCAL_M4) 133DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) 134mkinstalldirs = $(install_sh) -d 135CONFIG_HEADER = $(top_builddir)/config.h 136CONFIG_CLEAN_FILES = gstreamer-vaapi-plugins-docs.xml 137CONFIG_CLEAN_VPATH_FILES = 138AM_V_P = $(am__v_P_@AM_V@) 139am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 140am__v_P_0 = false 141am__v_P_1 = : 142AM_V_GEN = $(am__v_GEN_@AM_V@) 143am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 144am__v_GEN_0 = @echo " GEN " $@; 145am__v_GEN_1 = 146AM_V_at = $(am__v_at_@AM_V@) 147am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 148am__v_at_0 = @ 149am__v_at_1 = 150SOURCES = 151DIST_SOURCES = 152RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ 153 ctags-recursive dvi-recursive html-recursive info-recursive \ 154 install-data-recursive install-dvi-recursive \ 155 install-exec-recursive install-html-recursive \ 156 install-info-recursive install-pdf-recursive \ 157 install-ps-recursive install-recursive installcheck-recursive \ 158 installdirs-recursive pdf-recursive ps-recursive \ 159 tags-recursive uninstall-recursive 160am__can_run_installinfo = \ 161 case $$AM_UPDATE_INFO_DIR in \ 162 n|no|NO) false;; \ 163 *) (install-info --version) >/dev/null 2>&1;; \ 164 esac 165RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 166 distclean-recursive maintainer-clean-recursive 167am__recursive_targets = \ 168 $(RECURSIVE_TARGETS) \ 169 $(RECURSIVE_CLEAN_TARGETS) \ 170 $(am__extra_recursive_targets) 171AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ 172 distdir distdir-am 173am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 174# Read a list of newline-separated strings from the standard input, 175# and print each of them once, without duplicates. Input order is 176# *not* preserved. 177am__uniquify_input = $(AWK) '\ 178 BEGIN { nonempty = 0; } \ 179 { items[$$0] = 1; nonempty = 1; } \ 180 END { if (nonempty) { for (i in items) print i; }; } \ 181' 182# Make sure the list of sources is unique. This is necessary because, 183# e.g., the same source file might be shared among _SOURCES variables 184# for different programs/libraries. 185am__define_uniq_tagged_files = \ 186 list='$(am__tagged_files)'; \ 187 unique=`for i in $$list; do \ 188 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 189 done | $(am__uniquify_input)` 190ETAGS = etags 191CTAGS = ctags 192DIST_SUBDIRS = $(SUBDIRS) 193am__DIST_COMMON = $(srcdir)/Makefile.in \ 194 $(srcdir)/gstreamer-vaapi-plugins-docs.xml.in \ 195 $(top_srcdir)/common/gtk-doc-plugins.mak \ 196 $(top_srcdir)/common/upload-doc.mak 197DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 198am__relativize = \ 199 dir0=`pwd`; \ 200 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 201 sed_rest='s,^[^/]*/*,,'; \ 202 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 203 sed_butlast='s,/*[^/]*$$,,'; \ 204 while test -n "$$dir1"; do \ 205 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 206 if test "$$first" != "."; then \ 207 if test "$$first" = ".."; then \ 208 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 209 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 210 else \ 211 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 212 if test "$$first2" = "$$first"; then \ 213 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 214 else \ 215 dir2="../$$dir2"; \ 216 fi; \ 217 dir0="$$dir0"/"$$first"; \ 218 fi; \ 219 fi; \ 220 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 221 done; \ 222 reldir="$$dir2" 223ACLOCAL = @ACLOCAL@ 224ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ 225AMTAR = @AMTAR@ 226AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 227AR = @AR@ 228AS = @AS@ 229AUTOCONF = @AUTOCONF@ 230AUTOHEADER = @AUTOHEADER@ 231AUTOMAKE = @AUTOMAKE@ 232AWK = @AWK@ 233CC = @CC@ 234CCDEPMODE = @CCDEPMODE@ 235CFLAGS = @CFLAGS@ 236CPP = @CPP@ 237CPPFLAGS = @CPPFLAGS@ 238CYGPATH_W = @CYGPATH_W@ 239DEFS = @DEFS@ 240DEPDIR = @DEPDIR@ 241DEPRECATED_CFLAGS = @DEPRECATED_CFLAGS@ 242DLLTOOL = @DLLTOOL@ 243DLOPEN_LIBS = @DLOPEN_LIBS@ 244DRM_CFLAGS = @DRM_CFLAGS@ 245DRM_LIBS = @DRM_LIBS@ 246DSYMUTIL = @DSYMUTIL@ 247DUMPBIN = @DUMPBIN@ 248ECHO_C = @ECHO_C@ 249ECHO_N = @ECHO_N@ 250ECHO_T = @ECHO_T@ 251EGL_CFLAGS = @EGL_CFLAGS@ 252EGL_LIBS = @EGL_LIBS@ 253EGREP = @EGREP@ 254ERROR_CFLAGS = @ERROR_CFLAGS@ 255EXEEXT = @EXEEXT@ 256EXTRA_CFLAGS = @EXTRA_CFLAGS@ 257FGREP = @FGREP@ 258GIO_CFLAGS = @GIO_CFLAGS@ 259GIO_LDFLAGS = @GIO_LDFLAGS@ 260GIO_LIBS = @GIO_LIBS@ 261GLES2_CFLAGS = @GLES2_CFLAGS@ 262GLES2_LIBS = @GLES2_LIBS@ 263GLES3_CFLAGS = @GLES3_CFLAGS@ 264GLES3_LIBS = @GLES3_LIBS@ 265GLIB_CFLAGS = @GLIB_CFLAGS@ 266GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@ 267GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ 268GLIB_LIBS = @GLIB_LIBS@ 269GLIB_MKENUMS = @GLIB_MKENUMS@ 270GLIB_REQ = @GLIB_REQ@ 271GL_CFLAGS = @GL_CFLAGS@ 272GL_LIBS = @GL_LIBS@ 273GREP = @GREP@ 274GSTPB_PLUGINS_DIR = @GSTPB_PLUGINS_DIR@ 275GST_AGE = @GST_AGE@ 276GST_ALLOCATORS_CFLAGS = @GST_ALLOCATORS_CFLAGS@ 277GST_ALLOCATORS_LIBS = @GST_ALLOCATORS_LIBS@ 278GST_ALL_LDFLAGS = @GST_ALL_LDFLAGS@ 279GST_API_VERSION = @GST_API_VERSION@ 280GST_BASE_CFLAGS = @GST_BASE_CFLAGS@ 281GST_BASE_LIBS = @GST_BASE_LIBS@ 282GST_CFLAGS = @GST_CFLAGS@ 283GST_CODEC_PARSERS_CFLAGS = @GST_CODEC_PARSERS_CFLAGS@ 284GST_CODEC_PARSERS_LIBS = @GST_CODEC_PARSERS_LIBS@ 285GST_CURRENT = @GST_CURRENT@ 286GST_GL_CFLAGS = @GST_GL_CFLAGS@ 287GST_GL_LIBS = @GST_GL_LIBS@ 288GST_LEVEL_DEFAULT = @GST_LEVEL_DEFAULT@ 289GST_LIBS = @GST_LIBS@ 290GST_LIBVERSION = @GST_LIBVERSION@ 291GST_LIB_LDFLAGS = @GST_LIB_LDFLAGS@ 292GST_LT_LDFLAGS = @GST_LT_LDFLAGS@ 293GST_OPTION_CFLAGS = @GST_OPTION_CFLAGS@ 294GST_PBUTILS_CFLAGS = @GST_PBUTILS_CFLAGS@ 295GST_PBUTILS_LIBS = @GST_PBUTILS_LIBS@ 296GST_PLUGINS_BASE_CFLAGS = @GST_PLUGINS_BASE_CFLAGS@ 297GST_PLUGINS_BASE_DIR = @GST_PLUGINS_BASE_DIR@ 298GST_PLUGINS_BASE_LIBS = @GST_PLUGINS_BASE_LIBS@ 299GST_PLUGINS_DIR = @GST_PLUGINS_DIR@ 300GST_PLUGIN_LDFLAGS = @GST_PLUGIN_LDFLAGS@ 301GST_REVISION = @GST_REVISION@ 302GST_TOOLS_DIR = @GST_TOOLS_DIR@ 303GST_VIDEO_CFLAGS = @GST_VIDEO_CFLAGS@ 304GST_VIDEO_LIBS = @GST_VIDEO_LIBS@ 305GTK3_CFLAGS = @GTK3_CFLAGS@ 306GTK3_LIBS = @GTK3_LIBS@ 307GTKDOC_CHECK = @GTKDOC_CHECK@ 308GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ 309GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ 310GTKDOC_MKPDF = @GTKDOC_MKPDF@ 311GTKDOC_REBASE = @GTKDOC_REBASE@ 312HTML_DIR = @HTML_DIR@ 313INSTALL = @INSTALL@ 314INSTALL_DATA = @INSTALL_DATA@ 315INSTALL_PROGRAM = @INSTALL_PROGRAM@ 316INSTALL_SCRIPT = @INSTALL_SCRIPT@ 317INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 318LD = @LD@ 319LDFLAGS = @LDFLAGS@ 320LIBDIR = @LIBDIR@ 321LIBOBJS = @LIBOBJS@ 322LIBS = @LIBS@ 323LIBTOOL = @LIBTOOL@ 324LIBVA_CFLAGS = @LIBVA_CFLAGS@ 325LIBVA_DRM_CFLAGS = @LIBVA_DRM_CFLAGS@ 326LIBVA_DRM_LIBS = @LIBVA_DRM_LIBS@ 327LIBVA_LIBS = @LIBVA_LIBS@ 328LIBVA_WAYLAND_CFLAGS = @LIBVA_WAYLAND_CFLAGS@ 329LIBVA_WAYLAND_LIBS = @LIBVA_WAYLAND_LIBS@ 330LIBVA_X11_CFLAGS = @LIBVA_X11_CFLAGS@ 331LIBVA_X11_LIBS = @LIBVA_X11_LIBS@ 332LIPO = @LIPO@ 333LN_S = @LN_S@ 334LTLIBOBJS = @LTLIBOBJS@ 335LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 336MAINT = @MAINT@ 337MAKEINFO = @MAKEINFO@ 338MANIFEST_TOOL = @MANIFEST_TOOL@ 339MKDIR_P = @MKDIR_P@ 340NM = @NM@ 341NMEDIT = @NMEDIT@ 342OBJDUMP = @OBJDUMP@ 343OBJEXT = @OBJEXT@ 344OTOOL = @OTOOL@ 345OTOOL64 = @OTOOL64@ 346PACKAGE = @PACKAGE@ 347PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 348PACKAGE_NAME = @PACKAGE_NAME@ 349PACKAGE_STRING = @PACKAGE_STRING@ 350PACKAGE_TARNAME = @PACKAGE_TARNAME@ 351PACKAGE_URL = @PACKAGE_URL@ 352PACKAGE_VERSION = @PACKAGE_VERSION@ 353PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@ 354PACKAGE_VERSION_MICRO = @PACKAGE_VERSION_MICRO@ 355PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@ 356PACKAGE_VERSION_NANO = @PACKAGE_VERSION_NANO@ 357PACKAGE_VERSION_RELEASE = @PACKAGE_VERSION_RELEASE@ 358PATH_SEPARATOR = @PATH_SEPARATOR@ 359PKG_CONFIG = @PKG_CONFIG@ 360PLUGINDIR = @PLUGINDIR@ 361PROFILE_CFLAGS = @PROFILE_CFLAGS@ 362PYTHON = @PYTHON@ 363PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ 364PYTHON_PLATFORM = @PYTHON_PLATFORM@ 365PYTHON_PREFIX = @PYTHON_PREFIX@ 366PYTHON_VERSION = @PYTHON_VERSION@ 367RANLIB = @RANLIB@ 368SED = @SED@ 369SET_MAKE = @SET_MAKE@ 370SHELL = @SHELL@ 371STRIP = @STRIP@ 372VERSION = @VERSION@ 373WARNING_CFLAGS = @WARNING_CFLAGS@ 374WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ 375WAYLAND_LIBS = @WAYLAND_LIBS@ 376WAYLAND_PROTOCOLS_DATADIR = @WAYLAND_PROTOCOLS_DATADIR@ 377WAYLAND_SCANNER = @WAYLAND_SCANNER@ 378X11_CFLAGS = @X11_CFLAGS@ 379X11_LIBS = @X11_LIBS@ 380XRANDR_CFLAGS = @XRANDR_CFLAGS@ 381XRANDR_LIBS = @XRANDR_LIBS@ 382XRENDER_CFLAGS = @XRENDER_CFLAGS@ 383XRENDER_LIBS = @XRENDER_LIBS@ 384abs_builddir = @abs_builddir@ 385abs_srcdir = @abs_srcdir@ 386abs_top_builddir = @abs_top_builddir@ 387abs_top_srcdir = @abs_top_srcdir@ 388ac_ct_AR = @ac_ct_AR@ 389ac_ct_CC = @ac_ct_CC@ 390ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 391am__include = @am__include@ 392am__leading_dot = @am__leading_dot@ 393am__quote = @am__quote@ 394am__tar = @am__tar@ 395am__untar = @am__untar@ 396bindir = @bindir@ 397build = @build@ 398build_alias = @build_alias@ 399build_cpu = @build_cpu@ 400build_os = @build_os@ 401build_vendor = @build_vendor@ 402builddir = @builddir@ 403datadir = @datadir@ 404datarootdir = @datarootdir@ 405docdir = @docdir@ 406dvidir = @dvidir@ 407exec_prefix = @exec_prefix@ 408host = @host@ 409host_alias = @host_alias@ 410host_cpu = @host_cpu@ 411host_os = @host_os@ 412host_vendor = @host_vendor@ 413htmldir = @htmldir@ 414includedir = @includedir@ 415infodir = @infodir@ 416install_sh = @install_sh@ 417libdir = @libdir@ 418libexecdir = @libexecdir@ 419localedir = @localedir@ 420localstatedir = @localstatedir@ 421mandir = @mandir@ 422mkdir_p = @mkdir_p@ 423oldincludedir = @oldincludedir@ 424pdfdir = @pdfdir@ 425pkgpyexecdir = @pkgpyexecdir@ 426pkgpythondir = @pkgpythondir@ 427plugindir = @plugindir@ 428prefix = @prefix@ 429program_transform_name = @program_transform_name@ 430psdir = @psdir@ 431pyexecdir = @pyexecdir@ 432pythondir = @pythondir@ 433runstatedir = @runstatedir@ 434sbindir = @sbindir@ 435sharedstatedir = @sharedstatedir@ 436srcdir = @srcdir@ 437sysconfdir = @sysconfdir@ 438target = @target@ 439target_alias = @target_alias@ 440target_cpu = @target_cpu@ 441target_os = @target_os@ 442target_vendor = @target_vendor@ 443top_build_prefix = @top_build_prefix@ 444top_builddir = @top_builddir@ 445top_srcdir = @top_srcdir@ 446GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj 447 448# The name of the module, e.g. 'glib'. 449MODULE = gstreamer-vaapi 450DOC_MODULE = $(MODULE)-plugins 451 452# for upload-doc.mak 453DOC = $(MODULE)-plugins 454FORMATS = html 455 456# these variables define the location of the online docs 457DOC_SERVER = gstreamer.freedesktop.org 458DOC_BASE = /srv/gstreamer.freedesktop.org/www/data/doc 459DOC_URL = $(DOC_SERVER):$(DOC_BASE) 460 461# The top-level SGML file. You can change this if you want to. 462DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml 463 464# The directory containing the source code. Relative to $(srcdir). 465# gtk-doc will search all .c & .h files beneath here for inline comments 466# documenting the functions and macros. 467DOC_SOURCE_DIR = $(top_srcdir)/gst 468 469# Extra options to supply to gtkdoc-scan. 470SCAN_OPTIONS = --deprecated-guards="GST_VAAPI_DISABLE_DEPRECATED" 471 472# Extra options to supply to gtkdoc-mkdb. 473MKDB_OPTIONS = --sgml-mode --source-suffixes=c,h,cc,m 474 475# Extra options to supply to gtkdoc-fixref. 476FIXXREF_OPTIONS = --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \ 477 --extra-dir=$(GST_PREFIX)/share/gtk-doc/html \ 478 --extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html 479 480 481# Used for dependencies. The docs will be rebuilt if any of these change. 482# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h 483# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c 484HFILE_GLOB = $(top_srcdir)/gst/*/*.h 485CFILE_GLOB = $(top_srcdir)/gst/*/*.c 486 487# Header files to ignore when scanning. 488IGNORE_HFILES = 489EXTRA_HFILES = 490 491# we add all .h files of elements that have signals/args we want 492# sadly this also pulls in the private methods - maybe we should 493# move those around in the source ? 494# 495# also, we should add some stuff here conditionally based on whether 496# or not the plugin will actually build 497# but I'm not sure about that - it might be this Just Works given that 498# the registry won't have the element 499# -> it just works (TM) (ensonic) 500 501# FIXME: not ported yet 502# $(top_srcdir)/ext/gnomevfs/gstgnomevfssink.c 503 504# example code that needs to be converted to xml and placed in xml/ 505EXAMPLE_CFILES = 506 507# Images to copy into HTML directory. 508HTML_IMAGES = 509 510# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). 511content_files = running.xml 512 513# Other files to distribute. 514extra_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. 518GTKDOC_CFLAGS = -DGST_USE_UNSTABLE_API $(GST_PLUGINS_BAD_CFLAGS) $(GST_BASE_CFLAGS) -I$(top_builddir) -I$(top_builddir)/gst-libs/ 519GTKDOC_LIBS = $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi.la $(top_builddir)/gst/vaapi/libgstvaapi.la $(GST_BASE_LIBS) 520 521# If you need to override some of the declarations, place them in this file 522# and uncomment this line. 523#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt 524DOC_OVERRIDES = 525@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 526@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 527@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) 528@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) 529@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = 530@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute 531 532# We set GPATH here; this gives us semantics for GNU make 533# which are more like other make's VPATH, when it comes to 534# whether a source that is a target of one rule is then 535# searched for in VPATH/GPATH. 536# 537GPATH = $(srcdir) 538 539# thomas: make docs parallel installable 540TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)-@GST_API_VERSION@ 541MAINTAINER_DOC_STAMPS = \ 542 scanobj-build.stamp 543 544EXTRA_DIST = \ 545 $(MAINTAINER_DOC_STAMPS) \ 546 $(srcdir)/inspect/*.xml \ 547 $(SCANOBJ_FILES) \ 548 $(content_files) \ 549 $(extra_files) \ 550 $(HTML_IMAGES) \ 551 $(DOC_MAIN_SGML_FILE) \ 552 $(DOC_OVERRIDES) \ 553 $(DOC_MODULE)-sections.txt 554 555 556# we don't add scanobj-build.stamp here since they are built manually by docs 557# maintainers and result is commited to git 558DOC_STAMPS = \ 559 scan-build.stamp \ 560 sgml-build.stamp \ 561 html-build.stamp \ 562 scan.stamp \ 563 sgml.stamp \ 564 html.stamp 565 566 567# files generated/updated by gtkdoc-scangobj 568SCANOBJ_FILES = \ 569 $(DOC_MODULE).args \ 570 $(DOC_MODULE).hierarchy \ 571 $(DOC_MODULE).interfaces \ 572 $(DOC_MODULE).prerequisites \ 573 $(DOC_MODULE).signals \ 574 $(DOC_MODULE).types 575 576SCANOBJ_FILES_O = \ 577 .libs/$(DOC_MODULE)-scan.o 578 579 580# files generated/updated by gtkdoc-scan 581SCAN_FILES = \ 582 $(DOC_MODULE)-sections.txt \ 583 $(DOC_MODULE)-overrides.txt \ 584 $(DOC_MODULE)-decl.txt \ 585 $(DOC_MODULE)-decl-list.txt 586 587REPORT_FILES = \ 588 $(DOC_MODULE)-undocumented.txt \ 589 $(DOC_MODULE)-undeclared.txt \ 590 $(DOC_MODULE)-unused.txt 591 592CLEANFILES = \ 593 $(SCANOBJ_FILES_O) \ 594 $(REPORT_FILES) \ 595 $(DOC_STAMPS) \ 596 inspect-registry.xml 597 598INSPECT_DIR = inspect 599 600### inspect GStreamer plug-ins; done by documentation maintainer ### 601 602# only look at the plugins in this module when building inspect .xml stuff 603@ENABLE_GTK_DOC_TRUE@INSPECT_REGISTRY = $(top_builddir)/docs/plugins/inspect-registry.xml 604@ENABLE_GTK_DOC_TRUE@INSPECT_ENVIRONMENT = \ 605@ENABLE_GTK_DOC_TRUE@ LC_ALL=C \ 606@ENABLE_GTK_DOC_TRUE@ GST_PLUGIN_SYSTEM_PATH_1_0= \ 607@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 \ 608@ENABLE_GTK_DOC_TRUE@ GST_REGISTRY_1_0=$(INSPECT_REGISTRY) \ 609@ENABLE_GTK_DOC_TRUE@ PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ 610@ENABLE_GTK_DOC_TRUE@ $(INSPECT_EXTRA_ENVIRONMENT) 611 612 613# Extra clean files so that maintainer-clean removes *everything* 614MAINTAINERCLEANFILES = $(MAINTAINER_DOC_STAMPS) \ 615 gstreamer-vaapi-plugins.* *.stamp inspect \ 616 gstreamer-vaapi-plugins-overrides.txt \ 617 gstreamer-vaapi-plugins-sections.new $(NULL) 618 619# wildcard is apparently not portable to other makes, hence the use of find 620inspect_files = $(sort $(shell find $(srcdir)/$(INSPECT_DIR) -name '*.xml')) 621 622# This includes the standard gtk-doc make rules, copied by gtkdocize. 623SUBDIRS = 624all: all-recursive 625 626.SUFFIXES: 627$(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) 628 @for dep in $?; do \ 629 case '$(am__configure_deps)' in \ 630 *$$dep*) \ 631 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 632 && { if test -f $@; then exit 0; else break; fi; }; \ 633 exit 1;; \ 634 esac; \ 635 done; \ 636 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/plugins/Makefile'; \ 637 $(am__cd) $(top_srcdir) && \ 638 $(AUTOMAKE) --gnu docs/plugins/Makefile 639Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 640 @case '$?' in \ 641 *config.status*) \ 642 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 643 *) \ 644 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ 645 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ 646 esac; 647$(top_srcdir)/common/upload-doc.mak $(top_srcdir)/common/gtk-doc-plugins.mak $(am__empty): 648 649$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 650 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 651 652$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 653 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 654$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 655 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 656$(am__aclocal_m4_deps): 657gstreamer-vaapi-plugins-docs.xml: $(top_builddir)/config.status $(srcdir)/gstreamer-vaapi-plugins-docs.xml.in 658 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ 659 660mostlyclean-libtool: 661 -rm -f *.lo 662 663clean-libtool: 664 -rm -rf .libs _libs 665 666# This directory's subdirectories are mostly independent; you can cd 667# into them and run 'make' without going through this Makefile. 668# To change the values of 'make' variables: instead of editing Makefiles, 669# (1) if the variable is set in 'config.status', edit 'config.status' 670# (which will cause the Makefiles to be regenerated when you run 'make'); 671# (2) otherwise, pass the desired values on the 'make' command line. 672$(am__recursive_targets): 673 @fail=; \ 674 if $(am__make_keepgoing); then \ 675 failcom='fail=yes'; \ 676 else \ 677 failcom='exit 1'; \ 678 fi; \ 679 dot_seen=no; \ 680 target=`echo $@ | sed s/-recursive//`; \ 681 case "$@" in \ 682 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 683 *) list='$(SUBDIRS)' ;; \ 684 esac; \ 685 for subdir in $$list; do \ 686 echo "Making $$target in $$subdir"; \ 687 if test "$$subdir" = "."; then \ 688 dot_seen=yes; \ 689 local_target="$$target-am"; \ 690 else \ 691 local_target="$$target"; \ 692 fi; \ 693 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 694 || eval $$failcom; \ 695 done; \ 696 if test "$$dot_seen" = "no"; then \ 697 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 698 fi; test -z "$$fail" 699 700ID: $(am__tagged_files) 701 $(am__define_uniq_tagged_files); mkid -fID $$unique 702tags: tags-recursive 703TAGS: tags 704 705tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 706 set x; \ 707 here=`pwd`; \ 708 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 709 include_option=--etags-include; \ 710 empty_fix=.; \ 711 else \ 712 include_option=--include; \ 713 empty_fix=; \ 714 fi; \ 715 list='$(SUBDIRS)'; for subdir in $$list; do \ 716 if test "$$subdir" = .; then :; else \ 717 test ! -f $$subdir/TAGS || \ 718 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 719 fi; \ 720 done; \ 721 $(am__define_uniq_tagged_files); \ 722 shift; \ 723 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 724 test -n "$$unique" || unique=$$empty_fix; \ 725 if test $$# -gt 0; then \ 726 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 727 "$$@" $$unique; \ 728 else \ 729 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 730 $$unique; \ 731 fi; \ 732 fi 733ctags: ctags-recursive 734 735CTAGS: ctags 736ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 737 $(am__define_uniq_tagged_files); \ 738 test -z "$(CTAGS_ARGS)$$unique" \ 739 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 740 $$unique 741 742GTAGS: 743 here=`$(am__cd) $(top_builddir) && pwd` \ 744 && $(am__cd) $(top_srcdir) \ 745 && gtags -i $(GTAGS_ARGS) "$$here" 746cscopelist: cscopelist-recursive 747 748cscopelist-am: $(am__tagged_files) 749 list='$(am__tagged_files)'; \ 750 case "$(srcdir)" in \ 751 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 752 *) sdir=$(subdir)/$(srcdir) ;; \ 753 esac; \ 754 for i in $$list; do \ 755 if test -f "$$i"; then \ 756 echo "$(subdir)/$$i"; \ 757 else \ 758 echo "$$sdir/$$i"; \ 759 fi; \ 760 done >> $(top_builddir)/cscope.files 761 762distclean-tags: 763 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 764 765distdir: $(BUILT_SOURCES) 766 $(MAKE) $(AM_MAKEFLAGS) distdir-am 767 768distdir-am: $(DISTFILES) 769 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 770 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 771 list='$(DISTFILES)'; \ 772 dist_files=`for file in $$list; do echo $$file; done | \ 773 sed -e "s|^$$srcdirstrip/||;t" \ 774 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 775 case $$dist_files in \ 776 */*) $(MKDIR_P) `echo "$$dist_files" | \ 777 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 778 sort -u` ;; \ 779 esac; \ 780 for file in $$dist_files; do \ 781 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 782 if test -d $$d/$$file; then \ 783 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 784 if test -d "$(distdir)/$$file"; then \ 785 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 786 fi; \ 787 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 788 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 789 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 790 fi; \ 791 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 792 else \ 793 test -f "$(distdir)/$$file" \ 794 || cp -p $$d/$$file "$(distdir)/$$file" \ 795 || exit 1; \ 796 fi; \ 797 done 798 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 799 if test "$$subdir" = .; then :; else \ 800 $(am__make_dryrun) \ 801 || test -d "$(distdir)/$$subdir" \ 802 || $(MKDIR_P) "$(distdir)/$$subdir" \ 803 || exit 1; \ 804 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 805 $(am__relativize); \ 806 new_distdir=$$reldir; \ 807 dir1=$$subdir; dir2="$(top_distdir)"; \ 808 $(am__relativize); \ 809 new_top_distdir=$$reldir; \ 810 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 811 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 812 ($(am__cd) $$subdir && \ 813 $(MAKE) $(AM_MAKEFLAGS) \ 814 top_distdir="$$new_top_distdir" \ 815 distdir="$$new_distdir" \ 816 am__remove_distdir=: \ 817 am__skip_length_check=: \ 818 am__skip_mode_fix=: \ 819 distdir) \ 820 || exit 1; \ 821 fi; \ 822 done 823 $(MAKE) $(AM_MAKEFLAGS) \ 824 top_distdir="$(top_distdir)" distdir="$(distdir)" \ 825 dist-hook 826check-am: all-am 827check: check-recursive 828all-am: Makefile all-local 829installdirs: installdirs-recursive 830installdirs-am: 831install: install-recursive 832install-exec: install-exec-recursive 833install-data: install-data-recursive 834uninstall: uninstall-recursive 835 836install-am: all-am 837 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 838 839installcheck: installcheck-recursive 840install-strip: 841 if test -z '$(STRIP)'; then \ 842 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 843 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 844 install; \ 845 else \ 846 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 847 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 848 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 849 fi 850mostlyclean-generic: 851 852clean-generic: 853 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 854 855distclean-generic: 856 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 857 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 858 859maintainer-clean-generic: 860 @echo "This command is intended for maintainers to use" 861 @echo "it deletes files that may require special tools to rebuild." 862 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 863clean: clean-recursive 864 865clean-am: clean-generic clean-libtool clean-local mostlyclean-am 866 867distclean: distclean-recursive 868 -rm -f Makefile 869distclean-am: clean-am distclean-generic distclean-local \ 870 distclean-tags 871 872dvi: dvi-recursive 873 874dvi-am: 875 876html-am: 877 878info: info-recursive 879 880info-am: 881 882install-data-am: install-data-local 883 884install-dvi: install-dvi-recursive 885 886install-dvi-am: 887 888install-exec-am: 889 890install-html: install-html-recursive 891 892install-html-am: 893 894install-info: install-info-recursive 895 896install-info-am: 897 898install-man: 899 900install-pdf: install-pdf-recursive 901 902install-pdf-am: 903 904install-ps: install-ps-recursive 905 906install-ps-am: 907 908installcheck-am: 909 910maintainer-clean: maintainer-clean-recursive 911 -rm -f Makefile 912maintainer-clean-am: distclean-am maintainer-clean-generic 913 914mostlyclean: mostlyclean-recursive 915 916mostlyclean-am: mostlyclean-generic mostlyclean-libtool 917 918pdf: pdf-recursive 919 920pdf-am: 921 922ps: ps-recursive 923 924ps-am: 925 926uninstall-am: uninstall-local 927 928.MAKE: $(am__recursive_targets) install-am install-strip 929 930.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ 931 check check-am clean clean-generic clean-libtool clean-local \ 932 cscopelist-am ctags ctags-am dist-hook distclean \ 933 distclean-generic distclean-libtool distclean-local \ 934 distclean-tags distdir dvi dvi-am html html-am info info-am \ 935 install install-am install-data install-data-am \ 936 install-data-local install-dvi install-dvi-am install-exec \ 937 install-exec-am install-html install-html-am install-info \ 938 install-info-am install-man install-pdf install-pdf-am \ 939 install-ps install-ps-am install-strip installcheck \ 940 installcheck-am installdirs installdirs-am maintainer-clean \ 941 maintainer-clean-generic mostlyclean mostlyclean-generic \ 942 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ 943 uninstall-am uninstall-local 944 945.PRECIOUS: Makefile 946 947html: html-build.stamp 948 949upload: $(FORMATS) 950 @if echo $(FORMATS) | grep html > /dev/null; then \ 951 echo "Preparing docs for upload (rebasing cross-references) ..." ; \ 952 if test x$(builddir) != x$(srcdir); then \ 953 echo "make upload can only be used if srcdir == builddir"; \ 954 exit 1; \ 955 fi; \ 956 # gtkdoc-rebase sometimes gets confused, so reset everything to \ 957 # local links before rebasing to online links \ 958 gtkdoc-rebase --html-dir=$(builddir)/html 2>/dev/null 2>/dev/null ; \ 959 rebase=`gtkdoc-rebase --verbose --online --html-dir=$(builddir)/html` ; \ 960 echo "$$rebase" | grep -e "On-*line"; \ 961 for req in glib gobject gstreamer gstreamer-libs gst-plugins-base-libs; do \ 962 if ! ( echo "$$rebase" | grep -i -e "On-*line.*/$$req/" ); then \ 963 echo "===============================================================================" ; \ 964 echo " Could not determine online location for $$req docs. Cross-referencing will be " ; \ 965 echo " broken, so not uploading. Make sure the library's gtk-doc documentation is " ; \ 966 echo " installed somewhere in /usr/share/gtk-doc. " ; \ 967 echo "===============================================================================" ; \ 968 exit 1; \ 969 fi; \ 970 done; \ 971 export SRC="$$SRC html"; \ 972 fi; \ 973 if echo $(FORMATS) | grep ps > /dev/null; then export SRC="$$SRC $(DOC).ps"; fi; \ 974 if echo $(FORMATS) | grep pdf > /dev/null; then export SRC="$$SRC $(DOC).pdf"; fi; \ 975 \ 976 # upload releases to both X.Y/ and head/ subdirectories \ 977 export DIR=$(DOC_BASE)/gstreamer/$(PACKAGE_VERSION_MAJOR).$(PACKAGE_VERSION_MINOR)/$(DOC); \ 978 echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \ 979 ssh $(DOC_SERVER) mkdir -p $$DIR; \ 980 rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \ 981 ssh $(DOC_SERVER) chmod -R g+w $$DIR; \ 982 \ 983 export DIR=$(DOC_BASE)/gstreamer/head/$(DOC); \ 984 echo Uploading $$SRC to $(DOC_SERVER):$$DIR; \ 985 ssh $(DOC_SERVER) mkdir -p $$DIR; \ 986 rsync -rv -e ssh --delete $$SRC $(DOC_SERVER):$$DIR; \ 987 ssh $(DOC_SERVER) chmod -R g+w $$DIR; \ 988 \ 989 if echo $(FORMATS) | grep html > /dev/null; then \ 990 echo "Un-preparing docs for upload (rebasing cross-references) ..." ; \ 991 gtkdoc-rebase --html-dir=$(builddir)/html ; \ 992 fi; \ 993 echo Done 994 995help: 996 @echo 997 @echo "If you are a doc maintainer, run 'make update' to update" 998 @echo "the documentation files maintained in git" 999 @echo 1000 @echo Other useful make targets: 1001 @echo 1002 @echo check-inspected-versions: make sure the inspected plugin info 1003 @echo is up to date before a release 1004 @echo 1005 1006# update the stuff maintained by doc maintainers 1007update: scanobj-update 1008 $(MAKE) check-outdated-docs 1009 1010@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp 1011 1012#### scan gobjects; done by documentation maintainer #### 1013@ENABLE_GTK_DOC_TRUE@scanobj-update: 1014@ENABLE_GTK_DOC_TRUE@ -rm scanobj-build.stamp 1015@ENABLE_GTK_DOC_TRUE@ $(MAKE) scanobj-build.stamp 1016 1017# gstdoc-scanobj produces 5 output files (.new) 1018# scangobj-merge.py merges them into the file which we commit later 1019# TODO: also merge the hierarchy 1020@ENABLE_GTK_DOC_TRUE@scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) 1021@ENABLE_GTK_DOC_TRUE@ @echo " DOC Introspecting gobjects" 1022@ENABLE_GTK_DOC_TRUE@ @if test x"$(srcdir)" != x. ; then \ 1023@ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \ 1024@ENABLE_GTK_DOC_TRUE@ do \ 1025@ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then \ 1026@ENABLE_GTK_DOC_TRUE@ cp -u $(srcdir)/$$f . || cp $(srcdir)/$$f . ; \ 1027@ENABLE_GTK_DOC_TRUE@ fi; \ 1028@ENABLE_GTK_DOC_TRUE@ done; \ 1029@ENABLE_GTK_DOC_TRUE@ fi; \ 1030@ENABLE_GTK_DOC_TRUE@ mkdir -p $(INSPECT_DIR); \ 1031@ENABLE_GTK_DOC_TRUE@ scanobj_options=""; \ 1032@ENABLE_GTK_DOC_TRUE@ if test "x$(V)" = "x1"; then \ 1033@ENABLE_GTK_DOC_TRUE@ scanobj_options="--verbose"; \ 1034@ENABLE_GTK_DOC_TRUE@ fi; \ 1035@ENABLE_GTK_DOC_TRUE@ $(INSPECT_ENVIRONMENT) \ 1036@ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" \ 1037@ENABLE_GTK_DOC_TRUE@ CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS) $(WARNING_CFLAGS)" \ 1038@ENABLE_GTK_DOC_TRUE@ LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ 1039@ENABLE_GTK_DOC_TRUE@ $(GST_DOC_SCANOBJ) $$scanobj_options --type-init-func="gst_init(NULL,NULL)" \ 1040@ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) --source=$(PACKAGE) --inspect-dir=$(INSPECT_DIR) && \ 1041@ENABLE_GTK_DOC_TRUE@ echo " DOC Merging introspection data" && \ 1042@ENABLE_GTK_DOC_TRUE@ $(PYTHON) \ 1043@ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/scangobj-merge.py $(DOC_MODULE) || exit 1; \ 1044@ENABLE_GTK_DOC_TRUE@ if test x"$(srcdir)" != x. ; then \ 1045@ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES); \ 1046@ENABLE_GTK_DOC_TRUE@ do \ 1047@ENABLE_GTK_DOC_TRUE@ cmp -s ./$$f $(srcdir)/$$f || cp ./$$f $(srcdir)/ ; \ 1048@ENABLE_GTK_DOC_TRUE@ done; \ 1049@ENABLE_GTK_DOC_TRUE@ fi; \ 1050@ENABLE_GTK_DOC_TRUE@ touch scanobj-build.stamp 1051 1052@ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp 1053@ENABLE_GTK_DOC_TRUE@ @true 1054 1055### scan headers; done on every build ### 1056@ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp 1057@ENABLE_GTK_DOC_TRUE@ @echo ' DOC Scanning header files' 1058@ENABLE_GTK_DOC_TRUE@ @if test x"$(srcdir)" != x. ; then \ 1059@ENABLE_GTK_DOC_TRUE@ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \ 1060@ENABLE_GTK_DOC_TRUE@ do \ 1061@ENABLE_GTK_DOC_TRUE@ if test -e $(srcdir)/$$f; then \ 1062@ENABLE_GTK_DOC_TRUE@ cp -u $(srcdir)/$$f . || cp $(srcdir)/$$f .; \ 1063@ENABLE_GTK_DOC_TRUE@ fi; \ 1064@ENABLE_GTK_DOC_TRUE@ done; \ 1065@ENABLE_GTK_DOC_TRUE@ fi 1066@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \ 1067@ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \ 1068@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \ 1069@ENABLE_GTK_DOC_TRUE@ done ; \ 1070@ENABLE_GTK_DOC_TRUE@ gtkdoc-scan \ 1071@ENABLE_GTK_DOC_TRUE@ $(SCAN_OPTIONS) $(EXTRA_HFILES) \ 1072@ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) \ 1073@ENABLE_GTK_DOC_TRUE@ $${_source_dir} \ 1074@ENABLE_GTK_DOC_TRUE@ --ignore-headers="$(IGNORE_HFILES)"; \ 1075@ENABLE_GTK_DOC_TRUE@ touch scan-build.stamp 1076 1077#### xml #### 1078 1079@ENABLE_GTK_DOC_TRUE@sgml-build.stamp: scan-build.stamp $(CFILE_GLOB) $(top_srcdir)/common/plugins.xsl $(expand_content_files) 1080@ENABLE_GTK_DOC_TRUE@ @echo ' DOC Building XML' 1081@ENABLE_GTK_DOC_TRUE@ @-mkdir -p xml 1082@ENABLE_GTK_DOC_TRUE@ @for a in $(inspect_files); do \ 1083@ENABLE_GTK_DOC_TRUE@ xsltproc --stringparam module $(MODULE) \ 1084@ENABLE_GTK_DOC_TRUE@ $(top_srcdir)/common/plugins.xsl $$a > xml/`basename $$a`; done 1085@ENABLE_GTK_DOC_TRUE@ @for f in $(EXAMPLE_CFILES); do \ 1086@ENABLE_GTK_DOC_TRUE@ $(PYTHON) $(top_srcdir)/common/c-to-xml.py $$f > xml/element-`basename $$f .c`.xml; done 1087@ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \ 1088@ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \ 1089@ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \ 1090@ENABLE_GTK_DOC_TRUE@ done ; \ 1091@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb \ 1092@ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) \ 1093@ENABLE_GTK_DOC_TRUE@ $${_source_dir} \ 1094@ENABLE_GTK_DOC_TRUE@ --expand-content-files="$(expand_content_files)" \ 1095@ENABLE_GTK_DOC_TRUE@ --main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \ 1096@ENABLE_GTK_DOC_TRUE@ --output-format=xml \ 1097@ENABLE_GTK_DOC_TRUE@ --ignore-files="$(IGNORE_HFILES) $(IGNORE_CFILES)" \ 1098@ENABLE_GTK_DOC_TRUE@ $(MKDB_OPTIONS) 1099@ENABLE_GTK_DOC_TRUE@ @$(PYTHON) $(top_srcdir)/common/mangle-db.py xml 1100@ENABLE_GTK_DOC_TRUE@ @cp ../version.entities xml 1101@ENABLE_GTK_DOC_TRUE@ @touch sgml-build.stamp 1102 1103@ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp 1104@ENABLE_GTK_DOC_TRUE@ @true 1105 1106#### html #### 1107 1108@ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) 1109@ENABLE_GTK_DOC_TRUE@ @echo ' DOC Building HTML' 1110@ENABLE_GTK_DOC_TRUE@ @rm -rf html 1111@ENABLE_GTK_DOC_TRUE@ @mkdir html 1112@ENABLE_GTK_DOC_TRUE@ @cp $(srcdir)/$(DOC_MAIN_SGML_FILE) html 1113@ENABLE_GTK_DOC_TRUE@ @for f in $(content_files); do cp $(srcdir)/$$f html; done 1114@ENABLE_GTK_DOC_TRUE@ @cp -pr xml html 1115@ENABLE_GTK_DOC_TRUE@ @cp ../version.entities html 1116@ENABLE_GTK_DOC_TRUE@ @mkhtml_options=""; \ 1117@ENABLE_GTK_DOC_TRUE@ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ 1118@ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \ 1119@ENABLE_GTK_DOC_TRUE@ if test "x$(V)" = "x1"; then \ 1120@ENABLE_GTK_DOC_TRUE@ mkhtml_options="$$mkhtml_options --verbose"; \ 1121@ENABLE_GTK_DOC_TRUE@ fi; \ 1122@ENABLE_GTK_DOC_TRUE@ fi; \ 1123@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE)-@GST_API_VERSION@ $(DOC_MAIN_SGML_FILE) 1124@ENABLE_GTK_DOC_TRUE@ @rm -f html/$(DOC_MAIN_SGML_FILE) 1125@ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml 1126@ENABLE_GTK_DOC_TRUE@ @rm -f html/version.entities 1127@ENABLE_GTK_DOC_TRUE@ @test "x$(HTML_IMAGES)" = "x" || for i in "" $(HTML_IMAGES) ; do \ 1128@ENABLE_GTK_DOC_TRUE@ if test "$$i" != ""; then cp $(srcdir)/$$i html ; fi; done 1129@ENABLE_GTK_DOC_TRUE@ @echo ' DOC Fixing cross-references' 1130@ENABLE_GTK_DOC_TRUE@ @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) 1131@ENABLE_GTK_DOC_TRUE@ @touch html-build.stamp 1132 1133@ENABLE_GTK_DOC_TRUE@clean-local-gtkdoc: 1134@ENABLE_GTK_DOC_TRUE@ @rm -rf xml tmpl html 1135# clean files copied for nonsrcdir templates build 1136@ENABLE_GTK_DOC_TRUE@ @if test x"$(srcdir)" != x. ; then \ 1137@ENABLE_GTK_DOC_TRUE@ rm -rf $(SCANOBJ_FILES) $(SCAN_FILES) $(REPORT_FILES) \ 1138@ENABLE_GTK_DOC_TRUE@ $(MAINTAINER_DOC_STAMPS); \ 1139@ENABLE_GTK_DOC_TRUE@ fi 1140@ENABLE_GTK_DOC_FALSE@all-local: 1141@ENABLE_GTK_DOC_FALSE@clean-local-gtkdoc: 1142 1143clean-local: clean-local-gtkdoc 1144 @rm -f *~ *.bak 1145 @rm -rf .libs 1146 1147distclean-local: 1148 @rm -f $(REPORT_FILES) \ 1149 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt 1150 @rm -rf tmpl/*.sgml.bak 1151 @rm -f $(DOC_MODULE).hierarchy 1152 @rm -f *.stamp || true 1153 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ 1154 rm -f $(DOC_MODULE)-docs.sgml ; \ 1155 rm -f $(DOC_MODULE).types ; \ 1156 rm -f $(DOC_MODULE).interfaces ; \ 1157 rm -f $(DOC_MODULE)-overrides.txt ; \ 1158 rm -f $(DOC_MODULE).prerequisites ; \ 1159 rm -f $(DOC_MODULE)-sections.txt ; \ 1160 rm -rf tmpl/*.sgml ; \ 1161 rm -rf $(INSPECT_DIR); \ 1162 fi 1163 @rm -rf *.o 1164 1165# thomas: make docs parallel installable; devhelp requires majorminor too 1166install-data-local: 1167 (installfiles=`echo $(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css`; \ 1168 if test "$$installfiles" = '$(builddir)/html/*.sgml $(builddir)/html/*.html $(builddir)/html/*.png $(builddir)/html/*.css'; \ 1169 then echo '-- Nothing to install' ; \ 1170 else \ 1171 $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ 1172 for i in $$installfiles; do \ 1173 echo '-- Installing '$$i ; \ 1174 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ 1175 done; \ 1176 pngfiles=`echo ./html/*.png`; \ 1177 if test "$$pngfiles" != './html/*.png'; then \ 1178 for i in $$pngfiles; do \ 1179 echo '-- Installing '$$i ; \ 1180 $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ 1181 done; \ 1182 fi; \ 1183 echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_API_VERSION@.devhelp2' ; \ 1184 if test -e $(builddir)/html/$(DOC_MODULE)-@GST_API_VERSION@.devhelp2; then \ 1185 $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_API_VERSION@.devhelp2 \ 1186 $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_API_VERSION@.devhelp2; \ 1187 fi; \ 1188 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) || true ; \ 1189 fi) 1190uninstall-local: 1191 if test -d $(DESTDIR)$(TARGET_DIR); then \ 1192 rm -rf $(DESTDIR)$(TARGET_DIR)/*; \ 1193 rmdir -p $(DESTDIR)$(TARGET_DIR) 2>/dev/null || true; \ 1194 else \ 1195 echo '-- Nothing to uninstall' ; \ 1196 fi; 1197 1198# 1199# Checks 1200# 1201@ENABLE_GTK_DOC_TRUE@check-hierarchy: $(DOC_MODULE).hierarchy 1202@ENABLE_GTK_DOC_TRUE@ @if grep ' ' $(DOC_MODULE).hierarchy; then \ 1203@ENABLE_GTK_DOC_TRUE@ echo "$(DOC_MODULE).hierarchy contains tabs, please fix"; \ 1204@ENABLE_GTK_DOC_TRUE@ /bin/false; \ 1205@ENABLE_GTK_DOC_TRUE@ fi 1206 1207@ENABLE_GTK_DOC_TRUE@check: check-hierarchy 1208 1209check-inspected-versions: 1210 @echo Checking plugin versions of inspected plugin data ...; \ 1211 fail=0 ; \ 1212 for each in $(inspect_files) ; do \ 1213 if (grep -H '<version>' $$each | grep -v '<version>$(VERSION)'); then \ 1214 echo $$each should be fixed to say version $(VERSION) or be removed ; \ 1215 echo "sed -i -e 's/<version.*version>/<version>$(VERSION)<\/version>/'" $$each; \ 1216 echo ; \ 1217 fail=1; \ 1218 fi ; \ 1219 done ; \ 1220 exit $$fail 1221 1222check-outdated-docs: 1223 $(AM_V_GEN)echo Checking for outdated plugin inspect data ...; \ 1224 fail=0 ; \ 1225 if [ -d $(top_srcdir)/.git/ ]; then \ 1226 files=`find $(srcdir)/inspect/ -name '*xml'`; \ 1227 for f in $$files; do \ 1228 ver=`grep '<version>$(PACKAGE_VERSION)</version>' $$f`; \ 1229 if test "x$$ver" = "x"; then \ 1230 plugin=`echo $$f | sed -e 's/^.*plugin-//' -e 's/.xml//'`; \ 1231 # echo "Checking $$plugin $$f"; \ 1232 pushd "$(top_srcdir)" >/dev/null; \ 1233 pinit=`git grep -A3 GST_PLUGIN_DEFINE -- ext/ gst/ sys/ | grep "\"$$plugin\""`; \ 1234 popd >/dev/null; \ 1235 # echo "[$$pinit]"; \ 1236 if test "x$$pinit" = "x"; then \ 1237 printf " **** outdated docs for plugin %-15s: %s\n" $$plugin $$f; \ 1238 fail=1; \ 1239 fi; \ 1240 fi; \ 1241 done; \ 1242 fi ; \ 1243 exit $$fail 1244 1245# 1246# Require gtk-doc when making dist 1247# 1248@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: 1249@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: 1250@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" 1251@ENABLE_GTK_DOC_FALSE@ @false 1252 1253# FIXME: decide whether we want to dist generated html or not 1254# also this only works, if the project has been build before 1255# we could dist html only if its there, but that might lead to missing html in 1256# tarballs 1257dist-hook: dist-check-gtkdoc dist-hook-local 1258 mkdir $(distdir)/html 1259 cp html/* $(distdir)/html 1260 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ 1261 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ 1262 cd $(distdir) && rm -f $(DISTCLEANFILES) 1263 -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html 1264 1265.PHONY : dist-hook-local docs check-outdated-docs inspect 1266 1267# avoid spurious build errors when distchecking with -jN 1268.NOTPARALLEL: 1269 1270-include $(top_srcdir)/git.mk 1271 1272# Tell versions [3.59,3.63) of GNU make to not export all variables. 1273# Otherwise a system limit (for SysV at least) may be exceeded. 1274.NOEXPORT: 1275