1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # -*- mode: makefile -*-
20 ####################################
21 # Everything below here is generic #
22 ####################################
29 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
30 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
32 for am__flg in $$MAKEFLAGS; do \
35 *n*) am__dry=yes; break;; \
39 test $$am__dry = yes; \
41 pkgdatadir = $(datadir)/@PACKAGE@
42 pkgincludedir = $(includedir)/@PACKAGE@
43 pkglibdir = $(libdir)/@PACKAGE@
44 pkglibexecdir = $(libexecdir)/@PACKAGE@
45 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46 install_sh_DATA = $(install_sh) -c -m 644
47 install_sh_PROGRAM = $(install_sh) -c
48 install_sh_SCRIPT = $(install_sh) -c
49 INSTALL_HEADER = $(INSTALL_DATA)
50 transform = $(program_transform_name)
57 build_triplet = @build@
59 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
60 $(top_srcdir)/gtk-doc.make
61 subdir = doc/gupnp-dlna-metadata
62 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
63 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
64 $(top_srcdir)/m4/introspection.m4 $(top_srcdir)/m4/libtool.m4 \
65 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
66 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
67 $(top_srcdir)/m4/vapigen.m4 $(top_srcdir)/configure.ac
68 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
70 mkinstalldirs = $(install_sh) -d
71 CONFIG_HEADER = $(top_builddir)/config.h
73 CONFIG_CLEAN_VPATH_FILES =
74 AM_V_GEN = $(am__v_GEN_@AM_V@)
75 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
76 am__v_GEN_0 = @echo " GEN " $@;
77 AM_V_at = $(am__v_at_@AM_V@)
78 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
82 am__can_run_installinfo = \
83 case $$AM_UPDATE_INFO_DIR in \
85 *) (install-info --version) >/dev/null 2>&1;; \
87 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
90 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
94 AUTOHEADER = @AUTOHEADER@
98 CCDEPMODE = @CCDEPMODE@
101 CPPFLAGS = @CPPFLAGS@
102 CYGPATH_W = @CYGPATH_W@
106 DSYMUTIL = @DSYMUTIL@
114 GLIB_CFLAGS = @GLIB_CFLAGS@
115 GLIB_LIBS = @GLIB_LIBS@
116 GLIB_PREFIX = @GLIB_PREFIX@
117 GMODULE_CFLAGS = @GMODULE_CFLAGS@
118 GMODULE_LIBS = @GMODULE_LIBS@
119 GOBJECT_CFLAGS = @GOBJECT_CFLAGS@
120 GOBJECT_LIBS = @GOBJECT_LIBS@
122 GST_CFLAGS = @GST_CFLAGS@
123 GST_LEGACY_CFLAGS = @GST_LEGACY_CFLAGS@
124 GST_LEGACY_LIBS = @GST_LEGACY_LIBS@
125 GST_LEGACY_MAJORMINOR = @GST_LEGACY_MAJORMINOR@
126 GST_LIBS = @GST_LIBS@
127 GST_MAJORMINOR = @GST_MAJORMINOR@
128 GST_PBU_CFLAGS = @GST_PBU_CFLAGS@
129 GST_PBU_LEGACY_CFLAGS = @GST_PBU_LEGACY_CFLAGS@
130 GST_PBU_LEGACY_LIBS = @GST_PBU_LEGACY_LIBS@
131 GST_PBU_LIBS = @GST_PBU_LIBS@
132 GTKDOC_CHECK = @GTKDOC_CHECK@
133 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
134 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
135 GTKDOC_MKPDF = @GTKDOC_MKPDF@
136 GTKDOC_REBASE = @GTKDOC_REBASE@
137 GUPNP_DLNA_METADATA_BACKEND_CFLAGS = @GUPNP_DLNA_METADATA_BACKEND_CFLAGS@
138 GUPNP_DLNA_VERSION_INFO = @GUPNP_DLNA_VERSION_INFO@
139 HTML_DIR = @HTML_DIR@
141 INSTALL_DATA = @INSTALL_DATA@
142 INSTALL_PROGRAM = @INSTALL_PROGRAM@
143 INSTALL_SCRIPT = @INSTALL_SCRIPT@
144 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
145 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
146 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
147 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
148 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
149 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
150 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
151 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
152 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
158 LIBXML_CFLAGS = @LIBXML_CFLAGS@
159 LIBXML_LIBS = @LIBXML_LIBS@
162 LTLIBOBJS = @LTLIBOBJS@
164 MAKEINFO = @MAKEINFO@
165 MANIFEST_TOOL = @MANIFEST_TOOL@
166 METADATA_DIRECTORY = @METADATA_DIRECTORY@
175 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
176 PACKAGE_NAME = @PACKAGE_NAME@
177 PACKAGE_STRING = @PACKAGE_STRING@
178 PACKAGE_TARNAME = @PACKAGE_TARNAME@
179 PACKAGE_URL = @PACKAGE_URL@
180 PACKAGE_VERSION = @PACKAGE_VERSION@
181 PATH_SEPARATOR = @PATH_SEPARATOR@
182 PKG_CONFIG = @PKG_CONFIG@
183 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
184 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
187 SET_MAKE = @SET_MAKE@
193 abs_builddir = @abs_builddir@
194 abs_srcdir = @abs_srcdir@
195 abs_top_builddir = @abs_top_builddir@
196 abs_top_srcdir = @abs_top_srcdir@
197 ac_ct_AR = @ac_ct_AR@
198 ac_ct_CC = @ac_ct_CC@
199 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
200 am__include = @am__include@
201 am__leading_dot = @am__leading_dot@
202 am__quote = @am__quote@
204 am__untar = @am__untar@
207 build_alias = @build_alias@
208 build_cpu = @build_cpu@
209 build_os = @build_os@
210 build_vendor = @build_vendor@
211 builddir = @builddir@
213 datarootdir = @datarootdir@
216 exec_prefix = @exec_prefix@
218 host_alias = @host_alias@
219 host_cpu = @host_cpu@
221 host_vendor = @host_vendor@
223 includedir = @includedir@
225 install_sh = @install_sh@
227 libexecdir = @libexecdir@
228 localedir = @localedir@
229 localstatedir = @localstatedir@
232 oldincludedir = @oldincludedir@
235 program_transform_name = @program_transform_name@
238 sharedstatedir = @sharedstatedir@
240 sysconfdir = @sysconfdir@
241 target_alias = @target_alias@
242 top_build_prefix = @top_build_prefix@
243 top_builddir = @top_builddir@
244 top_srcdir = @top_srcdir@
246 # We require automake 1.6 at least.
247 AUTOMAKE_OPTIONS = 1.6
249 # This is a blank Makefile.am for using gtk-doc.
250 # Copy this to your project's API docs directory and modify the variables to
251 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
252 # of using the various options.
254 # The name of the module, e.g. 'glib'.
255 DOC_MODULE = gupnp-dlna-metadata
257 # The top-level SGML file. You can change this if you want to.
258 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
260 # The directory containing the source code. Relative to $(srcdir).
261 # gtk-doc will search all .c & .h files beneath here for inline comments
262 # documenting the functions and macros.
263 # e.g. DOC_SOURCE_DIR=../../../gtk
264 DOC_SOURCE_DIR = $(srcdir)/../../libgupnp-dlna/metadata
266 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
269 # Extra options to supply to gtkdoc-scan.
270 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
271 SCAN_OPTIONS = --deprecated-guards="GUPNP_DISABLE_DEPRECATED"
273 # Extra options to supply to gtkdoc-mkdb.
274 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
280 # Extra options to supply to gtkdoc-mktmpl
281 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
284 # Extra options to supply to gtkdoc-fixref. Not normally needed.
285 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
287 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
288 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
289 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gmodule \
290 --extra-dir=../gupnp-dlna/html
293 # Used for dependencies. The docs will be rebuilt if any of these change.
294 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
295 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
297 $(top_srcdir)/libgupnp-dlna/*.h \
298 $(top_srcdir)/libgupnp-dlna/metadata/*.h
301 $(top_srcdir)/libgupnp-dlna/*.c \
302 $(top_srcdir)/libgupnp-dlna/metadata/*.c
305 # Header files to ignore when scanning.
306 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
309 # Images to copy into HTML directory.
310 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
313 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
314 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
315 content_files = ../version.xml
317 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
318 # These files must be listed here *and* in content_files
319 # e.g. expand_content_files=running.sgml
320 expand_content_files =
322 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
323 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
324 # signals and properties.
325 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
326 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
327 INCLUDES = -I$(top_srcdir)
328 GTKDOC_LIBS = $(top_builddir)/libgupnp-dlna/libgupnp-dlna-2.0.la
329 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
330 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
331 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
332 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
333 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
334 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
336 # We set GPATH here; this gives us semantics for GNU make
337 # which are more like other make's VPATH, when it comes to
338 # whether a source that is a target of one rule is then
339 # searched for in VPATH/GPATH.
342 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
345 $(DOC_MAIN_SGML_FILE) \
346 $(DOC_MODULE)-sections.txt \
347 $(DOC_MODULE)-overrides.txt
353 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
354 html-build.stamp pdf-build.stamp \
355 sgml.stamp html.stamp pdf.stamp
359 $(DOC_MODULE).hierarchy \
360 $(DOC_MODULE).interfaces \
361 $(DOC_MODULE).prerequisites \
362 $(DOC_MODULE).signals
365 $(DOC_MODULE)-undocumented.txt \
366 $(DOC_MODULE)-undeclared.txt \
367 $(DOC_MODULE)-unused.txt
369 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
370 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
371 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
372 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
373 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
375 # This includes the standard gtk-doc make rules, copied by gtkdocize.
377 # Other files to distribute
378 # e.g. EXTRA_DIST += version.xml.in
379 DISTCLEANFILES = version.xml
383 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
385 case '$(am__configure_deps)' in \
387 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
388 && { if test -f $@; then exit 0; else break; fi; }; \
392 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/gupnp-dlna-metadata/Makefile'; \
393 $(am__cd) $(top_srcdir) && \
394 $(AUTOMAKE) --gnu doc/gupnp-dlna-metadata/Makefile
396 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
399 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
401 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
402 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
404 $(top_srcdir)/gtk-doc.make:
406 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
407 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
409 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
410 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
411 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
412 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
413 $(am__aclocal_m4_deps):
427 distdir: $(DISTFILES)
428 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
429 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
430 list='$(DISTFILES)'; \
431 dist_files=`for file in $$list; do echo $$file; done | \
432 sed -e "s|^$$srcdirstrip/||;t" \
433 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
434 case $$dist_files in \
435 */*) $(MKDIR_P) `echo "$$dist_files" | \
436 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
439 for file in $$dist_files; do \
440 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
441 if test -d $$d/$$file; then \
442 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
443 if test -d "$(distdir)/$$file"; then \
444 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
446 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
447 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
448 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
450 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
452 test -f "$(distdir)/$$file" \
453 || cp -p $$d/$$file "$(distdir)/$$file" \
457 $(MAKE) $(AM_MAKEFLAGS) \
458 top_distdir="$(top_distdir)" distdir="$(distdir)" \
462 all-am: Makefile all-local
465 install-exec: install-exec-am
466 install-data: install-data-am
467 uninstall: uninstall-am
470 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
472 installcheck: installcheck-am
474 if test -z '$(STRIP)'; then \
475 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
476 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
479 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
480 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
481 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
486 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
489 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
490 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
491 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
493 maintainer-clean-generic:
494 @echo "This command is intended for maintainers to use"
495 @echo "it deletes files that may require special tools to rebuild."
498 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
500 distclean: distclean-am
502 distclean-am: clean-am distclean-generic distclean-local
516 install-data-am: install-data-local
518 install-dvi: install-dvi-am
524 install-html: install-html-am
528 install-info: install-info-am
534 install-pdf: install-pdf-am
538 install-ps: install-ps-am
544 maintainer-clean: maintainer-clean-am
546 maintainer-clean-am: distclean-am maintainer-clean-generic \
547 maintainer-clean-local
549 mostlyclean: mostlyclean-am
551 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
561 uninstall-am: uninstall-local
563 .MAKE: install-am install-strip
565 .PHONY: all all-am all-local check check-am clean clean-generic \
566 clean-libtool clean-local dist-hook distclean \
567 distclean-generic distclean-libtool distclean-local distdir \
568 dvi dvi-am html html-am info info-am install install-am \
569 install-data install-data-am install-data-local install-dvi \
570 install-dvi-am install-exec install-exec-am install-html \
571 install-html-am install-info install-info-am install-man \
572 install-pdf install-pdf-am install-ps install-ps-am \
573 install-strip installcheck installcheck-am installdirs \
574 maintainer-clean maintainer-clean-generic \
575 maintainer-clean-local mostlyclean mostlyclean-generic \
576 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
580 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
581 @ENABLE_GTK_DOC_FALSE@all-local:
583 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
585 $(REPORT_FILES): sgml-build.stamp
590 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
591 echo ' DOC Preparing build'; \
592 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
593 if test "x$$files" != "x" ; then \
594 for file in $$files ; do \
595 test -f $(abs_srcdir)/$$file && \
596 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
600 @touch setup-build.stamp
604 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
605 @echo ' DOC Scanning header files'
607 for i in $(DOC_SOURCE_DIR) ; do \
608 _source_dir="$${_source_dir} --source-dir=$$i" ; \
610 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
611 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
612 echo " DOC Introspecting gobjects"; \
613 scanobj_options=""; \
614 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
615 if test "$(?)" = "0"; then \
616 if test "x$(V)" = "x1"; then \
617 scanobj_options="--verbose"; \
620 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
621 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
623 for i in $(SCANOBJ_FILES) ; do \
624 test -f $$i || touch $$i ; \
627 @touch scan-build.stamp
629 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
634 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
635 @echo ' DOC Building XML'
637 for i in $(DOC_SOURCE_DIR) ; do \
638 _source_dir="$${_source_dir} --source-dir=$$i" ; \
640 gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
641 @touch sgml-build.stamp
643 sgml.stamp: sgml-build.stamp
648 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
649 @echo ' DOC Building HTML'
652 @mkhtml_options=""; \
653 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
654 if test "$(?)" = "0"; then \
655 if test "x$(V)" = "x1"; then \
656 mkhtml_options="$$mkhtml_options --verbose"; \
659 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
660 if test "$(?)" = "0"; then \
661 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
663 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
664 -@test "x$(HTML_IMAGES)" = "x" || \
665 for file in $(HTML_IMAGES) ; do \
666 if test -f $(abs_srcdir)/$$file ; then \
667 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
669 if test -f $(abs_builddir)/$$file ; then \
670 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
673 @echo ' DOC Fixing cross-references'
674 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
675 @touch html-build.stamp
679 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
680 @echo ' DOC Building PDF'
681 @rm -f $(DOC_MODULE).pdf
683 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
684 if test "$(?)" = "0"; then \
685 if test "x$(V)" = "x1"; then \
686 mkpdf_options="$$mkpdf_options --verbose"; \
689 if test "x$(HTML_IMAGES)" != "x"; then \
690 for img in $(HTML_IMAGES); do \
691 part=`dirname $$img`; \
692 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
693 if test $$? != 0; then \
694 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
698 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
699 @touch pdf-build.stamp
708 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
709 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
710 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
711 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
714 maintainer-clean-local: clean
718 @installfiles=`echo $(builddir)/html/*`; \
719 if test "$$installfiles" = '$(builddir)/html/*'; \
720 then echo 1>&2 'Nothing to install' ; \
722 if test -n "$(DOC_MODULE_VERSION)"; then \
723 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
725 installdir="$(DESTDIR)$(TARGET_DIR)"; \
727 $(mkinstalldirs) $${installdir} ; \
728 for i in $$installfiles; do \
729 echo ' $(INSTALL_DATA) '$$i ; \
730 $(INSTALL_DATA) $$i $${installdir}; \
732 if test -n "$(DOC_MODULE_VERSION)"; then \
733 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
734 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
736 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
740 @if test -n "$(DOC_MODULE_VERSION)"; then \
741 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
743 installdir="$(DESTDIR)$(TARGET_DIR)"; \
745 rm -rf $${installdir}
748 # Require gtk-doc when making dist
750 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
751 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
752 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
753 @ENABLE_GTK_DOC_FALSE@ @false
755 dist-hook: dist-check-gtkdoc dist-hook-local
756 @mkdir $(distdir)/html
757 @cp ./html/* $(distdir)/html
758 @-cp ./$(DOC_MODULE).pdf $(distdir)/
759 @-cp ./$(DOC_MODULE).types $(distdir)/
760 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
761 @cd $(distdir) && rm -f $(DISTCLEANFILES)
762 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
764 .PHONY : dist-hook-local docs
766 # Tell versions [3.59,3.63) of GNU make to not export all variables.
767 # Otherwise a system limit (for SysV at least) may be exceeded.