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 ABOUT-NLS COPYING NEWS
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = \
50 $(top_srcdir)/build/autotools/as-compiler-flag.m4 \
51 $(top_srcdir)/build/autotools/as-linguas.m4 \
52 $(top_srcdir)/build/autotools/gettext.m4 \
53 $(top_srcdir)/build/autotools/gtk-doc.m4 \
54 $(top_srcdir)/build/autotools/iconv.m4 \
55 $(top_srcdir)/build/autotools/intlmacosx.m4 \
56 $(top_srcdir)/build/autotools/introspection.m4 \
57 $(top_srcdir)/build/autotools/lib-ld.m4 \
58 $(top_srcdir)/build/autotools/lib-link.m4 \
59 $(top_srcdir)/build/autotools/lib-prefix.m4 \
60 $(top_srcdir)/build/autotools/libtool.m4 \
61 $(top_srcdir)/build/autotools/ltoptions.m4 \
62 $(top_srcdir)/build/autotools/ltsugar.m4 \
63 $(top_srcdir)/build/autotools/ltversion.m4 \
64 $(top_srcdir)/build/autotools/lt~obsolete.m4 \
65 $(top_srcdir)/build/autotools/nls.m4 \
66 $(top_srcdir)/build/autotools/po.m4 \
67 $(top_srcdir)/build/autotools/progtest.m4 \
68 $(top_srcdir)/configure.ac
69 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
71 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
72 configure.lineno config.status.lineno
73 mkinstalldirs = $(install_sh) -d
74 CONFIG_HEADER = config.h
75 CONFIG_CLEAN_FILES = json-glib.pc
76 CONFIG_CLEAN_VPATH_FILES =
77 AM_V_GEN = $(am__v_GEN_$(V))
78 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
79 am__v_GEN_0 = @echo " GEN " $@;
80 AM_V_at = $(am__v_at_$(V))
81 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
85 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
86 html-recursive info-recursive install-data-recursive \
87 install-dvi-recursive install-exec-recursive \
88 install-html-recursive install-info-recursive \
89 install-pdf-recursive install-ps-recursive install-recursive \
90 installcheck-recursive installdirs-recursive pdf-recursive \
91 ps-recursive uninstall-recursive
92 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
93 am__vpath_adj = case $$p in \
94 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
97 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
99 am__nobase_strip_setup = \
100 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
102 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
103 am__nobase_list = $(am__nobase_strip_setup); \
104 for p in $$list; do echo "$$p $$p"; done | \
105 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
106 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
107 if (++n[$$2] == $(am__install_max)) \
108 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
109 END { for (dir in files) print dir, files[dir] }'
111 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
112 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
113 am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
114 DATA = $(pkgconfig_DATA)
115 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
116 distclean-recursive maintainer-clean-recursive
117 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
118 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
119 distdir dist dist-all distcheck
122 DIST_SUBDIRS = $(SUBDIRS)
123 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
124 distdir = $(PACKAGE)-$(VERSION)
125 top_distdir = $(distdir)
126 am__remove_distdir = \
127 { test ! -d "$(distdir)" \
128 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
129 && rm -fr "$(distdir)"; }; }
132 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
133 sed_rest='s,^[^/]*/*,,'; \
134 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
135 sed_butlast='s,/*[^/]*$$,,'; \
136 while test -n "$$dir1"; do \
137 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
138 if test "$$first" != "."; then \
139 if test "$$first" = ".."; then \
140 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
141 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
143 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
144 if test "$$first2" = "$$first"; then \
145 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
149 dir0="$$dir0"/"$$first"; \
152 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
156 DIST_ARCHIVES = $(distdir).tar.xz
157 distuninstallcheck_listfiles = find . -type f -print
158 distcleancheck_listfiles = find . -type f -print
160 ALL_LINGUAS = @ALL_LINGUAS@
162 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
164 AUTOCONF = @AUTOCONF@
165 AUTOHEADER = @AUTOHEADER@
166 AUTOMAKE = @AUTOMAKE@
169 CCDEPMODE = @CCDEPMODE@
172 CPPFLAGS = @CPPFLAGS@
173 CYGPATH_W = @CYGPATH_W@
177 DSYMUTIL = @DSYMUTIL@
185 GCOV_CFLAGS = @GCOV_CFLAGS@
186 GCOV_LDFLAGS = @GCOV_LDFLAGS@
187 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
188 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
189 GLIB_CFLAGS = @GLIB_CFLAGS@
190 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
191 GLIB_LIBS = @GLIB_LIBS@
192 GLIB_MKENUMS = @GLIB_MKENUMS@
193 GLIB_PREFIX = @GLIB_PREFIX@
195 GMSGFMT_015 = @GMSGFMT_015@
196 GOBJECT_QUERY = @GOBJECT_QUERY@
198 GTKDOC_CHECK = @GTKDOC_CHECK@
199 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
200 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
201 GTKDOC_MKPDF = @GTKDOC_MKPDF@
202 GTKDOC_REBASE = @GTKDOC_REBASE@
203 HTML_DIR = @HTML_DIR@
205 INSTALL_DATA = @INSTALL_DATA@
206 INSTALL_PROGRAM = @INSTALL_PROGRAM@
207 INSTALL_SCRIPT = @INSTALL_SCRIPT@
208 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
209 INTLLIBS = @INTLLIBS@
210 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
211 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
212 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
213 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
214 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
215 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
216 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
217 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
218 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
219 JSON_CFLAGS = @JSON_CFLAGS@
220 JSON_DEBUG_CFLAGS = @JSON_DEBUG_CFLAGS@
221 JSON_LIBS = @JSON_LIBS@
222 JSON_LT_LDFLAGS = @JSON_LT_LDFLAGS@
223 JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@
224 JSON_MICRO_VERSION = @JSON_MICRO_VERSION@
225 JSON_MINOR_VERSION = @JSON_MINOR_VERSION@
226 JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@
227 JSON_VERSION = @JSON_VERSION@
230 LIBICONV = @LIBICONV@
237 LTLIBICONV = @LTLIBICONV@
238 LTLIBINTL = @LTLIBINTL@
239 LTLIBOBJS = @LTLIBOBJS@
240 MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@
241 MAKEINFO = @MAKEINFO@
242 MANIFEST_TOOL = @MANIFEST_TOOL@
245 MSGFMT_015 = @MSGFMT_015@
246 MSGMERGE = @MSGMERGE@
254 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
255 PACKAGE_NAME = @PACKAGE_NAME@
256 PACKAGE_STRING = @PACKAGE_STRING@
257 PACKAGE_TARNAME = @PACKAGE_TARNAME@
258 PACKAGE_URL = @PACKAGE_URL@
259 PACKAGE_VERSION = @PACKAGE_VERSION@
260 PATH_SEPARATOR = @PATH_SEPARATOR@
261 PKG_CONFIG = @PKG_CONFIG@
262 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
263 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
267 SET_MAKE = @SET_MAKE@
272 XGETTEXT = @XGETTEXT@
273 XGETTEXT_015 = @XGETTEXT_015@
274 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
275 abs_builddir = @abs_builddir@
276 abs_srcdir = @abs_srcdir@
277 abs_top_builddir = @abs_top_builddir@
278 abs_top_srcdir = @abs_top_srcdir@
279 ac_ct_AR = @ac_ct_AR@
280 ac_ct_CC = @ac_ct_CC@
281 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
282 am__include = @am__include@
283 am__leading_dot = @am__leading_dot@
284 am__quote = @am__quote@
286 am__untar = @am__untar@
289 build_alias = @build_alias@
290 build_cpu = @build_cpu@
291 build_os = @build_os@
292 build_vendor = @build_vendor@
293 builddir = @builddir@
295 datarootdir = @datarootdir@
298 exec_prefix = @exec_prefix@
300 host_alias = @host_alias@
301 host_cpu = @host_cpu@
303 host_vendor = @host_vendor@
305 includedir = @includedir@
307 install_sh = @install_sh@
309 libexecdir = @libexecdir@
310 localedir = @localedir@
311 localstatedir = @localstatedir@
314 oldincludedir = @oldincludedir@
317 program_transform_name = @program_transform_name@
320 sharedstatedir = @sharedstatedir@
322 sysconfdir = @sysconfdir@
323 target_alias = @target_alias@
324 top_build_prefix = @top_build_prefix@
325 top_builddir = @top_builddir@
326 top_srcdir = @top_srcdir@
328 GTESTER_REPORT = gtester-report
330 # initialize variables for unconditional += appending
331 EXTRA_DIST = json-glib.pc.in
333 QUIET_GEN = $(AM_V_GEN)
334 QUIET_LN = $(QUIET_LN_$(V))
335 QUIET_LN_ = $(QUIET_LN_$(AM_DEFAULT_VERBOSITY))
336 QUIET_LN_0 = @echo ' LN '$@;
337 QUIET_RM = $(QUIET_RM_$(V))
338 QUIET_RM_ = $(QUIET_RM_$(AM_DEFAULT_VERBOSITY))
339 QUIET_RM_0 = @echo ' RM '$@;
340 ACLOCAL_AMFLAGS = -I build/autotools
341 SUBDIRS = json-glib doc build po
342 pcfiles = json-glib-1.0.pc
343 pkgconfig_DATA = $(pcfiles)
344 pkgconfigdir = $(libdir)/pkgconfig
345 CLEANFILES = $(pcfiles) test-report.xml
346 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags --enable-introspection
348 $(MAKE) $(AM_MAKEFLAGS) all-recursive
353 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/build/autotools/Makefile.am.gtest $(top_srcdir)/build/autotools/Makefile.am.silent $(am__configure_deps)
355 case '$(am__configure_deps)' in \
357 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
358 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
363 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
364 $(am__cd) $(top_srcdir) && \
365 $(AUTOMAKE) --foreign Makefile
367 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
370 echo ' $(SHELL) ./config.status'; \
371 $(SHELL) ./config.status;; \
373 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
374 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
377 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
378 $(SHELL) ./config.status --recheck
380 $(top_srcdir)/configure: $(am__configure_deps)
381 $(am__cd) $(srcdir) && $(AUTOCONF)
382 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
383 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
384 $(am__aclocal_m4_deps):
387 @if test ! -f $@; then \
389 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
392 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
394 cd $(top_builddir) && $(SHELL) ./config.status config.h
395 $(srcdir)/config.h.in: $(am__configure_deps)
396 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
401 -rm -f config.h stamp-h1
402 json-glib.pc: $(top_builddir)/config.status $(srcdir)/json-glib.pc.in
403 cd $(top_builddir) && $(SHELL) ./config.status $@
412 -rm -f libtool config.lt
413 install-pkgconfigDATA: $(pkgconfig_DATA)
415 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
416 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
417 for p in $$list; do \
418 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
420 done | $(am__base_list) | \
421 while read files; do \
422 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
423 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
426 uninstall-pkgconfigDATA:
428 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
429 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
430 test -n "$$files" || exit 0; \
431 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
432 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
434 # This directory's subdirectories are mostly independent; you can cd
435 # into them and run `make' without going through this Makefile.
436 # To change the values of `make' variables: instead of editing Makefiles,
437 # (1) if the variable is set in `config.status', edit `config.status'
438 # (which will cause the Makefiles to be regenerated when you run `make');
439 # (2) otherwise, pass the desired values on the `make' command line.
440 $(RECURSIVE_TARGETS):
441 @fail= failcom='exit 1'; \
442 for f in x $$MAKEFLAGS; do \
445 *k*) failcom='fail=yes';; \
449 target=`echo $@ | sed s/-recursive//`; \
450 list='$(SUBDIRS)'; for subdir in $$list; do \
451 echo "Making $$target in $$subdir"; \
452 if test "$$subdir" = "."; then \
454 local_target="$$target-am"; \
456 local_target="$$target"; \
458 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
461 if test "$$dot_seen" = "no"; then \
462 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
465 $(RECURSIVE_CLEAN_TARGETS):
466 @fail= failcom='exit 1'; \
467 for f in x $$MAKEFLAGS; do \
470 *k*) failcom='fail=yes';; \
475 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
476 *) list='$(SUBDIRS)' ;; \
478 rev=''; for subdir in $$list; do \
479 if test "$$subdir" = "."; then :; else \
480 rev="$$subdir $$rev"; \
484 target=`echo $@ | sed s/-recursive//`; \
485 for subdir in $$rev; do \
486 echo "Making $$target in $$subdir"; \
487 if test "$$subdir" = "."; then \
488 local_target="$$target-am"; \
490 local_target="$$target"; \
492 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
494 done && test -z "$$fail"
496 list='$(SUBDIRS)'; for subdir in $$list; do \
497 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
500 list='$(SUBDIRS)'; for subdir in $$list; do \
501 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
504 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
505 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
506 unique=`for i in $$list; do \
507 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
509 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
510 END { if (nonempty) { for (i in files) print i; }; }'`; \
514 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
515 $(TAGS_FILES) $(LISP)
518 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
519 include_option=--etags-include; \
522 include_option=--include; \
525 list='$(SUBDIRS)'; for subdir in $$list; do \
526 if test "$$subdir" = .; then :; else \
527 test ! -f $$subdir/TAGS || \
528 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
531 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
532 unique=`for i in $$list; do \
533 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
535 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
536 END { if (nonempty) { for (i in files) print i; }; }'`; \
538 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
539 test -n "$$unique" || unique=$$empty_fix; \
540 if test $$# -gt 0; then \
541 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
544 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
549 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
550 $(TAGS_FILES) $(LISP)
551 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
552 unique=`for i in $$list; do \
553 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
555 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
556 END { if (nonempty) { for (i in files) print i; }; }'`; \
557 test -z "$(CTAGS_ARGS)$$unique" \
558 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
562 here=`$(am__cd) $(top_builddir) && pwd` \
563 && $(am__cd) $(top_srcdir) \
564 && gtags -i $(GTAGS_ARGS) "$$here"
567 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
569 distdir: $(DISTFILES)
570 $(am__remove_distdir)
571 test -d "$(distdir)" || mkdir "$(distdir)"
572 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
573 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
574 list='$(DISTFILES)'; \
575 dist_files=`for file in $$list; do echo $$file; done | \
576 sed -e "s|^$$srcdirstrip/||;t" \
577 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
578 case $$dist_files in \
579 */*) $(MKDIR_P) `echo "$$dist_files" | \
580 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
583 for file in $$dist_files; do \
584 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
585 if test -d $$d/$$file; then \
586 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
587 if test -d "$(distdir)/$$file"; then \
588 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
590 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
591 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
592 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
594 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
596 test -f "$(distdir)/$$file" \
597 || cp -p $$d/$$file "$(distdir)/$$file" \
601 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
602 if test "$$subdir" = .; then :; else \
603 test -d "$(distdir)/$$subdir" \
604 || $(MKDIR_P) "$(distdir)/$$subdir" \
608 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
609 if test "$$subdir" = .; then :; else \
610 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
612 new_distdir=$$reldir; \
613 dir1=$$subdir; dir2="$(top_distdir)"; \
615 new_top_distdir=$$reldir; \
616 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
617 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
618 ($(am__cd) $$subdir && \
619 $(MAKE) $(AM_MAKEFLAGS) \
620 top_distdir="$$new_top_distdir" \
621 distdir="$$new_distdir" \
622 am__remove_distdir=: \
623 am__skip_length_check=: \
624 am__skip_mode_fix=: \
629 $(MAKE) $(AM_MAKEFLAGS) \
630 top_distdir="$(top_distdir)" distdir="$(distdir)" \
632 -test -n "$(am__skip_mode_fix)" \
633 || find "$(distdir)" -type d ! -perm -755 \
634 -exec chmod u+rwx,go+rx {} \; -o \
635 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
636 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
637 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
638 || chmod -R a+r "$(distdir)"
640 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
641 $(am__remove_distdir)
644 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
645 $(am__remove_distdir)
648 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
649 $(am__remove_distdir)
651 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
652 $(am__remove_distdir)
655 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
656 $(am__remove_distdir)
659 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
660 $(am__remove_distdir)
663 -rm -f $(distdir).zip
664 zip -rq $(distdir).zip $(distdir)
665 $(am__remove_distdir)
667 dist dist-all: distdir
668 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
669 $(am__remove_distdir)
671 # This target untars the dist file and tries a VPATH configuration. Then
672 # it guarantees that the distribution is self-contained by making another
675 case '$(DIST_ARCHIVES)' in \
677 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
679 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
681 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
683 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
685 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
687 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
689 unzip $(distdir).zip ;;\
691 chmod -R a-w $(distdir); chmod a+w $(distdir)
692 mkdir $(distdir)/_build
693 mkdir $(distdir)/_inst
695 test -d $(distdir)/_build || exit 0; \
696 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
697 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
699 && $(am__cd) $(distdir)/_build \
700 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
701 $(DISTCHECK_CONFIGURE_FLAGS) \
702 && $(MAKE) $(AM_MAKEFLAGS) \
703 && $(MAKE) $(AM_MAKEFLAGS) dvi \
704 && $(MAKE) $(AM_MAKEFLAGS) check \
705 && $(MAKE) $(AM_MAKEFLAGS) install \
706 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
707 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
708 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
710 && chmod -R a-w "$$dc_install_base" \
712 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
713 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
714 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
715 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
716 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
717 } || { rm -rf "$$dc_destdir"; exit 1; }) \
718 && rm -rf "$$dc_destdir" \
719 && $(MAKE) $(AM_MAKEFLAGS) dist \
720 && rm -rf $(DIST_ARCHIVES) \
721 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
724 $(am__remove_distdir)
725 @(echo "$(distdir) archives ready for distribution: "; \
726 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
727 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
729 @$(am__cd) '$(distuninstallcheck_dir)' \
730 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
731 || { echo "ERROR: files left after uninstall:" ; \
732 if test -n "$(DESTDIR)"; then \
733 echo " (check DESTDIR support)"; \
735 $(distuninstallcheck_listfiles) ; \
737 distcleancheck: distclean
738 @if test '$(srcdir)' = . ; then \
739 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
742 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
743 || { echo "ERROR: files left in build directory after distclean:" ; \
744 $(distcleancheck_listfiles) ; \
747 $(MAKE) $(AM_MAKEFLAGS) check-local
748 check: check-recursive
749 all-am: Makefile $(DATA) config.h
750 installdirs: installdirs-recursive
752 for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
753 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
755 install: install-recursive
756 install-exec: install-exec-recursive
757 install-data: install-data-recursive
758 uninstall: uninstall-recursive
761 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
763 installcheck: installcheck-recursive
765 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
766 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
767 `test -z '$(STRIP)' || \
768 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
772 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
775 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
776 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
778 maintainer-clean-generic:
779 @echo "This command is intended for maintainers to use"
780 @echo "it deletes files that may require special tools to rebuild."
781 clean: clean-recursive
783 clean-am: clean-generic clean-libtool mostlyclean-am
785 distclean: distclean-recursive
786 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
788 distclean-am: clean-am distclean-generic distclean-hdr \
789 distclean-libtool distclean-tags
803 install-data-am: install-pkgconfigDATA
805 install-dvi: install-dvi-recursive
811 install-html: install-html-recursive
815 install-info: install-info-recursive
821 install-pdf: install-pdf-recursive
825 install-ps: install-ps-recursive
831 maintainer-clean: maintainer-clean-recursive
832 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
833 -rm -rf $(top_srcdir)/autom4te.cache
835 maintainer-clean-am: distclean-am maintainer-clean-generic
837 mostlyclean: mostlyclean-recursive
839 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
849 uninstall-am: uninstall-pkgconfigDATA
851 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
852 ctags-recursive install-am install-strip tags-recursive
854 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
855 all all-am am--refresh check check-am check-local clean \
856 clean-generic clean-libtool ctags ctags-recursive dist \
857 dist-all dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar \
858 dist-tarZ dist-xz dist-zip distcheck distclean \
859 distclean-generic distclean-hdr distclean-libtool \
860 distclean-tags distcleancheck distdir distuninstallcheck dvi \
861 dvi-am html html-am info info-am install install-am \
862 install-data install-data-am install-dvi install-dvi-am \
863 install-exec install-exec-am install-html install-html-am \
864 install-info install-info-am install-man install-pdf \
865 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
866 install-strip installcheck installcheck-am installdirs \
867 installdirs-am maintainer-clean maintainer-clean-generic \
868 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
869 ps ps-am tags tags-recursive uninstall uninstall-am \
870 uninstall-pkgconfigDATA
875 # test: run all tests in cwd and subdirs
876 test: test-nonrecursive
877 @for subdir in $(SUBDIRS) . ; do \
878 test "$$subdir" = "." -o "$$subdir" = "po" || \
879 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
882 # test-nonrecursive: run tests only in cwd
883 test-nonrecursive: ${TEST_PROGS}
884 @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
886 # test-report: run tests in subdirs and generate report
887 # perf-report: run tests in subdirs with -m perf and generate report
888 # full-report: like test-report: with -m perf and -m slow
889 test-report perf-report full-report: ${TEST_PROGS}
890 @test -z "${TEST_PROGS}" || { \
892 test-report) test_options="-k";; \
893 perf-report) test_options="-k -m=perf";; \
894 full-report) test_options="-k -m=perf -m=slow";; \
896 if test -z "$$GTESTER_LOGDIR" ; then \
897 ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
898 elif test -n "${TEST_PROGS}" ; then \
899 ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
902 @ ignore_logdir=true ; \
903 if test -z "$$GTESTER_LOGDIR" ; then \
904 GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
905 ignore_logdir=false ; \
907 for subdir in $(SUBDIRS) . ; do \
908 test "$$subdir" = "." -o "$$subdir" = "po" || \
909 ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
911 $$ignore_logdir || { \
912 echo '<?xml version="1.0"?>' > $@.xml ; \
913 echo '<report-collection>' >> $@.xml ; \
914 echo '<info>' >> $@.xml ; \
915 echo ' <package>$(PACKAGE)</package>' >> $@.xml ; \
916 echo ' <version>$(VERSION)</version>' >> $@.xml ; \
917 echo '</info>' >> $@.xml ; \
918 for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
919 sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
922 echo '</report-collection>' >> $@.xml ; \
923 rm -rf "$$GTESTER_LOGDIR"/ ; \
924 ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
926 .PHONY: test test-report perf-report full-report test-nonrecursive
928 # run tests in cwd as part of make check
929 check-local: test-nonrecursive
931 json-glib-1.0.pc: json-glib.pc
932 $(QUIET_GEN)cp -f $< $@
935 @if test -d "$(srcdir)/.git"; then \
936 echo Generating ChangeLog ; \
938 && $(top_srcdir)/build/missing --run git log --stat ) > ChangeLog.tmp \
939 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
940 || ( rm -f ChangeLog.tmp; \
941 echo Failed to generate ChangeLog >&2 ); \
943 echo A git checkout is required to generate a ChangeLog >&2; \
947 ( cd json-glib && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $?
949 # Tell versions [3.59,3.63) of GNU make to not export all variables.
950 # Otherwise a system limit (for SysV at least) may be exceeded.