1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 if test -z '$(MAKELEVEL)'; then \
20 elif test -n '$(MAKE_HOST)'; then \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
28 am__make_running_with_option = \
29 case $${target_option-} in \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
66 *$$target_option*) has_opt=yes; break;; \
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
88 build_triplet = @build@
91 # Avoid trouble if your system doesn't have xmlto.
92 @BUILD_DOC_TRUE@am__append_1 = doc
94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
96 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
97 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
98 $(top_srcdir)/configure.ac
99 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
101 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
102 $(am__configure_deps) $(am__DIST_COMMON)
103 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
104 configure.lineno config.status.lineno
105 mkinstalldirs = $(install_sh) -d
106 CONFIG_HEADER = config.h
108 CONFIG_CLEAN_VPATH_FILES =
109 AM_V_P = $(am__v_P_@AM_V@)
110 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
113 AM_V_GEN = $(am__v_GEN_@AM_V@)
114 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
115 am__v_GEN_0 = @echo " GEN " $@;
117 AM_V_at = $(am__v_at_@AM_V@)
118 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
123 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
124 ctags-recursive dvi-recursive html-recursive info-recursive \
125 install-data-recursive install-dvi-recursive \
126 install-exec-recursive install-html-recursive \
127 install-info-recursive install-pdf-recursive \
128 install-ps-recursive install-recursive installcheck-recursive \
129 installdirs-recursive pdf-recursive ps-recursive \
130 tags-recursive uninstall-recursive
131 am__can_run_installinfo = \
132 case $$AM_UPDATE_INFO_DIR in \
134 *) (install-info --version) >/dev/null 2>&1;; \
136 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
137 distclean-recursive maintainer-clean-recursive
138 am__recursive_targets = \
139 $(RECURSIVE_TARGETS) \
140 $(RECURSIVE_CLEAN_TARGETS) \
141 $(am__extra_recursive_targets)
142 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
143 cscope check recheck distdir dist dist-all distcheck
144 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
146 # Read a list of newline-separated strings from the standard input,
147 # and print each of them once, without duplicates. Input order is
149 am__uniquify_input = $(AWK) '\
150 BEGIN { nonempty = 0; } \
151 { items[$$0] = 1; nonempty = 1; } \
152 END { if (nonempty) { for (i in items) print i; }; } \
154 # Make sure the list of sources is unique. This is necessary because,
155 # e.g., the same source file might be shared among _SOURCES variables
156 # for different programs/libraries.
157 am__define_uniq_tagged_files = \
158 list='$(am__tagged_files)'; \
159 unique=`for i in $$list; do \
160 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
161 done | $(am__uniquify_input)`
165 am__tty_colors_dummy = \
166 mgn= red= grn= lgn= blu= brg= std=; \
169 $(am__tty_colors_dummy); \
170 if test "X$(AM_COLOR_TESTS)" = Xno; then \
171 am__color_tests=no; \
172 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
173 am__color_tests=yes; \
174 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
175 am__color_tests=yes; \
177 if test $$am__color_tests = yes; then \
187 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
188 am__vpath_adj = case $$p in \
189 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
192 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
194 am__nobase_strip_setup = \
195 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
197 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
198 am__nobase_list = $(am__nobase_strip_setup); \
199 for p in $$list; do echo "$$p $$p"; done | \
200 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
201 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
202 if (++n[$$2] == $(am__install_max)) \
203 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
204 END { for (dir in files) print dir, files[dir] }'
206 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
207 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
208 am__uninstall_files_from_dir = { \
210 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
211 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
212 $(am__cd) "$$dir" && rm -f $$files; }; \
214 am__recheck_rx = ^[ ]*:recheck:[ ]*
215 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
216 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
217 # A command that, given a newline-separated list of test names on the
218 # standard input, print the name of the tests that are to be re-run
219 # upon "make recheck".
220 am__list_recheck_tests = $(AWK) '{ \
222 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
226 if ((getline line2 < ($$0 ".log")) < 0) \
230 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
235 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
242 close ($$0 ".trs"); \
243 close ($$0 ".log"); \
245 # A command that, given a newline-separated list of test names on the
246 # standard input, create the global log from their .trs and .log files.
247 am__create_global_log = $(AWK) ' \
248 function fatal(msg) \
250 print "fatal: making $@: " msg | "cat >&2"; \
253 function rst_section(header) \
256 len = length(header); \
257 for (i = 1; i <= len; i = i + 1) \
262 copy_in_global_log = 1; \
263 global_test_result = "RUN"; \
264 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
267 fatal("failed to read from " $$0 ".trs"); \
268 if (line ~ /$(am__global_test_result_rx)/) \
270 sub("$(am__global_test_result_rx)", "", line); \
271 sub("[ ]*$$", "", line); \
272 global_test_result = line; \
274 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
275 copy_in_global_log = 0; \
277 if (copy_in_global_log) \
279 rst_section(global_test_result ": " $$0); \
280 while ((rc = (getline line < ($$0 ".log"))) != 0) \
283 fatal("failed to read from " $$0 ".log"); \
288 close ($$0 ".trs"); \
289 close ($$0 ".log"); \
291 # Restructured Text title.
292 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
293 # Solaris 10 'make', and several other traditional 'make' implementations,
294 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
295 # by disabling -e (using the XSI extension "set +e") if it's set.
296 am__sh_e_setup = case $$- in *e*) set +e;; esac
297 # Default flags passed to test drivers.
298 am__common_driver_flags = \
299 --color-tests "$$am__color_tests" \
300 --enable-hard-errors "$$am__enable_hard_errors" \
301 --expect-failure "$$am__expect_failure"
302 # To be inserted before the command running the test. Creates the
303 # directory for the log if needed. Stores in $dir the directory
304 # containing $f, in $tst the test, in $log the log. Executes the
305 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
306 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
307 # will run the test scripts (or their associated LOG_COMPILER, if
311 $(am__vpath_adj_setup) $(am__vpath_adj) \
313 srcdir=$(srcdir); export srcdir; \
315 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
318 test "x$$am__odir" = x"." || test -d "$$am__odir" \
319 || $(MKDIR_P) "$$am__odir" || exit $$?; \
320 if test -f "./$$f"; then dir=./; \
321 elif test -f "$$f"; then dir=; \
322 else dir="$(srcdir)/"; fi; \
323 tst=$$dir$$f; log='$@'; \
324 if test -n '$(DISABLE_HARD_ERRORS)'; then \
325 am__enable_hard_errors=no; \
327 am__enable_hard_errors=yes; \
329 case " $(XFAIL_TESTS) " in \
330 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
331 am__expect_failure=yes;; \
333 am__expect_failure=no;; \
335 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
336 # A shell command to get the names of the tests scripts with any registered
337 # extension removed (i.e., equivalently, the names of the test logs, with
338 # the '.log' extension removed). The result is saved in the shell variable
339 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
340 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
341 # since that might cause problem with VPATH rewrites for suffix-less tests.
342 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
343 am__set_TESTS_bases = \
344 bases='$(TEST_LOGS)'; \
345 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
347 RECHECK_LOGS = $(TEST_LOGS)
348 TEST_SUITE_LOG = test-suite.log
349 TEST_EXTENSIONS = @EXEEXT@ .test
350 LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
351 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
357 *) b=`echo '$@' | sed 's/\.log$$//'`; \
362 am__test_logs1 = $(TESTS:=.log)
363 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
364 TEST_LOGS = $(am__test_logs2:.test.log=.log)
365 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
366 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
368 DIST_SUBDIRS = lib util pic doc
369 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \
370 COPYING ChangeLog INSTALL NEWS README TODO ar-lib compile \
371 config.guess config.sub depcomp install-sh ltmain.sh missing \
373 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
374 distdir = $(PACKAGE)-$(VERSION)
375 top_distdir = $(distdir)
376 am__remove_distdir = \
377 if test -d "$(distdir)"; then \
378 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
379 && rm -rf "$(distdir)" \
380 || { sleep 5 && rm -rf "$(distdir)"; }; \
382 am__post_remove_distdir = $(am__remove_distdir)
385 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
386 sed_rest='s,^[^/]*/*,,'; \
387 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
388 sed_butlast='s,/*[^/]*$$,,'; \
389 while test -n "$$dir1"; do \
390 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
391 if test "$$first" != "."; then \
392 if test "$$first" = ".."; then \
393 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
394 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
396 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
397 if test "$$first2" = "$$first"; then \
398 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
402 dir0="$$dir0"/"$$first"; \
405 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
408 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
410 DIST_TARGETS = dist-bzip2 dist-gzip
411 distuninstallcheck_listfiles = find . -type f -print
412 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
413 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
414 distcleancheck_listfiles = find . -type f -print
417 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
419 AUTOCONF = @AUTOCONF@
420 AUTOHEADER = @AUTOHEADER@
421 AUTOMAKE = @AUTOMAKE@
424 CCDEPMODE = @CCDEPMODE@
427 CPPFLAGS = @CPPFLAGS@
428 CYGPATH_W = @CYGPATH_W@
432 DSYMUTIL = @DSYMUTIL@
442 INSTALL_DATA = @INSTALL_DATA@
443 INSTALL_PROGRAM = @INSTALL_PROGRAM@
444 INSTALL_SCRIPT = @INSTALL_SCRIPT@
445 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
453 LTLIBOBJS = @LTLIBOBJS@
454 MAKEINFO = @MAKEINFO@
455 MANIFEST_TOOL = @MANIFEST_TOOL@
464 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
465 PACKAGE_NAME = @PACKAGE_NAME@
466 PACKAGE_STRING = @PACKAGE_STRING@
467 PACKAGE_TARNAME = @PACKAGE_TARNAME@
468 PACKAGE_URL = @PACKAGE_URL@
469 PACKAGE_VERSION = @PACKAGE_VERSION@
470 PATH_SEPARATOR = @PATH_SEPARATOR@
473 SET_MAKE = @SET_MAKE@
475 SHLIBVERSION = @SHLIBVERSION@
478 abs_builddir = @abs_builddir@
479 abs_srcdir = @abs_srcdir@
480 abs_top_builddir = @abs_top_builddir@
481 abs_top_srcdir = @abs_top_srcdir@
482 ac_ct_AR = @ac_ct_AR@
483 ac_ct_CC = @ac_ct_CC@
484 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
485 am__include = @am__include@
486 am__leading_dot = @am__leading_dot@
487 am__quote = @am__quote@
489 am__untar = @am__untar@
492 build_alias = @build_alias@
493 build_cpu = @build_cpu@
494 build_os = @build_os@
495 build_vendor = @build_vendor@
496 builddir = @builddir@
498 datarootdir = @datarootdir@
501 exec_prefix = @exec_prefix@
502 have_xmlto = @have_xmlto@
504 host_alias = @host_alias@
505 host_cpu = @host_cpu@
507 host_vendor = @host_vendor@
509 includedir = @includedir@
511 install_sh = @install_sh@
513 libexecdir = @libexecdir@
514 localedir = @localedir@
515 localstatedir = @localstatedir@
518 oldincludedir = @oldincludedir@
521 program_transform_name = @program_transform_name@
524 sharedstatedir = @sharedstatedir@
526 sysconfdir = @sysconfdir@
527 target_alias = @target_alias@
528 top_build_prefix = @top_build_prefix@
529 top_builddir = @top_builddir@
530 top_srcdir = @top_srcdir@
531 SUBDIRS = lib util pic $(am__append_1)
533 # Pacify autoreconf. We don't actually use this.
534 ACLOCAL_AMFLAGS = -I m4
535 EXTRA_DIST = Makefile.unx \
549 # splint is nowhere near running clean
550 SPLINT_SUPPRESSIONS = -boolops -nullret
552 $(MAKE) $(AM_MAKEFLAGS) all-recursive
555 .SUFFIXES: .log .test .test$(EXEEXT) .trs
556 am--refresh: Makefile
558 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
560 case '$(am__configure_deps)' in \
562 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
563 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
568 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
569 $(am__cd) $(top_srcdir) && \
570 $(AUTOMAKE) --gnu Makefile
571 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
574 echo ' $(SHELL) ./config.status'; \
575 $(SHELL) ./config.status;; \
577 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
578 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
581 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
582 $(SHELL) ./config.status --recheck
584 $(top_srcdir)/configure: $(am__configure_deps)
585 $(am__cd) $(srcdir) && $(AUTOCONF)
586 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
587 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
588 $(am__aclocal_m4_deps):
591 @test -f $@ || rm -f stamp-h1
592 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
594 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
596 cd $(top_builddir) && $(SHELL) ./config.status config.h
597 $(srcdir)/config.h.in: $(am__configure_deps)
598 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
603 -rm -f config.h stamp-h1
612 -rm -f libtool config.lt
614 # This directory's subdirectories are mostly independent; you can cd
615 # into them and run 'make' without going through this Makefile.
616 # To change the values of 'make' variables: instead of editing Makefiles,
617 # (1) if the variable is set in 'config.status', edit 'config.status'
618 # (which will cause the Makefiles to be regenerated when you run 'make');
619 # (2) otherwise, pass the desired values on the 'make' command line.
620 $(am__recursive_targets):
622 if $(am__make_keepgoing); then \
623 failcom='fail=yes'; \
628 target=`echo $@ | sed s/-recursive//`; \
630 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
631 *) list='$(SUBDIRS)' ;; \
633 for subdir in $$list; do \
634 echo "Making $$target in $$subdir"; \
635 if test "$$subdir" = "."; then \
637 local_target="$$target-am"; \
639 local_target="$$target"; \
641 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
644 if test "$$dot_seen" = "no"; then \
645 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
648 ID: $(am__tagged_files)
649 $(am__define_uniq_tagged_files); mkid -fID $$unique
653 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
656 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
657 include_option=--etags-include; \
660 include_option=--include; \
663 list='$(SUBDIRS)'; for subdir in $$list; do \
664 if test "$$subdir" = .; then :; else \
665 test ! -f $$subdir/TAGS || \
666 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
669 $(am__define_uniq_tagged_files); \
671 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
672 test -n "$$unique" || unique=$$empty_fix; \
673 if test $$# -gt 0; then \
674 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
677 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
681 ctags: ctags-recursive
684 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
685 $(am__define_uniq_tagged_files); \
686 test -z "$(CTAGS_ARGS)$$unique" \
687 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
691 here=`$(am__cd) $(top_builddir) && pwd` \
692 && $(am__cd) $(top_srcdir) \
693 && gtags -i $(GTAGS_ARGS) "$$here"
695 test ! -s cscope.files \
696 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
699 cscope.files: clean-cscope cscopelist
700 cscopelist: cscopelist-recursive
702 cscopelist-am: $(am__tagged_files)
703 list='$(am__tagged_files)'; \
704 case "$(srcdir)" in \
705 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
706 *) sdir=$(subdir)/$(srcdir) ;; \
708 for i in $$list; do \
709 if test -f "$$i"; then \
710 echo "$(subdir)/$$i"; \
714 done >> $(top_builddir)/cscope.files
717 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
718 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
720 # Recover from deleted '.trs' file; this should ensure that
721 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
722 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
723 # to avoid problems with "make -n".
726 $(MAKE) $(AM_MAKEFLAGS) $<
728 # Leading 'am--fnord' is there to ensure the list of targets does not
729 # expand to empty, as could happen e.g. with make check TESTS=''.
730 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
734 $(TEST_SUITE_LOG): $(TEST_LOGS)
735 @$(am__set_TESTS_bases); \
736 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
737 redo_bases=`for i in $$bases; do \
738 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
740 if test -n "$$redo_bases"; then \
741 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
742 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
743 if $(am__make_dryrun); then :; else \
744 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
747 if test -n "$$am__remaking_logs"; then \
748 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
749 "recursion detected" >&2; \
750 elif test -n "$$redo_logs"; then \
751 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
753 if $(am__make_dryrun); then :; else \
755 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
756 for i in $$redo_bases; do \
757 test -f $$i.trs && test -r $$i.trs \
758 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
759 test -f $$i.log && test -r $$i.log \
760 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
762 test $$st -eq 0 || exit 1; \
764 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
766 results=`for b in $$bases; do echo $$b.trs; done`; \
767 test -n "$$results" || results=/dev/null; \
768 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
769 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
770 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
771 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
772 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
773 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
774 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
775 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
780 br='==================='; br=$$br$$br$$br$$br; \
783 if test x"$$1" = x"--maybe-color"; then \
784 maybe_colorize=yes; \
785 elif test x"$$1" = x"--no-color"; then \
788 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
791 desc=$$1 count=$$2; \
792 if test $$maybe_colorize = yes && test $$count -gt 0; then \
793 color_start=$$3 color_end=$$std; \
795 color_start= color_end=; \
797 echo "$${color_start}# $$desc $$count$${color_end}"; \
799 create_testsuite_report () \
801 result_count $$1 "TOTAL:" $$all "$$brg"; \
802 result_count $$1 "PASS: " $$pass "$$grn"; \
803 result_count $$1 "SKIP: " $$skip "$$blu"; \
804 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
805 result_count $$1 "FAIL: " $$fail "$$red"; \
806 result_count $$1 "XPASS:" $$xpass "$$red"; \
807 result_count $$1 "ERROR:" $$error "$$mgn"; \
810 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
812 create_testsuite_report --no-color; \
814 echo ".. contents:: :depth: 2"; \
816 for b in $$bases; do echo $$b; done \
817 | $(am__create_global_log); \
818 } >$(TEST_SUITE_LOG).tmp || exit 1; \
819 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
824 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
826 echo "$${col}$$br$${std}"; \
827 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
828 echo "$${col}$$br$${std}"; \
829 create_testsuite_report --maybe-color; \
830 echo "$$col$$br$$std"; \
831 if $$success; then :; else \
832 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
833 if test -n "$(PACKAGE_BUGREPORT)"; then \
834 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
836 echo "$$col$$br$$std"; \
841 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
842 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
843 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
844 @set +e; $(am__set_TESTS_bases); \
845 log_list=`for i in $$bases; do echo $$i.log; done`; \
846 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
847 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
848 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
851 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
852 @set +e; $(am__set_TESTS_bases); \
853 bases=`for i in $$bases; do echo $$i; done \
854 | $(am__list_recheck_tests)` || exit 1; \
855 log_list=`for i in $$bases; do echo $$i.log; done`; \
856 log_list=`echo $$log_list`; \
857 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
858 am__force_recheck=am--force-recheck \
859 TEST_LOGS="$$log_list"; \
864 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
865 --log-file $$b.log --trs-file $$b.trs \
866 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
867 "$$tst" $(AM_TESTS_FD_REDIRECT)
871 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
872 --log-file $$b.log --trs-file $$b.trs \
873 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
874 "$$tst" $(AM_TESTS_FD_REDIRECT)
875 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
876 @am__EXEEXT_TRUE@ @p='$<'; \
877 @am__EXEEXT_TRUE@ $(am__set_b); \
878 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
879 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
880 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
881 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
883 distdir: $(DISTFILES)
884 $(am__remove_distdir)
885 test -d "$(distdir)" || mkdir "$(distdir)"
886 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
887 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
888 list='$(DISTFILES)'; \
889 dist_files=`for file in $$list; do echo $$file; done | \
890 sed -e "s|^$$srcdirstrip/||;t" \
891 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
892 case $$dist_files in \
893 */*) $(MKDIR_P) `echo "$$dist_files" | \
894 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
897 for file in $$dist_files; do \
898 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
899 if test -d $$d/$$file; then \
900 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
901 if test -d "$(distdir)/$$file"; then \
902 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
904 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
905 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
906 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
908 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
910 test -f "$(distdir)/$$file" \
911 || cp -p $$d/$$file "$(distdir)/$$file" \
915 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
916 if test "$$subdir" = .; then :; else \
918 || test -d "$(distdir)/$$subdir" \
919 || $(MKDIR_P) "$(distdir)/$$subdir" \
921 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
923 new_distdir=$$reldir; \
924 dir1=$$subdir; dir2="$(top_distdir)"; \
926 new_top_distdir=$$reldir; \
927 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
928 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
929 ($(am__cd) $$subdir && \
930 $(MAKE) $(AM_MAKEFLAGS) \
931 top_distdir="$$new_top_distdir" \
932 distdir="$$new_distdir" \
933 am__remove_distdir=: \
934 am__skip_length_check=: \
935 am__skip_mode_fix=: \
940 -test -n "$(am__skip_mode_fix)" \
941 || find "$(distdir)" -type d ! -perm -755 \
942 -exec chmod u+rwx,go+rx {} \; -o \
943 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
944 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
945 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
946 || chmod -R a+r "$(distdir)"
948 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
949 $(am__post_remove_distdir)
951 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
952 $(am__post_remove_distdir)
955 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
956 $(am__post_remove_distdir)
959 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
960 $(am__post_remove_distdir)
963 @echo WARNING: "Support for distribution archives compressed with" \
964 "legacy program 'compress' is deprecated." >&2
965 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
966 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
967 $(am__post_remove_distdir)
970 @echo WARNING: "Support for shar distribution archives is" \
972 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
973 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
974 $(am__post_remove_distdir)
977 -rm -f $(distdir).zip
978 zip -rq $(distdir).zip $(distdir)
979 $(am__post_remove_distdir)
982 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
983 $(am__post_remove_distdir)
985 # This target untars the dist file and tries a VPATH configuration. Then
986 # it guarantees that the distribution is self-contained by making another
989 case '$(DIST_ARCHIVES)' in \
991 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
993 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
995 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
997 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
999 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1001 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1003 unzip $(distdir).zip ;;\
1005 chmod -R a-w $(distdir)
1006 chmod u+w $(distdir)
1007 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1008 chmod a-w $(distdir)
1009 test -d $(distdir)/_build || exit 0; \
1010 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1011 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1013 && $(am__cd) $(distdir)/_build/sub \
1014 && ../../configure \
1015 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1016 $(DISTCHECK_CONFIGURE_FLAGS) \
1017 --srcdir=../.. --prefix="$$dc_install_base" \
1018 && $(MAKE) $(AM_MAKEFLAGS) \
1019 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1020 && $(MAKE) $(AM_MAKEFLAGS) check \
1021 && $(MAKE) $(AM_MAKEFLAGS) install \
1022 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1023 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1024 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1025 distuninstallcheck \
1026 && chmod -R a-w "$$dc_install_base" \
1028 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1029 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1030 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1031 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1032 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1033 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1034 && rm -rf "$$dc_destdir" \
1035 && $(MAKE) $(AM_MAKEFLAGS) dist \
1036 && rm -rf $(DIST_ARCHIVES) \
1037 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1040 $(am__post_remove_distdir)
1041 @(echo "$(distdir) archives ready for distribution: "; \
1042 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1043 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1045 @test -n '$(distuninstallcheck_dir)' || { \
1046 echo 'ERROR: trying to run $@ with an empty' \
1047 '$$(distuninstallcheck_dir)' >&2; \
1050 $(am__cd) '$(distuninstallcheck_dir)' || { \
1051 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1054 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1055 || { echo "ERROR: files left after uninstall:" ; \
1056 if test -n "$(DESTDIR)"; then \
1057 echo " (check DESTDIR support)"; \
1059 $(distuninstallcheck_listfiles) ; \
1061 distcleancheck: distclean
1062 @if test '$(srcdir)' = . ; then \
1063 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1066 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1067 || { echo "ERROR: files left in build directory after distclean:" ; \
1068 $(distcleancheck_listfiles) ; \
1071 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1072 check: check-recursive
1073 all-am: Makefile config.h
1074 installdirs: installdirs-recursive
1076 install: install-recursive
1077 install-exec: install-exec-recursive
1078 install-data: install-data-recursive
1079 uninstall: uninstall-recursive
1082 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1084 installcheck: installcheck-recursive
1086 if test -z '$(STRIP)'; then \
1087 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1088 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1091 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1092 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1093 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1095 mostlyclean-generic:
1096 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1097 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1098 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1103 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1104 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1106 maintainer-clean-generic:
1107 @echo "This command is intended for maintainers to use"
1108 @echo "it deletes files that may require special tools to rebuild."
1109 clean: clean-recursive
1111 clean-am: clean-generic clean-libtool mostlyclean-am
1113 distclean: distclean-recursive
1114 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1116 distclean-am: clean-am distclean-generic distclean-hdr \
1117 distclean-libtool distclean-tags
1123 html: html-recursive
1127 info: info-recursive
1133 install-dvi: install-dvi-recursive
1139 install-html: install-html-recursive
1143 install-info: install-info-recursive
1149 install-pdf: install-pdf-recursive
1153 install-ps: install-ps-recursive
1159 maintainer-clean: maintainer-clean-recursive
1160 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1161 -rm -rf $(top_srcdir)/autom4te.cache
1163 maintainer-clean-am: distclean-am maintainer-clean-generic
1165 mostlyclean: mostlyclean-recursive
1167 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1179 .MAKE: $(am__recursive_targets) all check-am install-am install-strip
1181 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1182 am--refresh check check-TESTS check-am clean clean-cscope \
1183 clean-generic clean-libtool cscope cscopelist-am ctags \
1184 ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \
1185 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1186 distclean-generic distclean-hdr distclean-libtool \
1187 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1188 dvi-am html html-am info info-am install install-am \
1189 install-data install-data-am install-dvi install-dvi-am \
1190 install-exec install-exec-am install-html install-html-am \
1191 install-info install-info-am install-man install-pdf \
1192 install-pdf-am install-ps install-ps-am install-strip \
1193 installcheck installcheck-am installdirs installdirs-am \
1194 maintainer-clean maintainer-clean-generic mostlyclean \
1195 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1196 recheck tags tags-am uninstall uninstall-am
1203 # cppcheck should run clean
1205 cppcheck -Ilib --inline-suppr --template gcc --enable=all --suppress=unusedStructMember --suppress=unusedFunction --force lib/*.[ch] util/*.[ch]
1207 splint +quiet +posixlib $(SPLINT_SUPPRESSIONS) lib/*.[ch]
1209 # release using the shipper tool, if distcheck passes
1211 cd doc; make website
1212 shipper version=@VERSION@ | sh -e -x
1215 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1216 # Otherwise a system limit (for SysV at least) may be exceeded.