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 $(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
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
72 CONFIG_CLEAN_FILES = version.xml
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_GENMARSHAL = @GLIB_GENMARSHAL@
116 GTKDOC_CHECK = @GTKDOC_CHECK@
117 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
118 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
119 GTKDOC_MKPDF = @GTKDOC_MKPDF@
120 GTKDOC_REBASE = @GTKDOC_REBASE@
121 HTML_DIR = @HTML_DIR@
123 INSTALL_DATA = @INSTALL_DATA@
124 INSTALL_PROGRAM = @INSTALL_PROGRAM@
125 INSTALL_SCRIPT = @INSTALL_SCRIPT@
126 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
127 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
128 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
129 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
130 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
131 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
132 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
133 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
134 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
137 LIBGUPNP_CFLAGS = @LIBGUPNP_CFLAGS@
138 LIBGUPNP_LIBS = @LIBGUPNP_LIBS@
144 LTLIBOBJS = @LTLIBOBJS@
146 MAKEINFO = @MAKEINFO@
147 MANIFEST_TOOL = @MANIFEST_TOOL@
156 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
157 PACKAGE_NAME = @PACKAGE_NAME@
158 PACKAGE_STRING = @PACKAGE_STRING@
159 PACKAGE_TARNAME = @PACKAGE_TARNAME@
160 PACKAGE_URL = @PACKAGE_URL@
161 PACKAGE_VERSION = @PACKAGE_VERSION@
162 PATH_SEPARATOR = @PATH_SEPARATOR@
163 PKG_CONFIG = @PKG_CONFIG@
164 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
165 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
168 SET_MAKE = @SET_MAKE@
173 abs_builddir = @abs_builddir@
174 abs_srcdir = @abs_srcdir@
175 abs_top_builddir = @abs_top_builddir@
176 abs_top_srcdir = @abs_top_srcdir@
177 ac_ct_AR = @ac_ct_AR@
178 ac_ct_CC = @ac_ct_CC@
179 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
180 am__include = @am__include@
181 am__leading_dot = @am__leading_dot@
182 am__quote = @am__quote@
184 am__untar = @am__untar@
187 build_alias = @build_alias@
188 build_cpu = @build_cpu@
189 build_os = @build_os@
190 build_vendor = @build_vendor@
191 builddir = @builddir@
193 datarootdir = @datarootdir@
196 exec_prefix = @exec_prefix@
198 host_alias = @host_alias@
199 host_cpu = @host_cpu@
201 host_vendor = @host_vendor@
203 includedir = @includedir@
205 install_sh = @install_sh@
207 libexecdir = @libexecdir@
208 localedir = @localedir@
209 localstatedir = @localstatedir@
212 oldincludedir = @oldincludedir@
215 program_transform_name = @program_transform_name@
218 sharedstatedir = @sharedstatedir@
220 sysconfdir = @sysconfdir@
221 target_alias = @target_alias@
222 top_build_prefix = @top_build_prefix@
223 top_builddir = @top_builddir@
224 top_srcdir = @top_srcdir@
226 # We require automake 1.6 at least.
227 AUTOMAKE_OPTIONS = 1.6
229 # This is a blank Makefile.am for using gtk-doc.
230 # Copy this to your project's API docs directory and modify the variables to
231 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
232 # of using the various options.
234 # The name of the module, e.g. 'glib'.
235 DOC_MODULE = gupnp-av
237 # The top-level SGML file. You can change this if you want to.
238 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
240 # The directory containing the source code. Relative to $(srcdir).
241 # gtk-doc will search all .c & .h files beneath here for inline comments
242 # documenting the functions and macros.
243 # e.g. DOC_SOURCE_DIR=../../../gtk
244 DOC_SOURCE_DIR = ../libgupnp-av
246 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
249 # Extra options to supply to gtkdoc-scan.
250 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
251 SCAN_OPTIONS = --deprecated-guards="GUPNP_DISABLE_DEPRECATED"
253 # Extra options to supply to gtkdoc-mkdb.
254 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
255 MKDB_OPTIONS = --sgml-mode --output-format=xml
257 # Extra options to supply to gtkdoc-mktmpl
258 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
261 # Extra options to supply to gtkdoc-fixref. Not normally needed.
262 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
265 # Used for dependencies. The docs will be rebuilt if any of these change.
266 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
267 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
268 HFILE_GLOB = $(top_srcdir)/libgupnp-av/*.h
269 CFILE_GLOB = $(top_srcdir)/libgupnp-av/*.c
271 # Header files to ignore when scanning.
272 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
279 gupnp-didl-lite-contributor-private.h \
280 gupnp-didl-lite-descriptor-private.h \
281 gupnp-didl-lite-object-private.h \
282 gupnp-didl-lite-resource-private.h
285 # Images to copy into HTML directory.
286 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
289 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
290 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
291 content_files = version.xml
293 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
294 # These files must be listed here *and* in content_files
295 # e.g. expand_content_files=running.sgml
296 expand_content_files =
298 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
299 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
300 # signals and properties.
301 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
302 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
303 INCLUDES = -I$(top_srcdir) $(LIBGUPNP_CFLAGS)
304 GTKDOC_LIBS = $(top_builddir)/libgupnp-av/libgupnp-av-1.0.la $(LIBGUPNP_LIBS)
305 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
306 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
307 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
308 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
309 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
310 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
312 # We set GPATH here; this gives us semantics for GNU make
313 # which are more like other make's VPATH, when it comes to
314 # whether a source that is a target of one rule is then
315 # searched for in VPATH/GPATH.
318 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
321 $(DOC_MAIN_SGML_FILE) \
322 $(DOC_MODULE)-sections.txt \
323 $(DOC_MODULE)-overrides.txt
326 # This includes the standard gtk-doc make rules, copied by gtkdocize.
328 # Other files to distribute
329 # e.g. EXTRA_DIST += version.xml.in
330 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in
331 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
332 html-build.stamp pdf-build.stamp \
333 sgml.stamp html.stamp pdf.stamp
337 $(DOC_MODULE).hierarchy \
338 $(DOC_MODULE).interfaces \
339 $(DOC_MODULE).prerequisites \
340 $(DOC_MODULE).signals
343 $(DOC_MODULE)-undocumented.txt \
344 $(DOC_MODULE)-undeclared.txt \
345 $(DOC_MODULE)-unused.txt
347 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
348 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
349 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
350 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
351 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
355 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
357 case '$(am__configure_deps)' in \
359 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
360 && { if test -f $@; then exit 0; else break; fi; }; \
364 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
365 $(am__cd) $(top_srcdir) && \
366 $(AUTOMAKE) --gnu doc/Makefile
368 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
371 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
373 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
374 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
376 $(top_srcdir)/gtk-doc.make:
378 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
379 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
381 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
382 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
383 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
384 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
385 $(am__aclocal_m4_deps):
386 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
387 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
401 distdir: $(DISTFILES)
402 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
403 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
404 list='$(DISTFILES)'; \
405 dist_files=`for file in $$list; do echo $$file; done | \
406 sed -e "s|^$$srcdirstrip/||;t" \
407 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
408 case $$dist_files in \
409 */*) $(MKDIR_P) `echo "$$dist_files" | \
410 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
413 for file in $$dist_files; do \
414 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
415 if test -d $$d/$$file; then \
416 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
417 if test -d "$(distdir)/$$file"; then \
418 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
420 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
421 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
422 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
424 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
426 test -f "$(distdir)/$$file" \
427 || cp -p $$d/$$file "$(distdir)/$$file" \
431 $(MAKE) $(AM_MAKEFLAGS) \
432 top_distdir="$(top_distdir)" distdir="$(distdir)" \
436 all-am: Makefile all-local
439 install-exec: install-exec-am
440 install-data: install-data-am
441 uninstall: uninstall-am
444 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
446 installcheck: installcheck-am
448 if test -z '$(STRIP)'; then \
449 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
450 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
453 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
454 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
455 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
460 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
463 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
464 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
466 maintainer-clean-generic:
467 @echo "This command is intended for maintainers to use"
468 @echo "it deletes files that may require special tools to rebuild."
471 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
473 distclean: distclean-am
475 distclean-am: clean-am distclean-generic distclean-local
489 install-data-am: install-data-local
491 install-dvi: install-dvi-am
497 install-html: install-html-am
501 install-info: install-info-am
507 install-pdf: install-pdf-am
511 install-ps: install-ps-am
517 maintainer-clean: maintainer-clean-am
519 maintainer-clean-am: distclean-am maintainer-clean-generic \
520 maintainer-clean-local
522 mostlyclean: mostlyclean-am
524 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
534 uninstall-am: uninstall-local
536 .MAKE: install-am install-strip
538 .PHONY: all all-am all-local check check-am clean clean-generic \
539 clean-libtool clean-local dist-hook distclean \
540 distclean-generic distclean-libtool distclean-local distdir \
541 dvi dvi-am html html-am info info-am install install-am \
542 install-data install-data-am install-data-local install-dvi \
543 install-dvi-am install-exec install-exec-am install-html \
544 install-html-am install-info install-info-am install-man \
545 install-pdf install-pdf-am install-ps install-ps-am \
546 install-strip installcheck installcheck-am installdirs \
547 maintainer-clean maintainer-clean-generic \
548 maintainer-clean-local mostlyclean mostlyclean-generic \
549 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
553 export GUPNP_AV_DATADIR := $(top_srcdir)/data
555 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
556 @ENABLE_GTK_DOC_FALSE@all-local:
558 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
560 $(REPORT_FILES): sgml-build.stamp
565 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
566 echo ' DOC Preparing build'; \
567 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
568 if test "x$$files" != "x" ; then \
569 for file in $$files ; do \
570 test -f $(abs_srcdir)/$$file && \
571 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
575 @touch setup-build.stamp
579 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
580 @echo ' DOC Scanning header files'
582 for i in $(DOC_SOURCE_DIR) ; do \
583 _source_dir="$${_source_dir} --source-dir=$$i" ; \
585 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
586 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
587 echo " DOC Introspecting gobjects"; \
588 scanobj_options=""; \
589 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
590 if test "$(?)" = "0"; then \
591 if test "x$(V)" = "x1"; then \
592 scanobj_options="--verbose"; \
595 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
596 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
598 for i in $(SCANOBJ_FILES) ; do \
599 test -f $$i || touch $$i ; \
602 @touch scan-build.stamp
604 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
609 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
610 @echo ' DOC Building XML'
612 for i in $(DOC_SOURCE_DIR) ; do \
613 _source_dir="$${_source_dir} --source-dir=$$i" ; \
615 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)
616 @touch sgml-build.stamp
618 sgml.stamp: sgml-build.stamp
623 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
624 @echo ' DOC Building HTML'
627 @mkhtml_options=""; \
628 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
629 if test "$(?)" = "0"; then \
630 if test "x$(V)" = "x1"; then \
631 mkhtml_options="$$mkhtml_options --verbose"; \
634 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
635 if test "$(?)" = "0"; then \
636 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
638 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
639 -@test "x$(HTML_IMAGES)" = "x" || \
640 for file in $(HTML_IMAGES) ; do \
641 if test -f $(abs_srcdir)/$$file ; then \
642 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
644 if test -f $(abs_builddir)/$$file ; then \
645 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
648 @echo ' DOC Fixing cross-references'
649 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
650 @touch html-build.stamp
654 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
655 @echo ' DOC Building PDF'
656 @rm -f $(DOC_MODULE).pdf
658 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
659 if test "$(?)" = "0"; then \
660 if test "x$(V)" = "x1"; then \
661 mkpdf_options="$$mkpdf_options --verbose"; \
664 if test "x$(HTML_IMAGES)" != "x"; then \
665 for img in $(HTML_IMAGES); do \
666 part=`dirname $$img`; \
667 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
668 if test $$? != 0; then \
669 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
673 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
674 @touch pdf-build.stamp
683 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
684 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
685 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
686 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
689 maintainer-clean-local: clean
693 @installfiles=`echo $(builddir)/html/*`; \
694 if test "$$installfiles" = '$(builddir)/html/*'; \
695 then echo 1>&2 'Nothing to install' ; \
697 if test -n "$(DOC_MODULE_VERSION)"; then \
698 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
700 installdir="$(DESTDIR)$(TARGET_DIR)"; \
702 $(mkinstalldirs) $${installdir} ; \
703 for i in $$installfiles; do \
704 echo ' $(INSTALL_DATA) '$$i ; \
705 $(INSTALL_DATA) $$i $${installdir}; \
707 if test -n "$(DOC_MODULE_VERSION)"; then \
708 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
709 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
711 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
715 @if test -n "$(DOC_MODULE_VERSION)"; then \
716 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
718 installdir="$(DESTDIR)$(TARGET_DIR)"; \
720 rm -rf $${installdir}
723 # Require gtk-doc when making dist
725 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
726 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
727 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
728 @ENABLE_GTK_DOC_FALSE@ @false
730 dist-hook: dist-check-gtkdoc dist-hook-local
731 @mkdir $(distdir)/html
732 @cp ./html/* $(distdir)/html
733 @-cp ./$(DOC_MODULE).pdf $(distdir)/
734 @-cp ./$(DOC_MODULE).types $(distdir)/
735 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
736 @cd $(distdir) && rm -f $(DISTCLEANFILES)
737 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
739 .PHONY : dist-hook-local docs
741 # Tell versions [3.59,3.63) of GNU make to not export all variables.
742 # Otherwise a system limit (for SysV at least) may be exceeded.