1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 # JSON-GLib - JSON reader and writer library
20 # custom rules for quiet builds
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 pkglibdir = $(libdir)/@PACKAGE@
26 pkglibexecdir = $(libexecdir)/@PACKAGE@
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
39 build_triplet = @build@
41 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
42 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
43 $(srcdir)/json-glib.pc.in \
44 $(top_srcdir)/build/autotools/Makefile.am.gtest \
45 $(top_srcdir)/build/autotools/Makefile.am.silent \
46 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
47 compile config.guess config.sub depcomp install-sh ltmain.sh \
49 @ENABLE_GLIB_TEST_TRUE@am__append_1 = tests
51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52 am__aclocal_m4_deps = \
53 $(top_srcdir)/build/autotools/as-compiler-flag.m4 \
54 $(top_srcdir)/build/autotools/gtk-doc.m4 \
55 $(top_srcdir)/build/autotools/introspection.m4 \
56 $(top_srcdir)/build/autotools/libtool.m4 \
57 $(top_srcdir)/build/autotools/ltoptions.m4 \
58 $(top_srcdir)/build/autotools/ltsugar.m4 \
59 $(top_srcdir)/build/autotools/ltversion.m4 \
60 $(top_srcdir)/build/autotools/lt~obsolete.m4 \
61 $(top_srcdir)/configure.ac
62 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
65 configure.lineno config.status.lineno
66 mkinstalldirs = $(install_sh) -d
67 CONFIG_HEADER = config.h
68 CONFIG_CLEAN_FILES = json-glib.pc
69 CONFIG_CLEAN_VPATH_FILES =
70 AM_V_GEN = $(am__v_GEN_$(V))
71 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
72 am__v_GEN_0 = @echo " GEN " $@;
73 AM_V_at = $(am__v_at_$(V))
74 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
78 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
79 html-recursive info-recursive install-data-recursive \
80 install-dvi-recursive install-exec-recursive \
81 install-html-recursive install-info-recursive \
82 install-pdf-recursive install-ps-recursive install-recursive \
83 installcheck-recursive installdirs-recursive pdf-recursive \
84 ps-recursive uninstall-recursive
85 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
86 am__vpath_adj = case $$p in \
87 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
90 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
92 am__nobase_strip_setup = \
93 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
95 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
96 am__nobase_list = $(am__nobase_strip_setup); \
97 for p in $$list; do echo "$$p $$p"; done | \
98 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
99 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
100 if (++n[$$2] == $(am__install_max)) \
101 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
102 END { for (dir in files) print dir, files[dir] }'
104 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
105 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
106 am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
107 DATA = $(pkgconfig_DATA)
108 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
109 distclean-recursive maintainer-clean-recursive
110 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
111 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
112 distdir dist dist-all distcheck
115 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
116 distdir = $(PACKAGE)-$(VERSION)
117 top_distdir = $(distdir)
118 am__remove_distdir = \
119 { test ! -d "$(distdir)" \
120 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
121 && rm -fr "$(distdir)"; }; }
124 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
125 sed_rest='s,^[^/]*/*,,'; \
126 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
127 sed_butlast='s,/*[^/]*$$,,'; \
128 while test -n "$$dir1"; do \
129 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
130 if test "$$first" != "."; then \
131 if test "$$first" = ".."; then \
132 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
133 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
135 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
136 if test "$$first2" = "$$first"; then \
137 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
141 dir0="$$dir0"/"$$first"; \
144 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
147 DIST_ARCHIVES = $(distdir).tar.gz
149 distuninstallcheck_listfiles = find . -type f -print
150 distcleancheck_listfiles = find . -type f -print
153 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
155 AUTOCONF = @AUTOCONF@
156 AUTOHEADER = @AUTOHEADER@
157 AUTOMAKE = @AUTOMAKE@
160 CCDEPMODE = @CCDEPMODE@
163 CPPFLAGS = @CPPFLAGS@
164 CYGPATH_W = @CYGPATH_W@
167 DSYMUTIL = @DSYMUTIL@
175 GLIB_CFLAGS = @GLIB_CFLAGS@
176 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
177 GLIB_LIBS = @GLIB_LIBS@
178 GLIB_MKENUMS = @GLIB_MKENUMS@
179 GLIB_PREFIX = @GLIB_PREFIX@
180 GOBJECT_QUERY = @GOBJECT_QUERY@
182 GTKDOC_CHECK = @GTKDOC_CHECK@
183 GTKDOC_MKPDF = @GTKDOC_MKPDF@
184 GTKDOC_REBASE = @GTKDOC_REBASE@
185 HTML_DIR = @HTML_DIR@
187 INSTALL_DATA = @INSTALL_DATA@
188 INSTALL_PROGRAM = @INSTALL_PROGRAM@
189 INSTALL_SCRIPT = @INSTALL_SCRIPT@
190 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
191 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
192 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
193 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
194 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
195 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
196 JSON_CFLAGS = @JSON_CFLAGS@
197 JSON_DEBUG_CFLAGS = @JSON_DEBUG_CFLAGS@
198 JSON_LIBS = @JSON_LIBS@
199 JSON_LT_LDFLAGS = @JSON_LT_LDFLAGS@
200 JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@
201 JSON_MICRO_VERSION = @JSON_MICRO_VERSION@
202 JSON_MINOR_VERSION = @JSON_MINOR_VERSION@
203 JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@
204 JSON_VERSION = @JSON_VERSION@
212 LTLIBOBJS = @LTLIBOBJS@
213 MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@
214 MAKEINFO = @MAKEINFO@
223 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
224 PACKAGE_NAME = @PACKAGE_NAME@
225 PACKAGE_STRING = @PACKAGE_STRING@
226 PACKAGE_TARNAME = @PACKAGE_TARNAME@
227 PACKAGE_URL = @PACKAGE_URL@
228 PACKAGE_VERSION = @PACKAGE_VERSION@
229 PATH_SEPARATOR = @PATH_SEPARATOR@
230 PKG_CONFIG = @PKG_CONFIG@
231 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
232 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
235 SET_MAKE = @SET_MAKE@
239 abs_builddir = @abs_builddir@
240 abs_srcdir = @abs_srcdir@
241 abs_top_builddir = @abs_top_builddir@
242 abs_top_srcdir = @abs_top_srcdir@
243 ac_ct_CC = @ac_ct_CC@
244 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
245 am__include = @am__include@
246 am__leading_dot = @am__leading_dot@
247 am__quote = @am__quote@
249 am__untar = @am__untar@
252 build_alias = @build_alias@
253 build_cpu = @build_cpu@
254 build_os = @build_os@
255 build_vendor = @build_vendor@
256 builddir = @builddir@
258 datarootdir = @datarootdir@
261 exec_prefix = @exec_prefix@
263 host_alias = @host_alias@
264 host_cpu = @host_cpu@
266 host_vendor = @host_vendor@
268 includedir = @includedir@
270 install_sh = @install_sh@
272 libexecdir = @libexecdir@
273 localedir = @localedir@
274 localstatedir = @localstatedir@
278 oldincludedir = @oldincludedir@
281 program_transform_name = @program_transform_name@
284 sharedstatedir = @sharedstatedir@
286 sysconfdir = @sysconfdir@
287 target_alias = @target_alias@
288 top_build_prefix = @top_build_prefix@
289 top_builddir = @top_builddir@
290 top_srcdir = @top_srcdir@
292 GTESTER_REPORT = gtester-report
294 # initialize variables for unconditional += appending
295 EXTRA_DIST = json-glib.pc.in
297 @USE_SHAVE_FALSE@QUIET_GEN = $(AM_V_GEN)
298 @USE_SHAVE_TRUE@QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
299 @USE_SHAVE_FALSE@QUIET_LN = $(QUIET_LN_$(V))
300 @USE_SHAVE_TRUE@QUIET_LN = $(Q:@=@echo ' LN '$@;)
301 @USE_SHAVE_FALSE@QUIET_RM = $(QUIET_RM_$(V))
302 @USE_SHAVE_TRUE@QUIET_RM = $(Q:@=@echo ' RM '$@;)
303 @USE_SHAVE_FALSE@QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY))
304 @USE_SHAVE_FALSE@QUIET_LN_0 = @echo ' LN '$@;
305 @USE_SHAVE_FALSE@QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
306 @USE_SHAVE_FALSE@QUIET_RM_0 = @echo ' RM '$@;
307 ACLOCAL_AMFLAGS = -I build/autotools
308 SUBDIRS = build json-glib doc $(am__append_1)
309 DIST_SUBDIRS = build json-glib doc tests
310 pcfiles = json-glib-1.0.pc
311 pkgconfig_DATA = $(pcfiles)
312 pkgconfigdir = $(libdir)/pkgconfig
313 CLEANFILES = $(pcfiles) test-report.xml
314 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags --enable-introspection
316 $(MAKE) $(AM_MAKEFLAGS) all-recursive
321 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/build/autotools/Makefile.am.gtest $(top_srcdir)/build/autotools/Makefile.am.silent $(am__configure_deps)
323 case '$(am__configure_deps)' in \
325 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
326 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
331 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
332 $(am__cd) $(top_srcdir) && \
333 $(AUTOMAKE) --gnu Makefile
335 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
338 echo ' $(SHELL) ./config.status'; \
339 $(SHELL) ./config.status;; \
341 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
342 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
345 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
346 $(SHELL) ./config.status --recheck
348 $(top_srcdir)/configure: $(am__configure_deps)
349 $(am__cd) $(srcdir) && $(AUTOCONF)
350 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
351 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
352 $(am__aclocal_m4_deps):
355 @if test ! -f $@; then \
357 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
360 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
362 cd $(top_builddir) && $(SHELL) ./config.status config.h
363 $(srcdir)/config.h.in: $(am__configure_deps)
364 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
369 -rm -f config.h stamp-h1
370 json-glib.pc: $(top_builddir)/config.status $(srcdir)/json-glib.pc.in
371 cd $(top_builddir) && $(SHELL) ./config.status $@
380 -rm -f libtool config.lt
381 install-pkgconfigDATA: $(pkgconfig_DATA)
383 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
384 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
385 for p in $$list; do \
386 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
388 done | $(am__base_list) | \
389 while read files; do \
390 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
391 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
394 uninstall-pkgconfigDATA:
396 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
397 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
398 test -n "$$files" || exit 0; \
399 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
400 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
402 # This directory's subdirectories are mostly independent; you can cd
403 # into them and run `make' without going through this Makefile.
404 # To change the values of `make' variables: instead of editing Makefiles,
405 # (1) if the variable is set in `config.status', edit `config.status'
406 # (which will cause the Makefiles to be regenerated when you run `make');
407 # (2) otherwise, pass the desired values on the `make' command line.
408 $(RECURSIVE_TARGETS):
409 @fail= failcom='exit 1'; \
410 for f in x $$MAKEFLAGS; do \
413 *k*) failcom='fail=yes';; \
417 target=`echo $@ | sed s/-recursive//`; \
418 list='$(SUBDIRS)'; for subdir in $$list; do \
419 echo "Making $$target in $$subdir"; \
420 if test "$$subdir" = "."; then \
422 local_target="$$target-am"; \
424 local_target="$$target"; \
426 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
429 if test "$$dot_seen" = "no"; then \
430 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
433 $(RECURSIVE_CLEAN_TARGETS):
434 @fail= failcom='exit 1'; \
435 for f in x $$MAKEFLAGS; do \
438 *k*) failcom='fail=yes';; \
443 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
444 *) list='$(SUBDIRS)' ;; \
446 rev=''; for subdir in $$list; do \
447 if test "$$subdir" = "."; then :; else \
448 rev="$$subdir $$rev"; \
452 target=`echo $@ | sed s/-recursive//`; \
453 for subdir in $$rev; do \
454 echo "Making $$target in $$subdir"; \
455 if test "$$subdir" = "."; then \
456 local_target="$$target-am"; \
458 local_target="$$target"; \
460 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
462 done && test -z "$$fail"
464 list='$(SUBDIRS)'; for subdir in $$list; do \
465 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
468 list='$(SUBDIRS)'; for subdir in $$list; do \
469 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
472 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
473 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
474 unique=`for i in $$list; do \
475 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
477 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
478 END { if (nonempty) { for (i in files) print i; }; }'`; \
482 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
483 $(TAGS_FILES) $(LISP)
486 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
487 include_option=--etags-include; \
490 include_option=--include; \
493 list='$(SUBDIRS)'; for subdir in $$list; do \
494 if test "$$subdir" = .; then :; else \
495 test ! -f $$subdir/TAGS || \
496 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
499 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
500 unique=`for i in $$list; do \
501 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
503 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
504 END { if (nonempty) { for (i in files) print i; }; }'`; \
506 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
507 test -n "$$unique" || unique=$$empty_fix; \
508 if test $$# -gt 0; then \
509 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
512 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
517 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
518 $(TAGS_FILES) $(LISP)
519 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
520 unique=`for i in $$list; do \
521 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
523 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
524 END { if (nonempty) { for (i in files) print i; }; }'`; \
525 test -z "$(CTAGS_ARGS)$$unique" \
526 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
530 here=`$(am__cd) $(top_builddir) && pwd` \
531 && $(am__cd) $(top_srcdir) \
532 && gtags -i $(GTAGS_ARGS) "$$here"
535 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
537 distdir: $(DISTFILES)
538 $(am__remove_distdir)
539 test -d "$(distdir)" || mkdir "$(distdir)"
540 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
541 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
542 list='$(DISTFILES)'; \
543 dist_files=`for file in $$list; do echo $$file; done | \
544 sed -e "s|^$$srcdirstrip/||;t" \
545 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
546 case $$dist_files in \
547 */*) $(MKDIR_P) `echo "$$dist_files" | \
548 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
551 for file in $$dist_files; do \
552 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
553 if test -d $$d/$$file; then \
554 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
555 if test -d "$(distdir)/$$file"; then \
556 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
558 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
559 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
560 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
562 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
564 test -f "$(distdir)/$$file" \
565 || cp -p $$d/$$file "$(distdir)/$$file" \
569 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
570 if test "$$subdir" = .; then :; else \
571 test -d "$(distdir)/$$subdir" \
572 || $(MKDIR_P) "$(distdir)/$$subdir" \
576 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
577 if test "$$subdir" = .; then :; else \
578 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
580 new_distdir=$$reldir; \
581 dir1=$$subdir; dir2="$(top_distdir)"; \
583 new_top_distdir=$$reldir; \
584 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
585 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
586 ($(am__cd) $$subdir && \
587 $(MAKE) $(AM_MAKEFLAGS) \
588 top_distdir="$$new_top_distdir" \
589 distdir="$$new_distdir" \
590 am__remove_distdir=: \
591 am__skip_length_check=: \
592 am__skip_mode_fix=: \
597 $(MAKE) $(AM_MAKEFLAGS) \
598 top_distdir="$(top_distdir)" distdir="$(distdir)" \
600 -test -n "$(am__skip_mode_fix)" \
601 || find "$(distdir)" -type d ! -perm -755 \
602 -exec chmod u+rwx,go+rx {} \; -o \
603 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
604 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
605 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
606 || chmod -R a+r "$(distdir)"
608 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
609 $(am__remove_distdir)
612 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
613 $(am__remove_distdir)
616 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
617 $(am__remove_distdir)
620 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
621 $(am__remove_distdir)
624 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
625 $(am__remove_distdir)
628 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
629 $(am__remove_distdir)
632 -rm -f $(distdir).zip
633 zip -rq $(distdir).zip $(distdir)
634 $(am__remove_distdir)
636 dist dist-all: distdir
637 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
638 $(am__remove_distdir)
640 # This target untars the dist file and tries a VPATH configuration. Then
641 # it guarantees that the distribution is self-contained by making another
644 case '$(DIST_ARCHIVES)' in \
646 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
648 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
650 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
652 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
654 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
656 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
658 unzip $(distdir).zip ;;\
660 chmod -R a-w $(distdir); chmod a+w $(distdir)
661 mkdir $(distdir)/_build
662 mkdir $(distdir)/_inst
664 test -d $(distdir)/_build || exit 0; \
665 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
666 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
668 && $(am__cd) $(distdir)/_build \
669 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
670 $(DISTCHECK_CONFIGURE_FLAGS) \
671 && $(MAKE) $(AM_MAKEFLAGS) \
672 && $(MAKE) $(AM_MAKEFLAGS) dvi \
673 && $(MAKE) $(AM_MAKEFLAGS) check \
674 && $(MAKE) $(AM_MAKEFLAGS) install \
675 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
676 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
677 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
679 && chmod -R a-w "$$dc_install_base" \
681 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
682 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
683 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
684 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
685 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
686 } || { rm -rf "$$dc_destdir"; exit 1; }) \
687 && rm -rf "$$dc_destdir" \
688 && $(MAKE) $(AM_MAKEFLAGS) dist \
689 && rm -rf $(DIST_ARCHIVES) \
690 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
693 $(am__remove_distdir)
694 @(echo "$(distdir) archives ready for distribution: "; \
695 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
696 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
698 @$(am__cd) '$(distuninstallcheck_dir)' \
699 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
700 || { echo "ERROR: files left after uninstall:" ; \
701 if test -n "$(DESTDIR)"; then \
702 echo " (check DESTDIR support)"; \
704 $(distuninstallcheck_listfiles) ; \
706 distcleancheck: distclean
707 @if test '$(srcdir)' = . ; then \
708 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
711 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
712 || { echo "ERROR: files left in build directory after distclean:" ; \
713 $(distcleancheck_listfiles) ; \
716 $(MAKE) $(AM_MAKEFLAGS) check-local
717 check: check-recursive
718 all-am: Makefile $(DATA) config.h
719 installdirs: installdirs-recursive
721 for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
722 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
724 install: install-recursive
725 install-exec: install-exec-recursive
726 install-data: install-data-recursive
727 uninstall: uninstall-recursive
730 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
732 installcheck: installcheck-recursive
734 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
735 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
736 `test -z '$(STRIP)' || \
737 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
741 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
744 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
745 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
747 maintainer-clean-generic:
748 @echo "This command is intended for maintainers to use"
749 @echo "it deletes files that may require special tools to rebuild."
750 clean: clean-recursive
752 clean-am: clean-generic clean-libtool mostlyclean-am
754 distclean: distclean-recursive
755 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
757 distclean-am: clean-am distclean-generic distclean-hdr \
758 distclean-libtool distclean-tags
772 install-data-am: install-pkgconfigDATA
774 install-dvi: install-dvi-recursive
780 install-html: install-html-recursive
784 install-info: install-info-recursive
790 install-pdf: install-pdf-recursive
794 install-ps: install-ps-recursive
800 maintainer-clean: maintainer-clean-recursive
801 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
802 -rm -rf $(top_srcdir)/autom4te.cache
804 maintainer-clean-am: distclean-am maintainer-clean-generic
806 mostlyclean: mostlyclean-recursive
808 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
818 uninstall-am: uninstall-pkgconfigDATA
820 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
821 ctags-recursive install-am install-strip tags-recursive
823 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
824 all all-am am--refresh check check-am check-local clean \
825 clean-generic clean-libtool ctags ctags-recursive dist \
826 dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
827 dist-tarZ dist-xz dist-zip distcheck distclean \
828 distclean-generic distclean-hdr distclean-libtool \
829 distclean-tags distcleancheck distdir distuninstallcheck dvi \
830 dvi-am html html-am info info-am install install-am \
831 install-data install-data-am install-dvi install-dvi-am \
832 install-exec install-exec-am install-html install-html-am \
833 install-info install-info-am install-man install-pdf \
834 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
835 install-strip installcheck installcheck-am installdirs \
836 installdirs-am maintainer-clean maintainer-clean-generic \
837 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
838 ps ps-am tags tags-recursive uninstall uninstall-am \
839 uninstall-pkgconfigDATA
844 # test: run all tests in cwd and subdirs
846 @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
847 @ for subdir in $(SUBDIRS) . ; do \
848 test "$$subdir" = "." -o "$$subdir" = "po" || \
849 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
851 # test-report: run tests in subdirs and generate report
852 # perf-report: run tests in subdirs with -m perf and generate report
853 # full-report: like test-report: with -m perf and -m slow
854 test-report perf-report full-report: ${TEST_PROGS}
855 @test -z "${TEST_PROGS}" || { \
857 test-report) test_options="-k";; \
858 perf-report) test_options="-k -m=perf";; \
859 full-report) test_options="-k -m=perf -m=slow";; \
861 if test -z "$$GTESTER_LOGDIR" ; then \
862 ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
863 elif test -n "${TEST_PROGS}" ; then \
864 ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
867 @ ignore_logdir=true ; \
868 if test -z "$$GTESTER_LOGDIR" ; then \
869 GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
870 ignore_logdir=false ; \
872 for subdir in $(SUBDIRS) . ; do \
873 test "$$subdir" = "." -o "$$subdir" = "po" || \
874 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
876 $$ignore_logdir || { \
877 echo '<?xml version="1.0"?>' > $@.xml ; \
878 echo '<report-collection>' >> $@.xml ; \
879 echo '<info>' >> $@.xml ; \
880 echo ' <package>$(PACKAGE)</package>' >> $@.xml ; \
881 echo ' <version>$(VERSION)</version>' >> $@.xml ; \
882 echo '</info>' >> $@.xml ; \
883 for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
884 sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
887 echo '</report-collection>' >> $@.xml ; \
888 rm -rf "$$GTESTER_LOGDIR"/ ; \
889 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
891 .PHONY: test test-report perf-report full-report
892 # run make test as part of make check
895 json-glib-1.0.pc: json-glib.pc
896 $(QUIET_GEN)cp -f $< $@
899 @if test -d "$(srcdir)/.git"; then \
900 echo Generating ChangeLog ; \
902 && $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
903 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
904 || ( rm -f ChangeLog.tmp; \
905 echo Failed to generate ChangeLog >&2 ); \
907 echo A git checkout is required to generate a ChangeLog >&2; \
910 # Tell versions [3.59,3.63) of GNU make to not export all variables.
911 # Otherwise a system limit (for SysV at least) may be exceeded.