a7f6f293905f22ea3560a75c98c61064941fa8e4
[platform/upstream/libzip.git] / regress / Makefile.in
1 # Makefile.in generated by automake 1.15 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17
18
19 VPATH = @srcdir@
20 am__is_gnu_make = { \
21   if test -z '$(MAKELEVEL)'; then \
22     false; \
23   elif test -n '$(MAKE_HOST)'; then \
24     true; \
25   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26     true; \
27   else \
28     false; \
29   fi; \
30 }
31 am__make_running_with_option = \
32   case $${target_option-} in \
33       ?) ;; \
34       *) echo "am__make_running_with_option: internal error: invalid" \
35               "target option '$${target_option-}' specified" >&2; \
36          exit 1;; \
37   esac; \
38   has_opt=no; \
39   sane_makeflags=$$MAKEFLAGS; \
40   if $(am__is_gnu_make); then \
41     sane_makeflags=$$MFLAGS; \
42   else \
43     case $$MAKEFLAGS in \
44       *\\[\ \   ]*) \
45         bs=\\; \
46         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
48     esac; \
49   fi; \
50   skip_next=no; \
51   strip_trailopt () \
52   { \
53     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54   }; \
55   for flg in $$sane_makeflags; do \
56     test $$skip_next = yes && { skip_next=no; continue; }; \
57     case $$flg in \
58       *=*|--*) continue;; \
59         -*I) strip_trailopt 'I'; skip_next=yes;; \
60       -*I?*) strip_trailopt 'I';; \
61         -*O) strip_trailopt 'O'; skip_next=yes;; \
62       -*O?*) strip_trailopt 'O';; \
63         -*l) strip_trailopt 'l'; skip_next=yes;; \
64       -*l?*) strip_trailopt 'l';; \
65       -[dEDm]) skip_next=yes;; \
66       -[JT]) skip_next=yes;; \
67     esac; \
68     case $$flg in \
69       *$$target_option*) has_opt=yes; break;; \
70     esac; \
71   done; \
72   test $$has_opt = yes
73 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75 pkgdatadir = $(datadir)/@PACKAGE@
76 pkgincludedir = $(includedir)/@PACKAGE@
77 pkglibdir = $(libdir)/@PACKAGE@
78 pkglibexecdir = $(libexecdir)/@PACKAGE@
79 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80 install_sh_DATA = $(install_sh) -c -m 644
81 install_sh_PROGRAM = $(install_sh) -c
82 install_sh_SCRIPT = $(install_sh) -c
83 INSTALL_HEADER = $(INSTALL_DATA)
84 transform = $(program_transform_name)
85 NORMAL_INSTALL = :
86 PRE_INSTALL = :
87 POST_INSTALL = :
88 NORMAL_UNINSTALL = :
89 PRE_UNINSTALL = :
90 POST_UNINSTALL = :
91 build_triplet = @build@
92 host_triplet = @host@
93 noinst_PROGRAMS = add_from_filep$(EXEEXT) fopen_unchanged$(EXEEXT) \
94         fread$(EXEEXT) tryopen$(EXEEXT)
95 subdir = regress
96 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
97 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
98         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
99         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
100         $(top_srcdir)/m4/visibility.m4 $(top_srcdir)/configure.ac
101 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
102         $(ACLOCAL_M4)
103 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
104 mkinstalldirs = $(install_sh) -d
105 CONFIG_HEADER = $(top_builddir)/config.h
106 CONFIG_CLEAN_FILES =
107 CONFIG_CLEAN_VPATH_FILES =
108 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
109 am__vpath_adj = case $$p in \
110     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
111     *) f=$$p;; \
112   esac;
113 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
114 am__install_max = 40
115 am__nobase_strip_setup = \
116   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
117 am__nobase_strip = \
118   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
119 am__nobase_list = $(am__nobase_strip_setup); \
120   for p in $$list; do echo "$$p $$p"; done | \
121   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
122   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
123     if (++n[$$2] == $(am__install_max)) \
124       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
125     END { for (dir in files) print dir, files[dir] }'
126 am__base_list = \
127   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
128   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
129 am__uninstall_files_from_dir = { \
130   test -z "$$files" \
131     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
132     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
133          $(am__cd) "$$dir" && rm -f $$files; }; \
134   }
135 am__installdirs = "$(DESTDIR)$(pkglibdir)"
136 LTLIBRARIES = $(pkglib_LTLIBRARIES)
137 malloc_la_LIBADD =
138 am_malloc_la_OBJECTS = malloc.lo
139 malloc_la_OBJECTS = $(am_malloc_la_OBJECTS)
140 AM_V_lt = $(am__v_lt_@AM_V@)
141 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
142 am__v_lt_0 = --silent
143 am__v_lt_1 = 
144 malloc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
145         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
146         $(malloc_la_LDFLAGS) $(LDFLAGS) -o $@
147 PROGRAMS = $(noinst_PROGRAMS)
148 add_from_filep_SOURCES = add_from_filep.c
149 add_from_filep_OBJECTS = add_from_filep.$(OBJEXT)
150 add_from_filep_LDADD = $(LDADD)
151 add_from_filep_DEPENDENCIES = ${top_builddir}/lib/libzip.la
152 fopen_unchanged_SOURCES = fopen_unchanged.c
153 fopen_unchanged_OBJECTS = fopen_unchanged.$(OBJEXT)
154 fopen_unchanged_LDADD = $(LDADD)
155 fopen_unchanged_DEPENDENCIES = ${top_builddir}/lib/libzip.la
156 fread_SOURCES = fread.c
157 fread_OBJECTS = fread.$(OBJEXT)
158 fread_LDADD = $(LDADD)
159 fread_DEPENDENCIES = ${top_builddir}/lib/libzip.la
160 tryopen_SOURCES = tryopen.c
161 tryopen_OBJECTS = tryopen.$(OBJEXT)
162 tryopen_LDADD = $(LDADD)
163 tryopen_DEPENDENCIES = ${top_builddir}/lib/libzip.la
164 SCRIPTS = $(noinst_SCRIPTS)
165 AM_V_P = $(am__v_P_@AM_V@)
166 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
167 am__v_P_0 = false
168 am__v_P_1 = :
169 AM_V_GEN = $(am__v_GEN_@AM_V@)
170 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
171 am__v_GEN_0 = @echo "  GEN     " $@;
172 am__v_GEN_1 = 
173 AM_V_at = $(am__v_at_@AM_V@)
174 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
175 am__v_at_0 = @
176 am__v_at_1 = 
177 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
178 depcomp = $(SHELL) $(top_srcdir)/depcomp
179 am__depfiles_maybe = depfiles
180 am__mv = mv -f
181 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
182         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
183 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
184         $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
185         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
186         $(AM_CFLAGS) $(CFLAGS)
187 AM_V_CC = $(am__v_CC_@AM_V@)
188 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
189 am__v_CC_0 = @echo "  CC      " $@;
190 am__v_CC_1 = 
191 CCLD = $(CC)
192 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
193         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
194         $(AM_LDFLAGS) $(LDFLAGS) -o $@
195 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
196 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
197 am__v_CCLD_0 = @echo "  CCLD    " $@;
198 am__v_CCLD_1 = 
199 SOURCES = $(malloc_la_SOURCES) add_from_filep.c fopen_unchanged.c \
200         fread.c tryopen.c
201 DIST_SOURCES = $(malloc_la_SOURCES) add_from_filep.c fopen_unchanged.c \
202         fread.c tryopen.c
203 am__can_run_installinfo = \
204   case $$AM_UPDATE_INFO_DIR in \
205     n|no|NO) false;; \
206     *) (install-info --version) >/dev/null 2>&1;; \
207   esac
208 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
209 # Read a list of newline-separated strings from the standard input,
210 # and print each of them once, without duplicates.  Input order is
211 # *not* preserved.
212 am__uniquify_input = $(AWK) '\
213   BEGIN { nonempty = 0; } \
214   { items[$$0] = 1; nonempty = 1; } \
215   END { if (nonempty) { for (i in items) print i; }; } \
216 '
217 # Make sure the list of sources is unique.  This is necessary because,
218 # e.g., the same source file might be shared among _SOURCES variables
219 # for different programs/libraries.
220 am__define_uniq_tagged_files = \
221   list='$(am__tagged_files)'; \
222   unique=`for i in $$list; do \
223     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
224   done | $(am__uniquify_input)`
225 ETAGS = etags
226 CTAGS = ctags
227 am__tty_colors_dummy = \
228   mgn= red= grn= lgn= blu= brg= std=; \
229   am__color_tests=no
230 am__tty_colors = { \
231   $(am__tty_colors_dummy); \
232   if test "X$(AM_COLOR_TESTS)" = Xno; then \
233     am__color_tests=no; \
234   elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
235     am__color_tests=yes; \
236   elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
237     am__color_tests=yes; \
238   fi; \
239   if test $$am__color_tests = yes; then \
240     red='\e[0;31m'; \
241     grn='\e[0;32m'; \
242     lgn='\e[1;32m'; \
243     blu='\e[1;34m'; \
244     mgn='\e[0;35m'; \
245     brg='\e[1m'; \
246     std='\e[m'; \
247   fi; \
248 }
249 am__recheck_rx = ^[     ]*:recheck:[    ]*
250 am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
251 am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
252 # A command that, given a newline-separated list of test names on the
253 # standard input, print the name of the tests that are to be re-run
254 # upon "make recheck".
255 am__list_recheck_tests = $(AWK) '{ \
256   recheck = 1; \
257   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
258     { \
259       if (rc < 0) \
260         { \
261           if ((getline line2 < ($$0 ".log")) < 0) \
262             recheck = 0; \
263           break; \
264         } \
265       else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
266         { \
267           recheck = 0; \
268           break; \
269         } \
270       else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
271         { \
272           break; \
273         } \
274     }; \
275   if (recheck) \
276     print $$0; \
277   close ($$0 ".trs"); \
278   close ($$0 ".log"); \
279 }'
280 # A command that, given a newline-separated list of test names on the
281 # standard input, create the global log from their .trs and .log files.
282 am__create_global_log = $(AWK) ' \
283 function fatal(msg) \
284 { \
285   print "fatal: making $@: " msg | "cat >&2"; \
286   exit 1; \
287 } \
288 function rst_section(header) \
289 { \
290   print header; \
291   len = length(header); \
292   for (i = 1; i <= len; i = i + 1) \
293     printf "="; \
294   printf "\n\n"; \
295 } \
296 { \
297   copy_in_global_log = 1; \
298   global_test_result = "RUN"; \
299   while ((rc = (getline line < ($$0 ".trs"))) != 0) \
300     { \
301       if (rc < 0) \
302          fatal("failed to read from " $$0 ".trs"); \
303       if (line ~ /$(am__global_test_result_rx)/) \
304         { \
305           sub("$(am__global_test_result_rx)", "", line); \
306           sub("[        ]*$$", "", line); \
307           global_test_result = line; \
308         } \
309       else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
310         copy_in_global_log = 0; \
311     }; \
312   if (copy_in_global_log) \
313     { \
314       rst_section(global_test_result ": " $$0); \
315       while ((rc = (getline line < ($$0 ".log"))) != 0) \
316       { \
317         if (rc < 0) \
318           fatal("failed to read from " $$0 ".log"); \
319         print line; \
320       }; \
321       printf "\n"; \
322     }; \
323   close ($$0 ".trs"); \
324   close ($$0 ".log"); \
325 }'
326 # Restructured Text title.
327 am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
328 # Solaris 10 'make', and several other traditional 'make' implementations,
329 # pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
330 # by disabling -e (using the XSI extension "set +e") if it's set.
331 am__sh_e_setup = case $$- in *e*) set +e;; esac
332 # Default flags passed to test drivers.
333 am__common_driver_flags = \
334   --color-tests "$$am__color_tests" \
335   --enable-hard-errors "$$am__enable_hard_errors" \
336   --expect-failure "$$am__expect_failure"
337 # To be inserted before the command running the test.  Creates the
338 # directory for the log if needed.  Stores in $dir the directory
339 # containing $f, in $tst the test, in $log the log.  Executes the
340 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
341 # passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
342 # will run the test scripts (or their associated LOG_COMPILER, if
343 # thy have one).
344 am__check_pre = \
345 $(am__sh_e_setup);                                      \
346 $(am__vpath_adj_setup) $(am__vpath_adj)                 \
347 $(am__tty_colors);                                      \
348 srcdir=$(srcdir); export srcdir;                        \
349 case "$@" in                                            \
350   */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
351     *) am__odir=.;;                                     \
352 esac;                                                   \
353 test "x$$am__odir" = x"." || test -d "$$am__odir"       \
354   || $(MKDIR_P) "$$am__odir" || exit $$?;               \
355 if test -f "./$$f"; then dir=./;                        \
356 elif test -f "$$f"; then dir=;                          \
357 else dir="$(srcdir)/"; fi;                              \
358 tst=$$dir$$f; log='$@';                                 \
359 if test -n '$(DISABLE_HARD_ERRORS)'; then               \
360   am__enable_hard_errors=no;                            \
361 else                                                    \
362   am__enable_hard_errors=yes;                           \
363 fi;                                                     \
364 case " $(XFAIL_TESTS) " in                              \
365   *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
366     am__expect_failure=yes;;                            \
367   *)                                                    \
368     am__expect_failure=no;;                             \
369 esac;                                                   \
370 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
371 # A shell command to get the names of the tests scripts with any registered
372 # extension removed (i.e., equivalently, the names of the test logs, with
373 # the '.log' extension removed).  The result is saved in the shell variable
374 # '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
375 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
376 # since that might cause problem with VPATH rewrites for suffix-less tests.
377 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
378 am__set_TESTS_bases = \
379   bases='$(TEST_LOGS)'; \
380   bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
381   bases=`echo $$bases`
382 RECHECK_LOGS = $(TEST_LOGS)
383 AM_RECURSIVE_TARGETS = check recheck
384 TEST_SUITE_LOG = test-suite.log
385 am__test_logs1 = $(TESTS:=.log)
386 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
387 TEST_LOGS = $(am__test_logs2:.test.log=.log)
388 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
389 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
390         $(TEST_LOG_FLAGS)
391 am__set_b = \
392   case '$@' in \
393     */*) \
394       case '$*' in \
395         */*) b='$*';; \
396           *) b=`echo '$@' | sed 's/\.log$$//'`; \
397        esac;; \
398     *) \
399       b='$*';; \
400   esac
401 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
402         $(top_srcdir)/test-driver
403 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
404 ACLOCAL = @ACLOCAL@
405 AMTAR = @AMTAR@
406 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
407 AR = @AR@
408 AUTOCONF = @AUTOCONF@
409 AUTOHEADER = @AUTOHEADER@
410 AUTOMAKE = @AUTOMAKE@
411 AWK = @AWK@
412 CC = @CC@
413 CCDEPMODE = @CCDEPMODE@
414 CFLAGS = @CFLAGS@
415 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
416 CPP = @CPP@
417 CPPFLAGS = @CPPFLAGS@
418 CYGPATH_W = @CYGPATH_W@
419 DEFS = @DEFS@
420 DEPDIR = @DEPDIR@
421 DLLTOOL = @DLLTOOL@
422 DSYMUTIL = @DSYMUTIL@
423 DUMPBIN = @DUMPBIN@
424 ECHO_C = @ECHO_C@
425 ECHO_N = @ECHO_N@
426 ECHO_T = @ECHO_T@
427 EGREP = @EGREP@
428 EXEEXT = @EXEEXT@
429 FGREP = @FGREP@
430 GREP = @GREP@
431 HAVE_VISIBILITY = @HAVE_VISIBILITY@
432 INSTALL = @INSTALL@
433 INSTALL_DATA = @INSTALL_DATA@
434 INSTALL_PROGRAM = @INSTALL_PROGRAM@
435 INSTALL_SCRIPT = @INSTALL_SCRIPT@
436 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
437 LD = @LD@
438 LDFLAGS = @LDFLAGS@
439 LIBOBJS = @LIBOBJS@
440 LIBS = @LIBS@
441 LIBTOOL = @LIBTOOL@
442 LIPO = @LIPO@
443 LN_S = @LN_S@
444 LTLIBOBJS = @LTLIBOBJS@
445 MAKEINFO = @MAKEINFO@
446 MANFMT = @MANFMT@
447 MANIFEST_TOOL = @MANIFEST_TOOL@
448 MKDIR_P = @MKDIR_P@
449 NM = @NM@
450 NMEDIT = @NMEDIT@
451 OBJDUMP = @OBJDUMP@
452 OBJEXT = @OBJEXT@
453 OTOOL = @OTOOL@
454 OTOOL64 = @OTOOL64@
455 PACKAGE = @PACKAGE@
456 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
457 PACKAGE_NAME = @PACKAGE_NAME@
458 PACKAGE_STRING = @PACKAGE_STRING@
459 PACKAGE_TARNAME = @PACKAGE_TARNAME@
460 PACKAGE_URL = @PACKAGE_URL@
461 PACKAGE_VERSION = @PACKAGE_VERSION@
462 PATH_SEPARATOR = @PATH_SEPARATOR@
463 PKG_CONFIG_RPATH = @PKG_CONFIG_RPATH@
464 RANLIB = @RANLIB@
465 SED = @SED@
466 SET_MAKE = @SET_MAKE@
467 SHELL = @SHELL@
468 STRIP = @STRIP@
469 VERSION = @VERSION@
470 abs_builddir = @abs_builddir@
471 abs_srcdir = @abs_srcdir@
472 abs_top_builddir = @abs_top_builddir@
473 abs_top_srcdir = @abs_top_srcdir@
474 ac_ct_AR = @ac_ct_AR@
475 ac_ct_CC = @ac_ct_CC@
476 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
477 am__include = @am__include@
478 am__leading_dot = @am__leading_dot@
479 am__quote = @am__quote@
480 am__tar = @am__tar@
481 am__untar = @am__untar@
482 bindir = @bindir@
483 build = @build@
484 build_alias = @build_alias@
485 build_cpu = @build_cpu@
486 build_os = @build_os@
487 build_vendor = @build_vendor@
488 builddir = @builddir@
489 datadir = @datadir@
490 datarootdir = @datarootdir@
491 docdir = @docdir@
492 dvidir = @dvidir@
493 exec_prefix = @exec_prefix@
494 host = @host@
495 host_alias = @host_alias@
496 host_cpu = @host_cpu@
497 host_os = @host_os@
498 host_vendor = @host_vendor@
499 htmldir = @htmldir@
500 includedir = @includedir@
501 infodir = @infodir@
502 install_sh = @install_sh@
503 libdir = @libdir@
504 libexecdir = @libexecdir@
505 localedir = @localedir@
506 localstatedir = @localstatedir@
507 mandir = @mandir@
508 mkdir_p = @mkdir_p@
509 oldincludedir = @oldincludedir@
510 pdfdir = @pdfdir@
511 prefix = @prefix@
512 program_transform_name = @program_transform_name@
513 psdir = @psdir@
514 sbindir = @sbindir@
515 sharedstatedir = @sharedstatedir@
516 srcdir = @srcdir@
517 sysconfdir = @sysconfdir@
518 target_alias = @target_alias@
519 top_build_prefix = @top_build_prefix@
520 top_builddir = @top_builddir@
521 top_srcdir = @top_srcdir@
522 AUTOMAKE_OPTIONS = parallel-tests
523 noinst_SCRIPTS = runtest
524 pkglib_LTLIBRARIES = malloc.la
525 malloc_la_SOURCES = malloc.c
526 malloc_la_LDFLAGS = -module -avoid-version
527 EXTRA_DIST = \
528         CMakeLists.txt \
529         NiHTest.pm \
530         runtest.in \
531         ${TESTS} \
532         bigstored.zh \
533         bigzero-zip.zip \
534         bogus.zip \
535         broken.zip \
536         cm-default.zip \
537         encrypt-aes.zip \
538         encrypt.zip \
539         encrypt_plus_extra.zip \
540         encrypt_plus_extra_modified_c.zip \
541         encrypt_plus_extra_modified_l.zip \
542         extra_field_align_1-0.zip \
543         extra_field_align_1-ff.zip \
544         extra_field_align_2-0.zip \
545         extra_field_align_2-ff.zip \
546         extra_field_align_3-0.zip \
547         extra_field_align_3-ff.zip \
548         extra_field_align_4-ff.zip \
549         extra_field_align_1-ef_00.zip \
550         extra_field_align_1-ef_ff.zip \
551         extra_field_align_2-ef_00.zip \
552         extra_field_align_2-ef_ff.zip \
553         extra_field_align_3-ef_00.zip \
554         extra_field_align_3-ef_ff.zip \
555         filename_duplicate.zip \
556         filename_duplicate_empty.zip \
557         filename_empty.zip \
558         fileorder.zip \
559         firstsecond.zip \
560         firstsecond-split-deflated.zip \
561         firstsecond-split-stored.zip \
562         foo-stored.zip \
563         incons-archive-comment-longer.zip \
564         incons-archive-comment-shorter.zip \
565         incons-cdoffset.zip \
566         incons-central-compression-method.zip \
567         incons-central-compsize-larger-toolarge.zip \
568         incons-central-compsize-larger.zip \
569         incons-central-compsize-smaller.zip \
570         incons-central-crc.zip \
571         incons-central-date.zip \
572         incons-central-file-comment-longer.zip \
573         incons-central-file-comment-shorter.zip \
574         incons-central-magic-bad.zip \
575         incons-central-magic-bad2.zip \
576         incons-central-size-larger.zip \
577         incons-data.zip \
578         incons-ef-central-size-wrong.zip \
579         incons-ef-local-id-size.zip \
580         incons-ef-local-id.zip \
581         incons-ef-local-size.zip \
582         incons-eocd-magic-bad.zip \
583         incons-file-count-high.zip \
584         incons-file-count-low.zip \
585         incons-file-count-overflow.zip \
586         incons-local-compression-method.zip \
587         incons-local-compsize-larger.zip \
588         incons-local-compsize-smaller.zip \
589         incons-local-crc.zip \
590         incons-local-filename-long.zip \
591         incons-local-filename-missing.zip \
592         incons-local-filename-short.zip \
593         incons-local-filename.zip \
594         incons-local-magic-bad.zip \
595         incons-local-size-larger.zip \
596         large-uncompressable \
597         manyfiles-zip.zip \
598         multidisk.zip \
599         rename_ok.zip \
600         streamed.zip \
601         streamed-zip64.zip \
602         test.zip \
603         test2.zip \
604         test-cp437.zip \
605         test-cp437-comment-utf-8.zip \
606         test-cp437-fc.zip \
607         test-cp437-fc-utf-8-filename.zip \
608         test-utf8.zip \
609         test-utf8-unmarked.zip \
610         testbuffer.zip \
611         testdir.zip \
612         testchanged.zip \
613         testchangedlocal.zip \
614         testcomment.zip \
615         testcomment13.zip \
616         testcommentremoved.zip \
617         testdeflated.zip \
618         testdeflated2.zip \
619         testempty.zip \
620         testextrabytes.zip \
621         testfile.txt \
622         testfile.zip \
623         testfile-cp437.zip \
624         testfile-plus-extra.zip \
625         testfile-UTF8.zip \
626         testfile2014.zip \
627         teststdin.zip \
628         teststored.zip \
629         utf-8-standardization-input.zip \
630         utf-8-standardization-output.zip \
631         zip-in-archive-comment.zip \
632         zip64.zip \
633         zip64-3mf.zip
634
635 TESTS_ENVIRONMENT = ZIPCMP=${top_builddir}/src/zipcmp
636 # ${srcdir}/runtest
637 #LOG_COMPILER=  ${srcdir}/runtest
638 TEST_EXTENSIONS = .test
639 TEST_LOG_COMPILER = ${builddir}/runtest
640 #AM_TEST_LOG_FLAGS = -s
641 TESTS = \
642         add_dir.test \
643         add_from_buffer.test \
644         add_from_file.test \
645         add_from_file_duplicate.test \
646         add_from_file_twice_duplicate.test \
647         add_from_filep.test \
648         add_from_stdin.test \
649         add_from_zip_closed.test \
650         add_from_zip_deflated.test \
651         add_from_zip_deflated2.test \
652         add_from_zip_partial_deflated.test \
653         add_from_zip_partial_stored.test \
654         add_from_zip_stored.test \
655         add_stored.test \
656         add_stored_in_memory.test \
657         count_entries.test \
658         decrypt-aes-correct-password.test \
659         decrypt-aes-wrong-password.test \
660         decrypt-correct-password.test \
661         decrypt-wrong-password.test \
662         delete_add_same.test \
663         delete_invalid.test \
664         delete_last.test \
665         delete_multiple_last.test \
666         delete_multiple_partial.test \
667         delete_renamed_rename.test \
668         encrypt.test \
669         extra_add.test \
670         extra_add_multiple.test \
671         extra_count.test \
672         extra_count_by_id.test \
673         extra_count_ignore_zip64.test \
674         extra_delete.test \
675         extra_delete_by_id.test \
676         extra_field_align.test \
677         extra_get.test \
678         extra_get_by_id.test \
679         extra_set.test \
680         extra_set_modify_c.test \
681         extra_set_modify_l.test \
682         file_comment_encmismatch.test \
683         fopen_unchanged.test \
684         fread.test \
685         get_comment.test \
686         name_locate.test \
687         open_cons_extrabytes.test \
688         open_empty.test \
689         open_empty_2.test \
690         open_extrabytes.test \
691         open_file_count.test \
692         open_filename_duplicate.test \
693         open_filename_duplicate_consistency.test \
694         open_filename_duplicate_empty.test \
695         open_filename_duplicate_empty_consistency.test \
696         open_filename_empty.test \
697         open_incons.test \
698         open_many_ok.test \
699         open_multidisk.test \
700         open_new_but_exists.test \
701         open_new_ok.test \
702         open_nonarchive.test \
703         open_nosuchfile.test \
704         open_ok.test \
705         open_too_short.test \
706         open_truncate.test \
707         open_zip64_3mf.test \
708         open_zip64_ok.test \
709         rename_ascii.test \
710         rename_cp437.test \
711         rename_deleted.test \
712         rename_fail.test \
713         rename_ok.test \
714         rename_utf8.test \
715         rename_utf8_encmismatch.test \
716         set_comment_all.test \
717         set_comment_localonly.test \
718         set_comment_removeglobal.test \
719         set_comment_revert.test \
720         set_compression_deflate_to_deflate.test \
721         set_compression_deflate_to_store.test \
722         set_compression_store_to_deflate.test \
723         set_compression_store_to_store.test \
724         set_compression_unknown.test \
725         stat_index_cp437_guess.test \
726         stat_index_cp437_raw.test \
727         stat_index_cp437_strict.test \
728         stat_index_fileorder.test \
729         stat_index_streamed.test \
730         stat_index_streamed_zip64.test \
731         stat_index_utf8_guess.test \
732         stat_index_utf8_raw.test \
733         stat_index_utf8_strict.test \
734         stat_index_utf8_unmarked_strict.test \
735         stat_index_zip64.test \
736         utf-8-standardization.test \
737         zip-in-archive-comment.test \
738         zip64_creation.test \
739         zip64_stored_creation.test
740
741
742 #XFAIL_TESTS=
743 AM_CPPFLAGS = -I${top_srcdir}/lib -I../lib -I${top_srcdir}/src
744 LDADD = ${top_builddir}/lib/libzip.la
745 CLEANFILES = bigzero.zip manyfiles.zip runtest
746 all: all-am
747
748 .SUFFIXES:
749 .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
750 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
751         @for dep in $?; do \
752           case '$(am__configure_deps)' in \
753             *$$dep*) \
754               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
755                 && { if test -f $@; then exit 0; else break; fi; }; \
756               exit 1;; \
757           esac; \
758         done; \
759         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign regress/Makefile'; \
760         $(am__cd) $(top_srcdir) && \
761           $(AUTOMAKE) --foreign regress/Makefile
762 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
763         @case '$?' in \
764           *config.status*) \
765             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
766           *) \
767             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
768             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
769         esac;
770
771 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
772         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
773
774 $(top_srcdir)/configure:  $(am__configure_deps)
775         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
776 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
777         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
778 $(am__aclocal_m4_deps):
779
780 uninstall-pkglibLTLIBRARIES:
781         @$(NORMAL_UNINSTALL)
782         @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
783         for p in $$list; do \
784           $(am__strip_dir) \
785           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
786           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
787         done
788
789 clean-pkglibLTLIBRARIES:
790         -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
791         @list='$(pkglib_LTLIBRARIES)'; \
792         locs=`for p in $$list; do echo $$p; done | \
793               sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
794               sort -u`; \
795         test -z "$$locs" || { \
796           echo rm -f $${locs}; \
797           rm -f $${locs}; \
798         }
799
800 malloc.la: $(malloc_la_OBJECTS) $(malloc_la_DEPENDENCIES) $(EXTRA_malloc_la_DEPENDENCIES) 
801         $(AM_V_CCLD)$(malloc_la_LINK) -rpath $(pkglibdir) $(malloc_la_OBJECTS) $(malloc_la_LIBADD) $(LIBS)
802
803 clean-noinstPROGRAMS:
804         @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
805         echo " rm -f" $$list; \
806         rm -f $$list || exit $$?; \
807         test -n "$(EXEEXT)" || exit 0; \
808         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
809         echo " rm -f" $$list; \
810         rm -f $$list
811
812 add_from_filep$(EXEEXT): $(add_from_filep_OBJECTS) $(add_from_filep_DEPENDENCIES) $(EXTRA_add_from_filep_DEPENDENCIES) 
813         @rm -f add_from_filep$(EXEEXT)
814         $(AM_V_CCLD)$(LINK) $(add_from_filep_OBJECTS) $(add_from_filep_LDADD) $(LIBS)
815
816 fopen_unchanged$(EXEEXT): $(fopen_unchanged_OBJECTS) $(fopen_unchanged_DEPENDENCIES) $(EXTRA_fopen_unchanged_DEPENDENCIES) 
817         @rm -f fopen_unchanged$(EXEEXT)
818         $(AM_V_CCLD)$(LINK) $(fopen_unchanged_OBJECTS) $(fopen_unchanged_LDADD) $(LIBS)
819
820 fread$(EXEEXT): $(fread_OBJECTS) $(fread_DEPENDENCIES) $(EXTRA_fread_DEPENDENCIES) 
821         @rm -f fread$(EXEEXT)
822         $(AM_V_CCLD)$(LINK) $(fread_OBJECTS) $(fread_LDADD) $(LIBS)
823
824 tryopen$(EXEEXT): $(tryopen_OBJECTS) $(tryopen_DEPENDENCIES) $(EXTRA_tryopen_DEPENDENCIES) 
825         @rm -f tryopen$(EXEEXT)
826         $(AM_V_CCLD)$(LINK) $(tryopen_OBJECTS) $(tryopen_LDADD) $(LIBS)
827
828 mostlyclean-compile:
829         -rm -f *.$(OBJEXT)
830
831 distclean-compile:
832         -rm -f *.tab.c
833
834 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/add_from_filep.Po@am__quote@
835 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fopen_unchanged.Po@am__quote@
836 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fread.Po@am__quote@
837 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/malloc.Plo@am__quote@
838 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tryopen.Po@am__quote@
839
840 .c.o:
841 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
842 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
843 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
844 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
845 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
846
847 .c.obj:
848 @am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
849 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
850 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
851 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
852 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
853
854 .c.lo:
855 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
856 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
857 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
858 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
859 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
860
861 mostlyclean-libtool:
862         -rm -f *.lo
863
864 clean-libtool:
865         -rm -rf .libs _libs
866
867 ID: $(am__tagged_files)
868         $(am__define_uniq_tagged_files); mkid -fID $$unique
869 tags: tags-am
870 TAGS: tags
871
872 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
873         set x; \
874         here=`pwd`; \
875         $(am__define_uniq_tagged_files); \
876         shift; \
877         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
878           test -n "$$unique" || unique=$$empty_fix; \
879           if test $$# -gt 0; then \
880             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
881               "$$@" $$unique; \
882           else \
883             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
884               $$unique; \
885           fi; \
886         fi
887 ctags: ctags-am
888
889 CTAGS: ctags
890 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
891         $(am__define_uniq_tagged_files); \
892         test -z "$(CTAGS_ARGS)$$unique" \
893           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
894              $$unique
895
896 GTAGS:
897         here=`$(am__cd) $(top_builddir) && pwd` \
898           && $(am__cd) $(top_srcdir) \
899           && gtags -i $(GTAGS_ARGS) "$$here"
900 cscopelist: cscopelist-am
901
902 cscopelist-am: $(am__tagged_files)
903         list='$(am__tagged_files)'; \
904         case "$(srcdir)" in \
905           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
906           *) sdir=$(subdir)/$(srcdir) ;; \
907         esac; \
908         for i in $$list; do \
909           if test -f "$$i"; then \
910             echo "$(subdir)/$$i"; \
911           else \
912             echo "$$sdir/$$i"; \
913           fi; \
914         done >> $(top_builddir)/cscope.files
915
916 distclean-tags:
917         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
918
919 # Recover from deleted '.trs' file; this should ensure that
920 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
921 # both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
922 # to avoid problems with "make -n".
923 .log.trs:
924         rm -f $< $@
925         $(MAKE) $(AM_MAKEFLAGS) $<
926
927 # Leading 'am--fnord' is there to ensure the list of targets does not
928 # expand to empty, as could happen e.g. with make check TESTS=''.
929 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
930 am--force-recheck:
931         @:
932
933 $(TEST_SUITE_LOG): $(TEST_LOGS)
934         @$(am__set_TESTS_bases); \
935         am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
936         redo_bases=`for i in $$bases; do \
937                       am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
938                     done`; \
939         if test -n "$$redo_bases"; then \
940           redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
941           redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
942           if $(am__make_dryrun); then :; else \
943             rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
944           fi; \
945         fi; \
946         if test -n "$$am__remaking_logs"; then \
947           echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
948                "recursion detected" >&2; \
949         elif test -n "$$redo_logs"; then \
950           am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
951         fi; \
952         if $(am__make_dryrun); then :; else \
953           st=0;  \
954           errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
955           for i in $$redo_bases; do \
956             test -f $$i.trs && test -r $$i.trs \
957               || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
958             test -f $$i.log && test -r $$i.log \
959               || { echo "$$errmsg $$i.log" >&2; st=1; }; \
960           done; \
961           test $$st -eq 0 || exit 1; \
962         fi
963         @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
964         ws='[   ]'; \
965         results=`for b in $$bases; do echo $$b.trs; done`; \
966         test -n "$$results" || results=/dev/null; \
967         all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
968         pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
969         fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
970         skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
971         xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
972         xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
973         error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
974         if test `expr $$fail + $$xpass + $$error` -eq 0; then \
975           success=true; \
976         else \
977           success=false; \
978         fi; \
979         br='==================='; br=$$br$$br$$br$$br; \
980         result_count () \
981         { \
982             if test x"$$1" = x"--maybe-color"; then \
983               maybe_colorize=yes; \
984             elif test x"$$1" = x"--no-color"; then \
985               maybe_colorize=no; \
986             else \
987               echo "$@: invalid 'result_count' usage" >&2; exit 4; \
988             fi; \
989             shift; \
990             desc=$$1 count=$$2; \
991             if test $$maybe_colorize = yes && test $$count -gt 0; then \
992               color_start=$$3 color_end=$$std; \
993             else \
994               color_start= color_end=; \
995             fi; \
996             echo "$${color_start}# $$desc $$count$${color_end}"; \
997         }; \
998         create_testsuite_report () \
999         { \
1000           result_count $$1 "TOTAL:" $$all   "$$brg"; \
1001           result_count $$1 "PASS: " $$pass  "$$grn"; \
1002           result_count $$1 "SKIP: " $$skip  "$$blu"; \
1003           result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1004           result_count $$1 "FAIL: " $$fail  "$$red"; \
1005           result_count $$1 "XPASS:" $$xpass "$$red"; \
1006           result_count $$1 "ERROR:" $$error "$$mgn"; \
1007         }; \
1008         {                                                               \
1009           echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
1010             $(am__rst_title);                                           \
1011           create_testsuite_report --no-color;                           \
1012           echo;                                                         \
1013           echo ".. contents:: :depth: 2";                               \
1014           echo;                                                         \
1015           for b in $$bases; do echo $$b; done                           \
1016             | $(am__create_global_log);                                 \
1017         } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
1018         mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
1019         if $$success; then                                              \
1020           col="$$grn";                                                  \
1021          else                                                           \
1022           col="$$red";                                                  \
1023           test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
1024         fi;                                                             \
1025         echo "$${col}$$br$${std}";                                      \
1026         echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
1027         echo "$${col}$$br$${std}";                                      \
1028         create_testsuite_report --maybe-color;                          \
1029         echo "$$col$$br$$std";                                          \
1030         if $$success; then :; else                                      \
1031           echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
1032           if test -n "$(PACKAGE_BUGREPORT)"; then                       \
1033             echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1034           fi;                                                           \
1035           echo "$$col$$br$$std";                                        \
1036         fi;                                                             \
1037         $$success || exit 1
1038
1039 check-TESTS:
1040         @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
1041         @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1042         @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1043         @set +e; $(am__set_TESTS_bases); \
1044         log_list=`for i in $$bases; do echo $$i.log; done`; \
1045         trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1046         log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1047         $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1048         exit $$?;
1049 recheck: all 
1050         @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1051         @set +e; $(am__set_TESTS_bases); \
1052         bases=`for i in $$bases; do echo $$i; done \
1053                  | $(am__list_recheck_tests)` || exit 1; \
1054         log_list=`for i in $$bases; do echo $$i.log; done`; \
1055         log_list=`echo $$log_list`; \
1056         $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1057                 am__force_recheck=am--force-recheck \
1058                 TEST_LOGS="$$log_list"; \
1059         exit $$?
1060 .test.log:
1061         @p='$<'; \
1062         $(am__set_b); \
1063         $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1064         --log-file $$b.log --trs-file $$b.trs \
1065         $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1066         "$$tst" $(AM_TESTS_FD_REDIRECT)
1067 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
1068 @am__EXEEXT_TRUE@       @p='$<'; \
1069 @am__EXEEXT_TRUE@       $(am__set_b); \
1070 @am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1071 @am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
1072 @am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1073 @am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
1074
1075 distdir: $(DISTFILES)
1076         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1077         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1078         list='$(DISTFILES)'; \
1079           dist_files=`for file in $$list; do echo $$file; done | \
1080           sed -e "s|^$$srcdirstrip/||;t" \
1081               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1082         case $$dist_files in \
1083           */*) $(MKDIR_P) `echo "$$dist_files" | \
1084                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1085                            sort -u` ;; \
1086         esac; \
1087         for file in $$dist_files; do \
1088           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1089           if test -d $$d/$$file; then \
1090             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1091             if test -d "$(distdir)/$$file"; then \
1092               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1093             fi; \
1094             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1095               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1096               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1097             fi; \
1098             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1099           else \
1100             test -f "$(distdir)/$$file" \
1101             || cp -p $$d/$$file "$(distdir)/$$file" \
1102             || exit 1; \
1103           fi; \
1104         done
1105 check-am: all-am
1106         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1107 check: check-am
1108 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
1109 installdirs:
1110         for dir in "$(DESTDIR)$(pkglibdir)"; do \
1111           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1112         done
1113 install: install-am
1114 install-exec: install-exec-am
1115 install-data: install-data-am
1116 uninstall: uninstall-am
1117
1118 install-am: all-am
1119         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1120
1121 installcheck: installcheck-am
1122 install-strip:
1123         if test -z '$(STRIP)'; then \
1124           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1125             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1126               install; \
1127         else \
1128           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1129             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1130             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1131         fi
1132 mostlyclean-generic:
1133         -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1134         -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1135         -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1136
1137 clean-generic:
1138         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1139
1140 distclean-generic:
1141         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1142         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1143
1144 maintainer-clean-generic:
1145         @echo "This command is intended for maintainers to use"
1146         @echo "it deletes files that may require special tools to rebuild."
1147 clean: clean-am
1148
1149 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
1150         clean-pkglibLTLIBRARIES mostlyclean-am
1151
1152 distclean: distclean-am
1153         -rm -rf ./$(DEPDIR)
1154         -rm -f Makefile
1155 distclean-am: clean-am distclean-compile distclean-generic \
1156         distclean-tags
1157
1158 dvi: dvi-am
1159
1160 dvi-am:
1161
1162 html: html-am
1163
1164 html-am:
1165
1166 info: info-am
1167
1168 info-am:
1169
1170 install-data-am:
1171
1172 install-dvi: install-dvi-am
1173
1174 install-dvi-am:
1175
1176 install-exec-am: install-pkglibLTLIBRARIES
1177
1178 install-html: install-html-am
1179
1180 install-html-am:
1181
1182 install-info: install-info-am
1183
1184 install-info-am:
1185
1186 install-man:
1187
1188 install-pdf: install-pdf-am
1189
1190 install-pdf-am:
1191
1192 install-ps: install-ps-am
1193
1194 install-ps-am:
1195
1196 installcheck-am:
1197
1198 maintainer-clean: maintainer-clean-am
1199         -rm -rf ./$(DEPDIR)
1200         -rm -f Makefile
1201 maintainer-clean-am: distclean-am maintainer-clean-generic
1202
1203 mostlyclean: mostlyclean-am
1204
1205 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1206         mostlyclean-libtool
1207
1208 pdf: pdf-am
1209
1210 pdf-am:
1211
1212 ps: ps-am
1213
1214 ps-am:
1215
1216 uninstall-am: uninstall-pkglibLTLIBRARIES
1217
1218 .MAKE: check-am install-am install-strip
1219
1220 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1221         clean-generic clean-libtool clean-noinstPROGRAMS \
1222         clean-pkglibLTLIBRARIES cscopelist-am ctags ctags-am distclean \
1223         distclean-compile distclean-generic distclean-libtool \
1224         distclean-tags distdir dvi dvi-am html html-am info info-am \
1225         install install-am install-data install-data-am install-dvi \
1226         install-dvi-am install-exec install-exec-am install-html \
1227         install-html-am install-info install-info-am install-man \
1228         install-pdf install-pdf-am install-pkglibLTLIBRARIES \
1229         install-ps install-ps-am install-strip installcheck \
1230         installcheck-am installdirs maintainer-clean \
1231         maintainer-clean-generic mostlyclean mostlyclean-compile \
1232         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1233         recheck tags tags-am uninstall uninstall-am \
1234         uninstall-pkglibLTLIBRARIES
1235
1236 .PRECIOUS: Makefile
1237
1238
1239 install-pkglibLTLIBRARIES:
1240         @echo not installing shared objects needed only for testing
1241
1242 check-am: bigzero.zip manyfiles.zip runtest
1243
1244 bigzero.zip: bigzero-zip.zip
1245         ${top_builddir}/src/ziptool ${srcdir}/bigzero-zip.zip cat 0 > ${builddir}/bigzero.zip
1246
1247 manyfiles.zip: manyfiles-zip.zip
1248         ${top_builddir}/src/ziptool ${srcdir}/manyfiles-zip.zip cat 0 > ${builddir}/manyfiles.zip
1249
1250 runtest: runtest.in
1251         sed -e 's!@[s]rcdir@!${srcdir}!g' -e 's!@[a]bs_srcdir@!${abs_srcdir}!g' ${srcdir}/runtest.in > runtest
1252         chmod +x runtest
1253
1254 cleanup:
1255         rm -rf ${builddir}/sandbox-*.d[0-9]*/
1256
1257 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1258 # Otherwise a system limit (for SysV at least) may be exceeded.
1259 .NOEXPORT: