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
19 pkgdatadir
= $(datadir)/@PACKAGE@
20 pkgincludedir
= $(includedir)/@PACKAGE@
21 pkglibdir
= $(libdir)/@PACKAGE@
22 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
23 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA
= $(install_sh
) -c
-m
644
25 install_sh_PROGRAM
= $(install_sh
) -c
26 install_sh_SCRIPT
= $(install_sh
) -c
27 INSTALL_HEADER
= $(INSTALL_DATA
)
28 transform
= $(program_transform_name
)
35 build_triplet
= @build@
37 target_triplet
= @target@
38 noinst_PROGRAMS
= zzipself
$(EXEEXT
) zzipsetstub
$(EXEEXT
)
40 DIST_COMMON
= README
$(srcdir)/Makefile.am
$(srcdir)/Makefile.in
41 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
42 am__aclocal_m4_deps
= $(top_srcdir
)/m4
/ac_compile_check_sizeof.m4 \
43 $(top_srcdir
)/m4
/ac_set_default_paths_system.m4 \
44 $(top_srcdir
)/m4
/ac_sys_largefile_sensitive.m4 \
45 $(top_srcdir
)/m4
/acx_restrict.m4 \
46 $(top_srcdir
)/m4
/ax_cflags_gcc_option.m4 \
47 $(top_srcdir
)/m4
/ax_cflags_no_writable_strings.m4 \
48 $(top_srcdir
)/m4
/ax_cflags_strict_prototypes.m4 \
49 $(top_srcdir
)/m4
/ax_cflags_warn_all.m4 \
50 $(top_srcdir
)/m4
/ax_check_aligned_access_required.m4 \
51 $(top_srcdir
)/m4
/ax_configure_args.m4 \
52 $(top_srcdir
)/m4
/ax_create_pkgconfig_info.m4 \
53 $(top_srcdir
)/m4
/ax_enable_builddir_uname.m4 \
54 $(top_srcdir
)/m4
/ax_expand_prefix.m4 \
55 $(top_srcdir
)/m4
/ax_maintainer_mode_auto_silent.m4 \
56 $(top_srcdir
)/m4
/ax_not_enable_frame_pointer.m4 \
57 $(top_srcdir
)/m4
/ax_pax_tar.m4 \
58 $(top_srcdir
)/m4
/ax_prefix_config_h.m4 \
59 $(top_srcdir
)/m4
/ax_set_version_info.m4 \
60 $(top_srcdir
)/m4
/ax_spec_file.m4 \
61 $(top_srcdir
)/m4
/ax_spec_package_version.m4 \
62 $(top_srcdir
)/m4
/ax_warning_default_aclocaldir.m4 \
63 $(top_srcdir
)/m4
/ax_warning_default_pkgconfig.m4 \
64 $(top_srcdir
)/m4
/libtool.m4
$(top_srcdir
)/m4
/ltoptions.m4 \
65 $(top_srcdir
)/m4
/ltsugar.m4
$(top_srcdir
)/m4
/ltversion.m4 \
66 $(top_srcdir
)/m4
/lt~obsolete.m4 \
67 $(top_srcdir
)/m4
/patch_libtool_on_darwin_zsh_overquoting.m4 \
68 $(top_srcdir
)/m4
/patch_libtool_sys_lib_search_path_spec.m4 \
69 $(top_srcdir
)/m4
/patch_libtool_to_add_host_cc.m4 \
70 $(top_srcdir
)/configure.ac
71 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
73 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/uses
/mkinstalldirs
74 CONFIG_HEADER
= $(top_builddir
)/config.h
76 CONFIG_CLEAN_VPATH_FILES
=
77 PROGRAMS
= $(noinst_PROGRAMS
)
78 zzipself_SOURCES
= zzipself.c
79 zzipself_OBJECTS
= zzipself.
$(OBJEXT
)
80 zzipself_DEPENDENCIES
= ..
/zzip
/libzzip.la
81 zzipself_LINK
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
82 --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) $(zzipself_LDFLAGS
) \
84 zzipsetstub_SOURCES
= zzipsetstub.c
85 zzipsetstub_OBJECTS
= zzipsetstub.
$(OBJEXT
)
86 zzipsetstub_LDADD
= $(LDADD
)
87 depcomp
= $(SHELL
) $(top_srcdir
)/uses
/depcomp
88 am__depfiles_maybe
= depfiles
90 COMPILE
= $(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) $(AM_CPPFLAGS
) \
91 $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
92 LTCOMPILE
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
93 --mode
=compile
$(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) \
94 $(AM_CPPFLAGS
) $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
96 LINK
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
97 --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) $(AM_LDFLAGS
) \
99 SOURCES
= zzipself.c zzipsetstub.c
100 DIST_SOURCES
= zzipself.c zzipsetstub.c
103 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
108 AUTOCONF
= @AUTOCONF@
109 AUTOHEADER
= @AUTOHEADER@
110 AUTOMAKE
= @AUTOMAKE@
113 CCDEPMODE
= @CCDEPMODE@
115 CONFIG_FILES
= @CONFIG_FILES@
117 CPPFLAGS
= @CPPFLAGS@
118 CYGPATH_W
= @CYGPATH_W@
119 DEFS
= @DEFS@
-I
$(top_builddir
) -I
$(top_srcdir
) # also for automake 1.4
122 DSYMUTIL
= @DSYMUTIL@
134 INSTALL_DATA
= @INSTALL_DATA@
135 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
136 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
137 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
138 LARGEFILE_CFLAGS
= @LARGEFILE_CFLAGS@
146 LTLIBOBJS
= @LTLIBOBJS@
148 MAKEINFO
= @MAKEINFO@
158 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
159 PACKAGE_NAME
= @PACKAGE_NAME@
160 PACKAGE_STRING
= @PACKAGE_STRING@
161 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
162 PACKAGE_URL
= @PACKAGE_URL@
163 PACKAGE_VERSION
= @PACKAGE_VERSION@
164 PATH_SEPARATOR
= @PATH_SEPARATOR@
166 PAX_TAR_CREATE
= @PAX_TAR_CREATE@
167 PAX_TAR_EXTRACT
= @PAX_TAR_EXTRACT@
169 PKG_CONFIG
= @PKG_CONFIG@
172 RELEASE_INFO
= @RELEASE_INFO@
173 RESOLVES
= @RESOLVES@
175 SDL_GENERATE
= @SDL_GENERATE@
177 SET_MAKE
= @SET_MAKE@
181 THREAD_SAFE
= @THREAD_SAFE@
183 VERSION_INFO
= @VERSION_INFO@
185 ZIPTESTS
= @ZIPTESTS@
186 ZLIB_INCL
= @ZLIB_INCL@
187 ZLIB_LDIR
= @ZLIB_LDIR@
188 ZLIB_VERSION
= @ZLIB_VERSION@
189 ZZIPLIB_LDFLAGS
= @ZZIPLIB_LDFLAGS@
190 abs_builddir
= @abs_builddir@
191 abs_srcdir
= @abs_srcdir@
192 abs_top_builddir
= @abs_top_builddir@
193 abs_top_srcdir
= @abs_top_srcdir@
194 ac_ct_CC
= @ac_ct_CC@
195 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
196 aclocaldir
= @aclocaldir@
197 am__include
= @am__include@
198 am__leading_dot
= @am__leading_dot@
199 am__quote
= @am__quote@
201 am__untar
= @am__untar@
202 ax_enable_builddir_sed
= @ax_enable_builddir_sed@
205 build_alias
= @build_alias@
206 build_cpu
= @build_cpu@
207 build_os
= @build_os@
208 build_vendor
= @build_vendor@
209 builddir
= @builddir@
211 datarootdir
= @datarootdir@
214 exec_prefix = @
exec_prefix@
216 host_alias
= @host_alias@
217 host_cpu
= @host_cpu@
219 host_vendor
= @host_vendor@
221 includedir = @
includedir@
223 install_sh
= @install_sh@
225 libexecdir
= @libexecdir@
226 localedir
= @localedir@
227 localstatedir
= @localstatedir@
231 oldincludedir = @
oldincludedir@
233 pkgconfig_libdir
= @pkgconfig_libdir@
234 pkgconfig_libfile
= @pkgconfig_libfile@
235 pkgconfigdir
= @pkgconfigdir@
237 program_transform_name
= @program_transform_name@
240 sharedstatedir
= @sharedstatedir@
242 sysconfdir
= @sysconfdir@
244 target_alias
= @target_alias@
245 target_cpu
= @target_cpu@
246 target_os
= @target_os@
247 target_vendor
= @target_vendor@
248 top_build_prefix
= @top_build_prefix@
249 top_builddir
= @top_builddir@
250 top_srcdir
= @top_srcdir@
251 AUTOMAKE_OPTIONS
= 1.4 foreign
252 AUTOTOOL_VERSION
= autoconf-2.52 automake-1.5 libtool-1.4
.2
253 DEFAULT_INCLUDES
= # nothing - no default of -I. -I$(srcdir)
254 EXTRA_DIST
= test.zip test1.zip
255 DISTCLEANFILES
= test*.dat test2.zip test3.zip
256 zzcat
= ..
/bins
/zzcat
$(EXEEXT
)
257 zzdir
= ..
/bins
/zzdir
$(EXEEXT
)
258 zziptest
= ..
/bins
/zziptest
$(EXEEXT
)
259 zzxorcat
= ..
/bins
/zzxorcat
$(EXEEXT
)
260 zzxordir
= ..
/bins
/zzxordir
$(EXEEXT
)
261 zzxorcopy
= ..
/bins
/zzxorcopy
$(EXEEXT
)
263 # -------------------------------------------------------------------
265 README
= $(top_srcdir
)/README
266 testdatadir
= $(top_builddir
)/testdata.d
268 # -------------------------------------------------------------------
269 stdtests
= @ZIPTESTS@ check-test0 check-test1 check-zzdir check-zzcat
270 xortests
= @ZIPTESTS@ check-zzxor check-zzxordir check-zzxorcat
271 sfxtests
= @ZIPTESTS@ check-sfx
273 # -------------------------------------------------------------------
275 BRUTE
= 0 # default is less than a thousand tests
276 zzipself_LDFLAGS
= @ZZIPLIB_LDFLAGS@
277 zzipself_LDADD
= ..
/zzip
/libzzip.la @RESOLVES@
-lz
281 .SUFFIXES
: .c .lo .o .obj
282 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(am__configure_deps
)
284 case
'$(am__configure_deps)' in \
286 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
287 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
291 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
292 $(am__cd
) $(top_srcdir
) && \
293 $(AUTOMAKE
) --foreign
test/Makefile
295 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
298 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
300 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
301 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
304 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
305 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
307 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
308 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
309 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
310 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
311 $(am__aclocal_m4_deps
):
313 clean-noinstPROGRAMS
:
314 @list
='$(noinst_PROGRAMS)'; test -n
"$$list" || exit
0; \
315 echo
" rm -f" $$list; \
316 rm -f
$$list || exit
$$?
; \
317 test -n
"$(EXEEXT)" || exit
0; \
318 list
=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
319 echo
" rm -f" $$list; \
321 zzipself
$(EXEEXT
): $(zzipself_OBJECTS
) $(zzipself_DEPENDENCIES
)
322 @
rm -f zzipself
$(EXEEXT
)
323 $(zzipself_LINK
) $(zzipself_OBJECTS
) $(zzipself_LDADD
) $(LIBS
)
324 zzipsetstub
$(EXEEXT
): $(zzipsetstub_OBJECTS
) $(zzipsetstub_DEPENDENCIES
)
325 @
rm -f zzipsetstub
$(EXEEXT
)
326 $(LINK
) $(zzipsetstub_OBJECTS
) $(zzipsetstub_LDADD
) $(LIBS
)
334 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/zzipself.Po@am__quote@
335 @AMDEP_TRUE@@am__include@ @am__quote@.
/$(DEPDIR
)/zzipsetstub.Po@am__quote@
338 @am__fastdepCC_TRUE@
$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
$<
339 @am__fastdepCC_TRUE@
$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
341 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
342 @am__fastdepCC_FALSE@
$(COMPILE
) -c
$<
345 @am__fastdepCC_TRUE@
$(COMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
`$(CYGPATH_W) '$<'`
346 @am__fastdepCC_TRUE@
$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Po
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source
='$<' object
='$@' libtool
=no @AMDEPBACKSLASH@
348 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
349 @am__fastdepCC_FALSE@
$(COMPILE
) -c
`$(CYGPATH_W) '$<'`
352 @am__fastdepCC_TRUE@
$(LTCOMPILE
) -MT
$@
-MD
-MP
-MF
$(DEPDIR
)/$*.Tpo
-c
-o
$@
$<
353 @am__fastdepCC_TRUE@
$(am__mv
) $(DEPDIR
)/$*.Tpo
$(DEPDIR
)/$*.Plo
354 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source
='$<' object
='$@' libtool
=yes @AMDEPBACKSLASH@
355 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR
=$(DEPDIR
) $(CCDEPMODE
) $(depcomp
) @AMDEPBACKSLASH@
356 @am__fastdepCC_FALSE@
$(LTCOMPILE
) -c
-o
$@
$<
364 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
365 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
366 unique
=`for i in $$list; do \
367 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
369 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
370 END { if (nonempty) { for (i in files) print i; }; }'`; \
374 TAGS
: $(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
375 $(TAGS_FILES
) $(LISP
)
378 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
379 unique
=`for i in $$list; do \
380 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
382 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
383 END { if (nonempty) { for (i in files) print i; }; }'`; \
385 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
386 test -n
"$$unique" || unique
=$$empty_fix; \
387 if
test $$# -gt 0; then \
388 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
391 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
396 CTAGS
: $(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
397 $(TAGS_FILES
) $(LISP
)
398 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
399 unique
=`for i in $$list; do \
400 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
402 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
403 END { if (nonempty) { for (i in files) print i; }; }'`; \
404 test -z
"$(CTAGS_ARGS)$$unique" \
405 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
409 here
=`$(am__cd) $(top_builddir) && pwd` \
410 && $(am__cd
) $(top_srcdir
) \
411 && gtags
-i
$(GTAGS_ARGS
) "$$here"
414 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
416 distdir
: $(DISTFILES
)
417 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
418 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
419 list
='$(DISTFILES)'; \
420 dist_files
=`for file in $$list; do echo $$file; done | \
421 sed -e "s|^$$srcdirstrip/||;t" \
422 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
423 case
$$dist_files in \
424 */*) $(MKDIR_P
) `echo "$$dist_files" | \
425 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
428 for file in
$$dist_files; do \
429 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
430 if
test -d
$$d/$$file; then \
431 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
432 if
test -d
"$(distdir)/$$file"; then \
433 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
435 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
436 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
437 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
439 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
441 test -f
"$(distdir)/$$file" \
442 || cp
-p
$$d/$$file "$(distdir)/$$file" \
447 $(MAKE
) $(AM_MAKEFLAGS
) check-local
449 all-am
: Makefile
$(PROGRAMS
)
452 install-exec
: install-exec-am
453 install-data
: install-data-am
454 uninstall: uninstall-am
457 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
459 installcheck: installcheck-am
461 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
462 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
463 `test -z '$(STRIP)' || \
464 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
470 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
471 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
472 -test -z
"$(DISTCLEANFILES)" ||
rm -f
$(DISTCLEANFILES
)
474 maintainer-clean-generic
:
475 @echo
"This command is intended for maintainers to use"
476 @echo
"it deletes files that may require special tools to rebuild."
479 clean-am
: clean-generic clean-libtool clean-noinstPROGRAMS \
482 distclean: distclean-am
485 distclean-am
: clean-am distclean-compile distclean-generic \
502 install-dvi
: install-dvi-am
508 install-html
: install-html-am
512 install-info
: install-info-am
518 install-pdf
: install-pdf-am
522 install-ps
: install-ps-am
528 maintainer-clean
: maintainer-clean-am
531 maintainer-clean-am
: distclean-am maintainer-clean-generic
533 mostlyclean: mostlyclean-am
535 mostlyclean-am
: mostlyclean-compile mostlyclean-generic \
548 .MAKE
: check-am install-am install-strip
550 .PHONY
: CTAGS GTAGS
all all-am
check check-am check-local
clean \
551 clean-generic clean-libtool clean-noinstPROGRAMS ctags \
552 distclean distclean-compile distclean-generic \
553 distclean-libtool distclean-tags distdir
dvi dvi-am html \
554 html-am
info info-am
install install-am install-data \
555 install-data-am install-dvi install-dvi-am install-exec \
556 install-exec-am install-html install-html-am install-info \
557 install-info-am install-man install-pdf install-pdf-am \
558 install-ps install-ps-am install-strip
installcheck \
559 installcheck-am
installdirs maintainer-clean \
560 maintainer-clean-generic
mostlyclean mostlyclean-compile \
561 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
562 tags uninstall uninstall-am
565 $(zzcat
) $(zzdir
) $(zziptest
) $(zzxorcat
) $(zzxordir
) $(xorcopy
) : \
566 @top_srcdir@
/bins
/*.c @top_srcdir@
/zzip
/*.c
567 (cd ..
/bins
&& $(MAKE
))
569 testzip testzips
: test.zip test1.zip test2.zip test3.zip
571 test.zip tmp
/..
/test.zip
: $(README
)
572 - test -d tmp || mkdir tmp
573 - $(MAKE
) test0.zip
&& mv test0.zip
$@
574 - test -s
$@ || cp
$(srcdir)/test.zip
$@
575 test0.zip
: $(README
)
576 test -f README || ln
-s
$(README
) .
577 - $(MKZIP
) test_.zip README
578 @ if
test -s test_.zip
;then echo mv test_.zip
$@
; mv test_.zip
$@
;fi
579 @
test -d
$(testdatadir
) || mkdir
$(testdatadir
); if
test -s
$@ \
580 ; then echo cp
$@
$(testdatadir
)/ ; cp
$@
$(testdatadir
)/ \
581 ; else echo cp
$(testdatadir
)/$@ .
; cp
$(testdatadir
)/$@ . \
582 ; fi
; echo
test -s
$@
; test -s
$@
585 @ echo
$(MKZIP
) $@ ...
"(10 files)" \
587 ; for i in
1 2 3 4 5 6 8 9 \
588 ; do echo
"file-$i" >test.tmp
/file.
$$i ; done \
589 ; echo
" a plain text file here" >test.tmp
/README \
590 ; (cd
test.tmp
&& $(MKZIP
) ..
/$@ file.
* >$(NULL
)) \
592 @
test -d
$(testdatadir
) || mkdir
$(testdatadir
); if
test -s
$@ \
593 ; then echo cp
$@
$(testdatadir
)/ ; cp
$@
$(testdatadir
)/ \
594 ; else echo cp
$(testdatadir
)/$@ .
; cp
$(testdatadir
)/$@ . \
595 ; fi
; echo
test -s
$@
; test -s
$@
597 test2.zip
: # will not be shipped in source tarball
598 @ echo
$(MKZIP
) $@ ...
"(100 files)" \
600 ; for i in
1 2 3 4 5 6 8 9 ; do for j in
1 2 3 4 5 6 7 8 9 \
601 ; do echo
"file-$i" >test.tmp
/file.
$$j$$i ; done done \
602 ; (cd
test.tmp
&& $(MKZIP
) ..
/$@ file.
* >$(NULL
)) \
604 @
test -d
$(testdatadir
) || mkdir
$(testdatadir
); if
test -s
$@ \
605 ; then echo cp
$@
$(testdatadir
)/ ; cp
$@
$(testdatadir
)/ \
606 ; else echo cp
$(testdatadir
)/$@ .
; cp
$(testdatadir
)/$@ . \
607 ; fi
; echo
test -s
$@
; test -s
$@
609 test3.zip
: # will not be shipped in source tarball
610 @ echo
$(MKZIP
) $@ ...
"(1000 files)" \
611 ; mkdir
test.tmp
; for h in
1 2 3 4 5 6 7 8 9 ; do
: \
612 ; for i in
1 2 3 4 5 6 8 9 ; do for j in
1 2 3 4 5 6 7 8 9 \
613 ; do echo
"file-$i" >test.tmp
/file.
$$h$$j$$i ; done done done \
614 ; (cd
test.tmp
&& $(MKZIP
) ..
/$@ file.
* >$(NULL
)) \
616 @
test -d
$(testdatadir
) || mkdir
$(testdatadir
); if
test -s
$@ \
617 ; then echo cp
$@
$(testdatadir
)/ ; cp
$@
$(testdatadir
)/ \
618 ; else echo cp
$(testdatadir
)/$@ .
; cp
$(testdatadir
)/$@ . \
619 ; fi
; echo
test -s
$@
; test -s
$@
621 test4.zip
: # will not be shipped in source tarball
622 @ echo
$(MKZIP
) $@ ...
"(1000 files)" \
623 ; mkdir
test.tmp
; for h in
1 2 3 4 5 6 7 8 9 ; do
: \
624 ; for i in
1 2 3 4 5 6 8 9 ; do for j in
1 2 3 4 5 6 7 8 9 \
625 ; do echo
"file-$i" >test.tmp
/file.
$$h$$j$$i ; done done done \
626 ; (cd
test.tmp
&& $(MKZIP
) -n
: ..
/$@ file.
* >$(NULL
)) \
628 @
test -d
$(testdatadir
) || mkdir
$(testdatadir
); if
test -s
$@ \
629 ; then echo cp
$@
$(testdatadir
)/ ; cp
$@
$(testdatadir
)/ \
630 ; else echo cp
$(testdatadir
)/$@ .
; cp
$(testdatadir
)/$@ . \
631 ; fi
; echo
test -s
$@
; test -s
$@
635 test1.dat
: test1.zip
637 test2.dat
: test2.zip
639 test3.dat
: test3.zip
642 check-local
: check-readme
$(stdtests
) $(xortests
) $(sfxtests
)
644 check-readme
: $(zzcat
) test.zip
645 @
test -f
test.zip ||
$(MAKE
) tmp
/..
/test.zip
647 @ echo
:$@
: checking
$(zzcat
) test/README
648 @
$(zzcat
) test/README
>test.out
649 @ if diff
test.out
$(README
) >$(NULL
) \
650 ; then
rm test.out
; echo
check OK
; true \
651 ; else rm test.out
; echo
check FAIL
; false
; fi
653 check-zzxor
: $(zzxorcat
) test.dat
654 @ echo
:$@
: checking
$(zzxorcat
) test.dat
/README
655 @
$(zzxorcat
) test.dat
/README
>test.out
656 @ if diff
test.out
$(README
) >$(NULL
) \
657 ; then
rm test.out
; echo
check OK
; true \
658 ; else rm test.out
; echo
check FAIL
; false
; fi
660 test: test0 test1 test2 test3
664 $(zziptest
) test1.zip
669 test4
: $(zzdir
) test4.zip
670 $(zzcat
) test4
/file
.113
672 check-test0
: $(zziptest
)
673 @ echo
:$@
: quick selftest
674 $(zziptest
) test.zip
>test.out
676 check-test1
: $(zziptest
)
677 @
test -f test1.zip || ln
-s
$(srcdir)/test1.zip test1.zip
678 @ echo
:$@
: longer selftest
"(about ten seconds)"
679 $(zziptest
) test1.zip
>test.out
682 check-zzdir
: test1.zip test2.zip test3.zip
$(zzdir
)
683 @ echo
:$@
: zip directory access
684 .
/$(zzdir
) test1
> test.out
685 @ X
="$(zzdir) test1 "\
686 ; if grep file
.1 test.out
>$(NULL
) ; then
: \
687 ; if grep file
.9 test.out
>$(NULL
) ; then
: \
688 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
689 .
/$(zzdir
) test2
> test.out
690 @ X
="$(zzdir) test2 "\
691 ; if grep file
.11 test.out
>$(NULL
) ; then
: \
692 ; if grep file
.99 test.out
>$(NULL
) ; then
: \
693 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
694 .
/$(zzdir
) test3
> test.out
695 @ X
="$(zzdir) test3 "\
696 ; if grep file
.111 test.out
>$(NULL
) ; then
: \
697 ; if grep file
.999 test.out
>$(NULL
) ; then
: \
698 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
699 @ X
="$(zzdir) test000" ; echo .
/$$X "(negative test)" \
700 ; if .
/$(zzdir
) test000
>test.out
; then
: \
701 ; echo ..
$$X.. FAIL
; false
; else echo ..
$$X.. OK
; true
; fi
704 check-zzcat
: test1.zip test2.zip test3.zip
$(zzcat
)
706 .
/$(zzcat
) test1
/file
.1 test1
/file
.9 > test.out
707 @ X
="$(zzcat) test1/file.1 test1/file.9 "\
708 ; if grep file-1
test.out
>$(NULL
) ; then
: \
709 ; if grep file-9
test.out
>$(NULL
) ; then
: \
710 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
711 .
/$(zzcat
) test2
/file
.11 test2
/file
.99 > test.out
712 @ X
="$(zzcat) test2/file.10 test2/file.99 "\
713 ; if grep file-10
test.out
>$(NULL
) ; then
: \
714 ; if grep file-99
test.out
>$(NULL
) ; then
: \
715 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
716 .
/$(zzcat
) test3
/file
.111 test3
/file
.999 > test.out
717 @ X
="$(zzcat) test3/file.111 test3/file.999 "\
718 ; if grep file-100
test.out
>$(NULL
) ; then
: \
719 ; if grep file-999
test.out
>$(NULL
) ; then
: \
720 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
721 @ X
="$(zzcat) test1/file.999" ; echo .
/$$X "(negative test)" \
722 ; if .
/$(zzdir
) test1
/file
.999 >test.out
; then
: \
723 ; echo ..
$$X.. FAIL
; false
; else echo ..
$$X.. OK
; true
; fi
726 check-zzxordir
: test1.dat test2.dat
$(zzxordir
)
728 .
/$(zzxordir
) test1
> test.out
729 @ X
="$(zzxordir) test1 "\
730 ; if grep file
.1 test.out
>$(NULL
) ; then
: \
731 ; if grep file
.9 test.out
>$(NULL
) ; then
: \
732 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
733 .
/$(zzxordir
) test2.dat
> test.out
734 @ X
="$(zzxordir) test2.dat "\
735 ; if grep file
.11 test.out
>$(NULL
) ; then
: \
736 ; if grep file
.99 test.out
>$(NULL
) ; then
: \
737 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
740 check-zzxorcat
: test1.dat test2.dat
$(zzxorcat
)
742 .
/$(zzxorcat
) test1
/file
.1 test1
/file
.9 > test.out
743 @ X
="$(zzxorcat) test1/file.1 test1/file.9 "\
744 ; if grep file-1
test.out
>$(NULL
) ; then
: \
745 ; if grep file-9
test.out
>$(NULL
) ; then
: \
746 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
747 .
/$(zzxorcat
) test2.dat
/file
.11 test2
/file
.99 > test.out
748 @ X
="$(zzxorcat) test2.dat/file.10 test2/file.99 "\
749 ; if grep file-10
test.out
>$(NULL
) ; then
: \
750 ; if grep file-99
test.out
>$(NULL
) ; then
: \
751 ; echo ..
$$X.. OK
; true
; else echo ..
$$X.. FAIL
; false
; fi fi
753 brute
: # which is still a brute force selftest
754 @ echo
$(MKZIP
) $@
: \
755 ; for u in
1 2 3 4 5 6 8 9 ; do for v in
1 2 3 4 5 6 7 8 9 ; do
: \
756 ; for w in
1 2 3 4 5 6 8 9 ; do for x in
$(BRUTE
) ; do
: \
757 ; $(ECHON
) $$u$$v$$w$$x: \
758 ; rm -rf
test.tmp
; mkdir
test.tmp \
759 ; for i in
1 2 3 4 5 6 8 9 ; do for j in
1 2 3 4 5 6 7 8 9 ; do
: \
760 ; for m in
1 2 3 4 5 6 8 9 ; do for n in
$(BRUTE
) ; do
: \
761 ; echo
"file-$$i$$j$$m$$n" >test.tmp
/file
$$i$$j$$m$$n.txt \
762 ; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
763 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
764 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
765 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
766 ; done
; test -f
test.tmp
/file
$$i$$j$$m$$n.txt || exit
2 \
767 ; (cd
test.tmp
&& $(MKZIP
) ..
/test$$u$$v$$w$$x.zip file
*.
* >$(NULL
)) \
769 ; for i in
1 2 3 4 5 6 8 9 ; do for j in
1 2 3 4 5 6 7 8 9 ; do
: \
770 ; for m in
1 2 3 4 5 6 8 9 ; do for n in
$(BRUTE
) ; do
: \
771 ; .
/$(zzcat
) test$$u$$v$$w$$x/file
$$i$$j$$m$$n.txt
>test.out \
772 ; if grep file-
$$i$$j$$m$$n test.out
>$(NULL
) ; then
rm test.out \
773 ; else echo ERROR file-
$$i$$j$$m$$n diff in
test$$u$$v$$w$$x \
775 ; .
/$(zzdir
) test$$u$$v$$w$$x >test.out \
776 ; if grep file
$$i$$j$$m$$n.txt
test.out
>$(NULL
) ; then
rm test.out \
777 ; else echo ERROR file
$$i$$j$$m$$n.txt not in
test$$u$$v$$w$$x \
779 ; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
780 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
781 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
782 ; done
; test "$$i$$j$$m$$n" = "$$u$$v$$w$$x" && break \
783 ; done
; rm test$$u$$v$$w$$x.zip \
784 ; done
; done
; done
; done
; true
786 ..
/zzip
/libzzip.la
: @top_srcdir@
/zzip
/*.c
787 (cd ..
/zzip
&& $(MAKE
) `basename $@`)
789 zzshowme
$(EXEEXT
) : zzipself
$(EXEEXT
) zzipsetstub
$(EXEEXT
)
790 $(MKZIP
) -0 -j
$@ .libs
/zzipself
$(EXEEXT
)
791 $(MKZIP
) -9 -j
$@
$(README
)
792 - test -s
$@ || cp test2.zip
$@
793 test ! -f
$@.zip || mv
$@.zip
$@
794 .
/zzipsetstub
$@ .libs
/zzipself
$(EXEEXT
)
797 check-sfx
: zzshowme
$(EXEEXT
)
798 echo
:$@
: "./zzshowme readme >readme.out 2>readme.err"
799 export LD_LIBRARY_PATH
="../zzip/.libs:$$LD_LIBRARY_PATH" \
800 ; .
/zzshowme readme
>readme.out
2>readme.err
; true
801 @ echo
'diff readme.out $(README) || grep "libzzip-" readme.err' \
802 ; if
test -s readme.out
; then diff readme.out
$(README
) \
803 ; else grep
"libzzip-" readme.err || echo
"readme.out is empty!" ; fi
804 rm readme.out readme.err
806 # Tell versions [3.59,3.63) of GNU make to not export all variables.
807 # Otherwise a system limit (for SysV at least) may be exceeded.