1 # Makefile.in generated by automake 1.11.3 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 # GLIB - Library of useful C routines
20 # -*- mode: makefile -*-
22 ####################################
23 # Everything below here is generic #
24 ####################################
26 pkgdatadir = $(datadir)/@PACKAGE@
27 pkgincludedir = $(includedir)/@PACKAGE@
28 pkglibdir = $(libdir)/@PACKAGE@
29 pkglibexecdir = $(libexecdir)/@PACKAGE@
30 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31 install_sh_DATA = $(install_sh) -c -m 644
32 install_sh_PROGRAM = $(install_sh) -c
33 install_sh_SCRIPT = $(install_sh) -c
34 INSTALL_HEADER = $(INSTALL_DATA)
35 transform = $(program_transform_name)
42 build_triplet = @build@
44 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45 $(srcdir)/version.xml.in $(top_srcdir)/Makefile.decl \
46 $(top_srcdir)/gtk-doc.make
47 subdir = docs/reference/gobject
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = $(top_srcdir)/m4macros/gtk-doc.m4 \
50 $(top_srcdir)/m4macros/libtool.m4 \
51 $(top_srcdir)/m4macros/ltoptions.m4 \
52 $(top_srcdir)/m4macros/ltsugar.m4 \
53 $(top_srcdir)/m4macros/ltversion.m4 \
54 $(top_srcdir)/m4macros/lt~obsolete.m4 \
55 $(top_srcdir)/acinclude.m4 $(top_srcdir)/acglib.m4 \
56 $(top_srcdir)/glib/libcharset/codeset.m4 \
57 $(top_srcdir)/glib/libcharset/glibc21.m4 \
58 $(top_srcdir)/m4macros/glib-gettext.m4 \
59 $(top_srcdir)/configure.ac
60 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
62 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
63 CONFIG_HEADER = $(top_builddir)/config.h
64 CONFIG_CLEAN_FILES = version.xml
65 CONFIG_CLEAN_VPATH_FILES =
66 AM_V_GEN = $(am__v_GEN_@AM_V@)
67 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
68 am__v_GEN_0 = @echo " GEN " $@;
69 AM_V_at = $(am__v_at_@AM_V@)
70 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
74 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
75 am__vpath_adj = case $$p in \
76 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
79 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
81 am__nobase_strip_setup = \
82 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
84 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
85 am__nobase_list = $(am__nobase_strip_setup); \
86 for p in $$list; do echo "$$p $$p"; done | \
87 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
88 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
89 if (++n[$$2] == $(am__install_max)) \
90 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
91 END { for (dir in files) print dir, files[dir] }'
93 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
94 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
95 am__uninstall_files_from_dir = { \
97 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
98 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
99 $(am__cd) "$$dir" && rm -f $$files; }; \
101 man1dir = $(mandir)/man1
102 am__installdirs = "$(DESTDIR)$(man1dir)"
105 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
106 ABS_GLIB_RUNTIME_LIBDIR = @ABS_GLIB_RUNTIME_LIBDIR@
107 ABS_TAPSET_DIR = @ABS_TAPSET_DIR@
111 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
114 AUTOCONF = @AUTOCONF@
115 AUTOHEADER = @AUTOHEADER@
116 AUTOMAKE = @AUTOMAKE@
118 CATALOGS = @CATALOGS@
119 CATOBJEXT = @CATOBJEXT@
121 CCDEPMODE = @CCDEPMODE@
123 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
125 CPPFLAGS = @CPPFLAGS@
128 CXXDEPMODE = @CXXDEPMODE@
129 CXXFLAGS = @CXXFLAGS@
130 CYGPATH_W = @CYGPATH_W@
131 DATADIRNAME = @DATADIRNAME@
132 DBUS1_CFLAGS = @DBUS1_CFLAGS@
133 DBUS1_LIBS = @DBUS1_LIBS@
137 DSYMUTIL = @DSYMUTIL@
144 ELF_LIBS = @ELF_LIBS@
146 FAM_LIBS = @FAM_LIBS@
148 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
150 GIO_MODULE_DIR = @GIO_MODULE_DIR@
152 GLIB_BINARY_AGE = @GLIB_BINARY_AGE@
153 GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@
154 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
155 GLIB_DEBUG_FLAGS = @GLIB_DEBUG_FLAGS@
156 GLIB_EXTRA_CFLAGS = @GLIB_EXTRA_CFLAGS@
157 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
158 GLIB_INTERFACE_AGE = @GLIB_INTERFACE_AGE@
159 GLIB_LINK_FLAGS = @GLIB_LINK_FLAGS@
160 GLIB_MAJOR_VERSION = @GLIB_MAJOR_VERSION@
161 GLIB_MICRO_VERSION = @GLIB_MICRO_VERSION@
162 GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@
163 GLIB_RUNTIME_LIBDIR = @GLIB_RUNTIME_LIBDIR@
164 GLIB_VERSION = @GLIB_VERSION@
165 GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@
166 GMOFILES = @GMOFILES@
170 GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@
171 GTKDOC_CHECK = @GTKDOC_CHECK@
172 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
173 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
174 GTKDOC_MKPDF = @GTKDOC_MKPDF@
175 GTKDOC_REBASE = @GTKDOC_REBASE@
176 G_LIBS_EXTRA = @G_LIBS_EXTRA@
177 G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@
178 G_MODULE_HAVE_DLERROR = @G_MODULE_HAVE_DLERROR@
179 G_MODULE_IMPL = @G_MODULE_IMPL@
180 G_MODULE_LDFLAGS = @G_MODULE_LDFLAGS@
181 G_MODULE_LIBS = @G_MODULE_LIBS@
182 G_MODULE_LIBS_EXTRA = @G_MODULE_LIBS_EXTRA@
183 G_MODULE_NEED_USCORE = @G_MODULE_NEED_USCORE@
184 G_MODULE_PLUGIN_LIBS = @G_MODULE_PLUGIN_LIBS@
185 G_MODULE_SUPPORTED = @G_MODULE_SUPPORTED@
186 G_THREAD_CFLAGS = @G_THREAD_CFLAGS@
187 G_THREAD_LIBS = @G_THREAD_LIBS@
188 G_THREAD_LIBS_EXTRA = @G_THREAD_LIBS_EXTRA@
189 G_THREAD_LIBS_FOR_GTHREAD = @G_THREAD_LIBS_FOR_GTHREAD@
190 HTML_DIR = @HTML_DIR@
191 ICONV_LIBS = @ICONV_LIBS@
194 INSTALL_DATA = @INSTALL_DATA@
195 INSTALL_PROGRAM = @INSTALL_PROGRAM@
196 INSTALL_SCRIPT = @INSTALL_SCRIPT@
197 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
198 INSTOBJEXT = @INSTOBJEXT@
199 INTLLIBS = @INTLLIBS@
202 LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
203 LIBFFI_LIBS = @LIBFFI_LIBS@
207 LIBTOOL_EXPORT_OPTIONS = @LIBTOOL_EXPORT_OPTIONS@
208 LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@
211 LTLIBOBJS = @LTLIBOBJS@
213 LTP_GENHTML = @LTP_GENHTML@
215 LT_CURRENT = @LT_CURRENT@
216 LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
217 LT_RELEASE = @LT_RELEASE@
218 LT_REVISION = @LT_REVISION@
220 MAKEINFO = @MAKEINFO@
221 MANIFEST_TOOL = @MANIFEST_TOOL@
223 MKINSTALLDIRS = @MKINSTALLDIRS@
225 MSGFMT_OPTS = @MSGFMT_OPTS@
226 NETWORK_LIBS = @NETWORK_LIBS@
234 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
235 PACKAGE_NAME = @PACKAGE_NAME@
236 PACKAGE_STRING = @PACKAGE_STRING@
237 PACKAGE_TARNAME = @PACKAGE_TARNAME@
238 PACKAGE_URL = @PACKAGE_URL@
239 PACKAGE_VERSION = @PACKAGE_VERSION@
240 PATH_SEPARATOR = @PATH_SEPARATOR@
241 PCRE_CFLAGS = @PCRE_CFLAGS@
242 PCRE_LIBS = @PCRE_LIBS@
243 PCRE_REQUIRES = @PCRE_REQUIRES@
244 PCRE_WARN_CFLAGS = @PCRE_WARN_CFLAGS@
246 PERL_PATH = @PERL_PATH@
247 PKG_CONFIG = @PKG_CONFIG@
248 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
249 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
250 PLATFORMDEP = @PLATFORMDEP@
253 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
254 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
256 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
257 PYTHON_PLATFORM = @PYTHON_PLATFORM@
258 PYTHON_PREFIX = @PYTHON_PREFIX@
259 PYTHON_VERSION = @PYTHON_VERSION@
263 SELINUX_LIBS = @SELINUX_LIBS@
264 SET_MAKE = @SET_MAKE@
271 XATTR_LIBS = @XATTR_LIBS@
272 XGETTEXT = @XGETTEXT@
273 XMLCATALOG = @XMLCATALOG@
274 XML_CATALOG_FILE = @XML_CATALOG_FILE@
275 XSLTPROC = @XSLTPROC@
276 ZLIB_CFLAGS = @ZLIB_CFLAGS@
277 ZLIB_LIBS = @ZLIB_LIBS@
278 abs_builddir = @abs_builddir@
279 abs_srcdir = @abs_srcdir@
280 abs_top_builddir = @abs_top_builddir@
281 abs_top_srcdir = @abs_top_srcdir@
282 ac_ct_AR = @ac_ct_AR@
283 ac_ct_CC = @ac_ct_CC@
284 ac_ct_CXX = @ac_ct_CXX@
285 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
286 am__include = @am__include@
287 am__leading_dot = @am__leading_dot@
288 am__quote = @am__quote@
290 am__untar = @am__untar@
293 build_alias = @build_alias@
294 build_cpu = @build_cpu@
295 build_os = @build_os@
296 build_vendor = @build_vendor@
297 builddir = @builddir@
298 config_h_INCLUDES = @config_h_INCLUDES@
300 datarootdir = @datarootdir@
303 exec_prefix = @exec_prefix@
304 gio_INCLUDES = @gio_INCLUDES@
305 glib_INCLUDES = @glib_INCLUDES@
306 gmodule_INCLUDES = @gmodule_INCLUDES@
307 gobject_INCLUDES = @gobject_INCLUDES@
308 gthread_INCLUDES = @gthread_INCLUDES@
310 host_alias = @host_alias@
311 host_cpu = @host_cpu@
313 host_vendor = @host_vendor@
315 includedir = @includedir@
317 install_sh = @install_sh@
319 libexecdir = @libexecdir@
320 localedir = @localedir@
321 localstatedir = @localstatedir@
324 ms_librarian = @ms_librarian@
325 oldincludedir = @oldincludedir@
327 pkgpyexecdir = @pkgpyexecdir@
328 pkgpythondir = @pkgpythondir@
330 program_transform_name = @program_transform_name@
332 pyexecdir = @pyexecdir@
333 pythondir = @pythondir@
335 sharedstatedir = @sharedstatedir@
337 sysconfdir = @sysconfdir@
338 target_alias = @target_alias@
339 top_build_prefix = @top_build_prefix@
340 top_builddir = @top_builddir@
341 top_srcdir = @top_srcdir@
343 #GTESTER = gtester # for non-GLIB packages
344 GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
345 GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
347 # Other files to distribute
348 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) gobject.cI version.xml.in \
351 AUTOMAKE_OPTIONS = 1.6
353 # The name of the module.
356 # The top-level SGML file.
357 DOC_MAIN_SGML_FILE = gobject-docs.sgml
359 # The directory containing the source code. Relative to $(srcdir)
360 DOC_SOURCE_DIR = $(top_srcdir)/gobject
362 # Extra options to supply to gtkdoc-scan
363 SCAN_OPTIONS = --deprecated-guards="G_DISABLE_DEPRECATED" \
364 --ignore-decorators="G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT"
367 # Extra options to supply to gtkdoc-mkdb
368 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=g
370 # Used for dependencies
371 HFILE_GLOB = $(top_srcdir)/gobject/*.h
372 CFILE_GLOB = $(top_srcdir)/gobject/*.c
381 # CFLAGS and LDFLAGS for compiling scan program. Only needed
382 # if $(DOC_MODULE).types is non-empty.
385 $(gobject_INCLUDES) \
389 $(top_builddir)/glib/libglib-2.0.la \
390 $(top_builddir)/gobject/libgobject-2.0.la
393 # Images to copy into HTML directory
398 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
399 content_files = version.xml \
401 glib-genmarshal.xml \
411 # Extra options to supply to gtkdoc-fixref
412 FIXXREF_OPTIONS = --extra-dir=$(srcdir)/../glib/html
413 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
414 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
415 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
416 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
417 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
418 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
420 # We set GPATH here; this gives us semantics for GNU make
421 # which are more like other make's VPATH, when it comes to
422 # whether a source that is a target of one rule is then
423 # searched for in VPATH/GPATH.
426 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
429 $(DOC_MAIN_SGML_FILE) \
430 $(DOC_MODULE)-sections.txt \
431 $(DOC_MODULE)-overrides.txt
433 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
434 html-build.stamp pdf-build.stamp \
435 sgml.stamp html.stamp pdf.stamp
439 $(DOC_MODULE).hierarchy \
440 $(DOC_MODULE).interfaces \
441 $(DOC_MODULE).prerequisites \
442 $(DOC_MODULE).signals
445 $(DOC_MODULE)-undocumented.txt \
446 $(DOC_MODULE)-undeclared.txt \
447 $(DOC_MODULE)-unused.txt
449 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
450 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
451 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
452 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
453 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
455 ########################################################################
461 MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
466 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make $(am__configure_deps)
468 case '$(am__configure_deps)' in \
470 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
471 && { if test -f $@; then exit 0; else break; fi; }; \
475 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/reference/gobject/Makefile'; \
476 $(am__cd) $(top_srcdir) && \
477 $(AUTOMAKE) --gnu docs/reference/gobject/Makefile
479 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
482 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
484 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
485 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
487 $(top_srcdir)/Makefile.decl $(top_srcdir)/gtk-doc.make:
489 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
490 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
492 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
493 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
494 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
495 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
496 $(am__aclocal_m4_deps):
497 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
498 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
505 install-man1: $(man_MANS)
507 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
508 @list=''; test -n "$(man1dir)" || exit 0; \
509 { for i in $$list; do echo "$$i"; done; \
510 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
511 sed -n '/\.1[a-z]*$$/p'; \
512 } | while read p; do \
513 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
514 echo "$$d$$p"; echo "$$p"; \
516 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
517 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
518 sed 'N;N;s,\n, ,g' | { \
519 list=; while read file base inst; do \
520 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
521 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
522 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
525 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
526 while read files; do \
527 test -z "$$files" || { \
528 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
529 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
534 @list=''; test -n "$(man1dir)" || exit 0; \
535 files=`{ for i in $$list; do echo "$$i"; done; \
536 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
537 sed -n '/\.1[a-z]*$$/p'; \
538 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
539 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
540 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
548 distdir: $(DISTFILES)
549 @list='$(MANS)'; if test -n "$$list"; then \
550 list=`for p in $$list; do \
551 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
552 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
553 if test -n "$$list" && \
554 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
555 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
556 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
557 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
558 echo " typically \`make maintainer-clean' will remove them" >&2; \
562 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
563 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
564 list='$(DISTFILES)'; \
565 dist_files=`for file in $$list; do echo $$file; done | \
566 sed -e "s|^$$srcdirstrip/||;t" \
567 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
568 case $$dist_files in \
569 */*) $(MKDIR_P) `echo "$$dist_files" | \
570 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
573 for file in $$dist_files; do \
574 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
575 if test -d $$d/$$file; then \
576 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
577 if test -d "$(distdir)/$$file"; then \
578 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
580 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
581 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
582 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
584 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
586 test -f "$(distdir)/$$file" \
587 || cp -p $$d/$$file "$(distdir)/$$file" \
591 $(MAKE) $(AM_MAKEFLAGS) \
592 top_distdir="$(top_distdir)" distdir="$(distdir)" \
595 $(MAKE) $(AM_MAKEFLAGS) check-local
597 all-am: Makefile $(MANS) all-local
599 for dir in "$(DESTDIR)$(man1dir)"; do \
600 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
603 install-exec: install-exec-am
604 install-data: install-data-am
605 uninstall: uninstall-am
608 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
610 installcheck: installcheck-am
612 if test -z '$(STRIP)'; then \
613 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
614 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
617 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
618 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
619 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
624 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
627 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
628 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
630 maintainer-clean-generic:
631 @echo "This command is intended for maintainers to use"
632 @echo "it deletes files that may require special tools to rebuild."
633 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
636 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
638 distclean: distclean-am
640 distclean-am: clean-am distclean-generic distclean-local
654 install-data-am: install-data-local install-man
656 install-dvi: install-dvi-am
662 install-html: install-html-am
666 install-info: install-info-am
670 install-man: install-man1
672 install-pdf: install-pdf-am
676 install-ps: install-ps-am
682 maintainer-clean: maintainer-clean-am
684 maintainer-clean-am: distclean-am maintainer-clean-generic \
685 maintainer-clean-local
687 mostlyclean: mostlyclean-am
689 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
699 uninstall-am: uninstall-local uninstall-man
701 uninstall-man: uninstall-man1
703 .MAKE: check-am install-am install-strip
705 .PHONY: all all-am all-local check check-am check-local clean \
706 clean-generic clean-libtool clean-local dist-hook distclean \
707 distclean-generic distclean-libtool distclean-local distdir \
708 dvi dvi-am html html-am info info-am install install-am \
709 install-data install-data-am install-data-local install-dvi \
710 install-dvi-am install-exec install-exec-am install-html \
711 install-html-am install-info install-info-am install-man \
712 install-man1 install-pdf install-pdf-am install-ps \
713 install-ps-am install-strip installcheck installcheck-am \
714 installdirs maintainer-clean maintainer-clean-generic \
715 maintainer-clean-local mostlyclean mostlyclean-generic \
716 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
717 uninstall-local uninstall-man uninstall-man1
722 # test: run all tests in cwd and subdirs
723 test: test-nonrecursive
724 @OS_UNIX_TRUE@ @ for subdir in $(SUBDIRS) . ; do \
725 @OS_UNIX_TRUE@ test "$$subdir" = "." -o "$$subdir" = "po" || \
726 @OS_UNIX_TRUE@ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
729 # test-nonrecursive: run tests only in cwd
730 @OS_UNIX_TRUE@test-nonrecursive: ${TEST_PROGS}
731 @OS_UNIX_TRUE@ @test -z "${TEST_PROGS}" || G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS}
732 @OS_UNIX_FALSE@test-nonrecursive:
734 # test-report: run tests in subdirs and generate report
735 # perf-report: run tests in subdirs with -m perf and generate report
736 # full-report: like test-report: with -m perf and -m slow
737 test-report perf-report full-report: ${TEST_PROGS}
738 @test -z "${TEST_PROGS}" || { \
740 test-report) test_options="-k";; \
741 perf-report) test_options="-k -m=perf";; \
742 full-report) test_options="-k -m=perf -m=slow";; \
744 if test -z "$$GTESTER_LOGDIR" ; then \
745 ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
746 elif test -n "${TEST_PROGS}" ; then \
747 ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
750 @ ignore_logdir=true ; \
751 if test -z "$$GTESTER_LOGDIR" ; then \
752 GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
753 ignore_logdir=false ; \
755 if test -d "$(top_srcdir)/.git" ; then \
756 REVISION=`git describe` ; \
758 REVISION=$(VERSION) ; \
760 for subdir in $(SUBDIRS) . ; do \
761 test "$$subdir" = "." -o "$$subdir" = "po" || \
762 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
764 $$ignore_logdir || { \
765 echo '<?xml version="1.0"?>' > $@.xml ; \
766 echo '<report-collection>' >> $@.xml ; \
767 echo '<info>' >> $@.xml ; \
768 echo ' <package>$(PACKAGE)</package>' >> $@.xml ; \
769 echo ' <version>$(VERSION)</version>' >> $@.xml ; \
770 echo " <revision>$$REVISION</revision>" >> $@.xml ; \
771 echo '</info>' >> $@.xml ; \
772 for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
773 sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
776 echo '</report-collection>' >> $@.xml ; \
777 rm -rf "$$GTESTER_LOGDIR"/ ; \
778 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
780 .PHONY: test test-report perf-report full-report test-nonrecursive
782 .PHONY: lcov genlcov lcov-clean
783 # use recursive makes in order to ignore errors during check
785 -$(MAKE) $(AM_MAKEFLAGS) -k check
786 $(MAKE) $(AM_MAKEFLAGS) genlcov
788 # we have to massage the lcov.info file slightly to hide the effect of libtool
789 # placing the objects files in the .libs/ directory separate from the *.c
790 # we also have to delete tests/.libs/libmoduletestplugin_*.gcda
792 rm -f $(top_builddir)/tests/.libs/libmoduletestplugin_*.gcda
793 $(LTP) --directory $(top_builddir) --capture --output-file glib-lcov.info --test-name GLIB_PERF --no-checksum --compat-libtool
794 LANG=C $(LTP_GENHTML) --prefix $(top_builddir) --output-directory glib-lcov --title "GLib Code Coverage" --legend --show-details glib-lcov.info
795 @echo "file://$(abs_top_builddir)/glib-lcov/index.html"
798 -$(LTP) --directory $(top_builddir) -z
799 -rm -rf glib-lcov.info glib-lcov
800 -find -name '*.gcda' -print | xargs rm
802 # run tests in cwd as part of make check
803 check-local: test-nonrecursive
805 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
806 @ENABLE_GTK_DOC_FALSE@all-local:
808 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
810 $(REPORT_FILES): sgml-build.stamp
815 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
816 echo ' DOC Preparing build'; \
817 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
818 if test "x$$files" != "x" ; then \
819 for file in $$files ; do \
820 test -f $(abs_srcdir)/$$file && \
821 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
825 @touch setup-build.stamp
829 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
830 @echo ' DOC Scanning header files'
832 for i in $(DOC_SOURCE_DIR) ; do \
833 _source_dir="$${_source_dir} --source-dir=$$i" ; \
835 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
836 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
837 echo " DOC Introspecting gobjects"; \
838 scanobj_options=""; \
839 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
840 if test "$(?)" = "0"; then \
841 if test "x$(V)" = "x1"; then \
842 scanobj_options="--verbose"; \
845 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
846 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
848 for i in $(SCANOBJ_FILES) ; do \
849 test -f $$i || touch $$i ; \
852 @touch scan-build.stamp
854 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
859 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
860 @echo ' DOC Building XML'
862 for i in $(DOC_SOURCE_DIR) ; do \
863 _source_dir="$${_source_dir} --source-dir=$$i" ; \
865 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)
866 @touch sgml-build.stamp
868 sgml.stamp: sgml-build.stamp
873 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
874 @echo ' DOC Building HTML'
877 @mkhtml_options=""; \
878 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
879 if test "$(?)" = "0"; then \
880 if test "x$(V)" = "x1"; then \
881 mkhtml_options="$$mkhtml_options --verbose"; \
884 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
885 if test "$(?)" = "0"; then \
886 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
888 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
889 -@test "x$(HTML_IMAGES)" = "x" || \
890 for file in $(HTML_IMAGES) ; do \
891 if test -f $(abs_srcdir)/$$file ; then \
892 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
894 if test -f $(abs_builddir)/$$file ; then \
895 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
898 @echo ' DOC Fixing cross-references'
899 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
900 @touch html-build.stamp
904 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
905 @echo ' DOC Building PDF'
906 @rm -f $(DOC_MODULE).pdf
908 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
909 if test "$(?)" = "0"; then \
910 if test "x$(V)" = "x1"; then \
911 mkpdf_options="$$mkpdf_options --verbose"; \
914 if test "x$(HTML_IMAGES)" != "x"; then \
915 for img in $(HTML_IMAGES); do \
916 part=`dirname $$img`; \
917 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
918 if test $$? != 0; then \
919 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
923 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
924 @touch pdf-build.stamp
933 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
934 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
935 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
936 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
939 maintainer-clean-local: clean
943 @installfiles=`echo $(builddir)/html/*`; \
944 if test "$$installfiles" = '$(builddir)/html/*'; \
945 then echo 1>&2 'Nothing to install' ; \
947 if test -n "$(DOC_MODULE_VERSION)"; then \
948 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
950 installdir="$(DESTDIR)$(TARGET_DIR)"; \
952 $(mkinstalldirs) $${installdir} ; \
953 for i in $$installfiles; do \
954 echo ' $(INSTALL_DATA) '$$i ; \
955 $(INSTALL_DATA) $$i $${installdir}; \
957 if test -n "$(DOC_MODULE_VERSION)"; then \
958 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
959 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
961 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
965 @if test -n "$(DOC_MODULE_VERSION)"; then \
966 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
968 installdir="$(DESTDIR)$(TARGET_DIR)"; \
970 rm -rf $${installdir}
973 # Require gtk-doc when making dist
975 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
976 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
977 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
978 @ENABLE_GTK_DOC_FALSE@ @false
980 dist-hook: dist-check-gtkdoc dist-hook-local
981 @mkdir $(distdir)/html
982 @cp ./html/* $(distdir)/html
983 @-cp ./$(DOC_MODULE).pdf $(distdir)/
984 @-cp ./$(DOC_MODULE).types $(distdir)/
985 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
986 @cd $(distdir) && rm -f $(DISTCLEANFILES)
987 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
989 .PHONY : dist-hook-local docs
991 @ENABLE_MAN_TRUE@.xml.1:
992 @ENABLE_MAN_TRUE@ @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
994 @ENABLE_MAN_TRUE@dist-local-check-mans-enabled:
995 @ENABLE_MAN_TRUE@ if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
997 @ENABLE_MAN_FALSE@$(man_MANS):
998 @ENABLE_MAN_FALSE@ echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
999 @ENABLE_MAN_FALSE@ echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
1001 @ENABLE_MAN_FALSE@dist-local-check-mans-enabled:
1002 @ENABLE_MAN_FALSE@ echo "*** --enable-man must be used in order to make dist"
1003 @ENABLE_MAN_FALSE@ false
1005 dist-hook-local: dist-local-check-mans-enabled all-local
1007 gobject-docs-clean: clean
1008 cd $(srcdir) && rm -rf xml html
1010 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1011 # Otherwise a system limit (for SysV at least) may be exceeded.