1 # Makefile.in generated by automake 1.6.3 from Makefile.am.
4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5 # 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
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 install_sh_DATA = $(install_sh) -c -m 644
51 install_sh_PROGRAM = $(install_sh) -c
52 install_sh_SCRIPT = $(install_sh) -c
53 INSTALL_SCRIPT = @INSTALL_SCRIPT@
54 INSTALL_HEADER = $(INSTALL_DATA)
55 transform = @program_transform_name@
62 build_alias = @build_alias@
63 build_triplet = @build@
64 host_alias = @host_alias@
66 target_alias = @target_alias@
67 target_triplet = @target@
71 PATH_SEPARATOR = @PATH_SEPARATOR@
76 CONFIG_FILES = @CONFIG_FILES@
80 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
81 LARGEFILE_CFLAGS = @LARGEFILE_CFLAGS@
95 PKG_CONFIG = @PKG_CONFIG@
99 SDL = @top_srcdir@/SDL
102 THREAD_SAFE = @THREAD_SAFE@
105 ZIPTESTS = @ZIPTESTS@
106 ZLIB_INCL = @ZLIB_INCL@
107 ZLIB_LDIR = @ZLIB_LDIR@
108 ZLIB_VERSION = @ZLIB_VERSION@
109 ZZIPLIB_LDFLAGS = @ZZIPLIB_LDFLAGS@
110 am__include = @am__include@
111 am__quote = @am__quote@
113 install_sh = @install_sh@
115 pkgconfig_libdir = @pkgconfig_libdir@
116 pkgconfig_libfile = @pkgconfig_libfile@
117 AUTOMAKE_OPTIONS = 1.4 foreign
118 AUTOTOOL_VERSION = autoconf-2.52 automake-1.5 libtool-1.4.2
120 doc_FILES = README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \
123 htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
124 zzip-extio.htm zzip-xor.htm zzip-api.htm zzip-parse.htm \
125 64on32.htm future.htm configs.htm sfx-make.htm \
126 history.htm referentials.htm copying.htm manpages.ar
128 SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
129 $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
131 changelog = @top_srcdir@/ChangeLog
133 EXTRA_DIST = make-doc.py $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \
134 make-doc.pl make-dbk.pl body.htm
136 CLEANFILES = *.pc *.omf
137 DISTCLEANFILES = zziplib.spec manpages.ar htmpages.ar *.html *.xml
139 omfdir = ${datadir}/omf
140 pkgomfdir = ${omfdir}/${PACKAGE}
141 SFNETDIR = /groups/z/zz/zziplib/htdocs
142 SFNETDOC = ${datadir}${SFNETDIR}
143 pkgdocdir = ${datadir}${SFNETDIR}
144 bins = @top_srcdir@/bins
145 DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \
146 $(bins)/zzobfuscated.c $(bins)/zziptest.c \
147 $(bins)/zzxordir.c $(bins)/zzxorcat.c \
148 $(bins)/zzxorcopy.c $(SDL_RWOPS)
151 # -------------------------------------------------------------------
152 spec_file = $(top_srcdir)/$(PACKAGE).spec
153 DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
154 FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\<,g' -e 's,>,\>,g'
155 DATESPEC = `date +%Y-%m-%d`
157 DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
158 MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
160 # -------------------------------------------------------------------
161 datehead = <hr><table border="0" width="100%"><tr><td> \
162 <a href="mailto:guidod@gmx.de?subject=$(PACKAGE):">guidod@gmx.de</a> \
163 </td><td align="right">
165 datetail = </td></tr></table>
166 borderhead = <table cellpadding="10"><tr><td>
167 bordertail = </td></tr></table>
169 mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
170 CONFIG_HEADER = $(top_builddir)/config.h
173 DIST_COMMON = COPYING.LIB Makefile.am Makefile.in
177 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
178 cd $(top_srcdir) && \
179 $(AUTOMAKE) --foreign docs/Makefile
180 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
181 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
195 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
198 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
200 distdir: $(DISTFILES)
201 $(mkinstalldirs) $(distdir)/$(SDL)
202 @list='$(DISTFILES)'; for file in $$list; do \
203 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
204 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
205 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
207 $(mkinstalldirs) "$(distdir)$$dir"; \
211 if test -d $$d/$$file; then \
212 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
213 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
215 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
217 test -f $(distdir)/$$file \
218 || cp -p $$d/$$file $(distdir)/$$file \
229 install-exec: install-exec-am
230 install-data: install-data-am
231 uninstall: uninstall-am
234 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
236 installcheck: installcheck-am
238 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
239 INSTALL_STRIP_FLAG=-s \
240 `test -z '$(STRIP)' || \
241 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
245 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
248 -rm -f Makefile $(CONFIG_CLEAN_FILES)
249 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
251 maintainer-clean-generic:
252 @echo "This command is intended for maintainers to use"
253 @echo "it deletes files that may require special tools to rebuild."
256 clean-am: clean-generic clean-libtool mostlyclean-am
258 distclean: distclean-am
260 distclean-am: clean-am distclean-generic distclean-libtool
274 install-info: install-info-am
280 maintainer-clean: maintainer-clean-am
282 maintainer-clean-am: distclean-am maintainer-clean-generic
284 mostlyclean: mostlyclean-am
286 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
288 uninstall-am: uninstall-info-am
290 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
291 distclean distclean-generic distclean-libtool distdir dvi \
292 dvi-am info info-am install install-am install-data \
293 install-data-am install-exec install-exec-am install-info \
294 install-info-am install-man install-strip installcheck \
295 installcheck-am installdirs maintainer-clean \
296 maintainer-clean-generic mostlyclean mostlyclean-generic \
297 mostlyclean-libtool uninstall uninstall-am uninstall-info-am
301 clean-doc clean-docs : clean-unpack
302 - rm $(DISTCLEANFILES)
303 - rm $(MAINTAINERCLEANFILES)
305 # -------------------------------------------------------------------
306 zziplib.spec : @top_srcdir@/$(PACKAGE).spec
307 @ $(LN_S) $? $@ # the two zzip-doc.* will grep thru zziplib.spec
308 doc : $(doc_FILES) $(htm_FILES:.htm=.html)
309 docs : doc manpages.ar htmpages.ar
311 zziplib0.html : zziplib0.xml
312 zziplib0.xml : zziplib.spec @srcdir@/Makefile.am @srcdir@/make-doc.pl \
313 $(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c
314 - @PERL@ $(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c \
315 "suffix=0" "package=$(PACKAGE)" "version=$(VERSION)" \
316 "mainheader=zzip/zzip.h" "exported=<zzip/zzip.h> // or <zziplib.h>" \
319 zziplib1.html : zziplib1.xml
320 zziplib1.xml : zziplib.spec @srcdir@/Makefile.am @srcdir@/make-doc.py \
321 $(srcdir)/make-doc.py @top_srcdir@/zzip/*.c
322 - @PYTHON@ $(srcdir)/make-doc.py @top_srcdir@/zzip/*.c suffix=1
323 - test -f zziplib1.docbook && mv zziplib1.docbook $@ ; test -s $@
324 zziplib.html : zziplib1.html zziplib0.html
325 - test -s zziplib0.html && cp zziplib0.html zziplib.html
326 - test -s zziplib1.html && cp zziplib1.html zziplib.html
328 zziplib.xml : zziplib1.xml zziplib0.xml
329 - test -s zziplib0.xml && cp zziplib0.xml zziplib.xml
330 - test -s zziplib1.xml && cp zziplib1.xml zziplib.xml
333 install-docu: $(doc_FILES) $(htm_FILES:.htm=.html) $(PACKAGE)-doc.omf
334 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
335 for i in $(htm_FILES) ; do cat $${i}l \
336 | sed -e 's:--START-->:-- :' -e 's:<!--ENDS--: --:' \
337 -e "s:\\(href=\"[^/\"]*\\)[.]html\":\\1.htm\":" \
338 -e "s:\\(href=\"[^/\"]*\\)[.]html\#:\\1.htm\#:" \
339 > $(DESTDIR)$(pkgdocdir)/$$i ; done
340 @ for i in $(doc_FILES) $(DOCEXAMPLES) $(srcdir)/README.* \
341 ; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
342 $(DESTDIR)$(pkgdocdir) ; done
343 (cd $(DESTDIR)$(pkgdocdir) && ln -sf zziplib.html zziplib.htm)
344 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
345 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
346 - test ".$(DESTDIR)" != "." || scrollkeeper-update
348 install-sfnet: $(doc_FILES) $(htm_FILES:.htm=.html) htmpages.ar
349 $(mkinstalldirs) $(DESTDIR)$(SFNETDOC)
350 $(INSTALL_DATA) $(htm_FILES:.htm=.html) $(DESTDIR)$(SFNETDOC)
351 for i in $(doc_FILES) $(DOCEXAMPLES) $(changelog) $(srcdir)/README.* \
352 ; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
353 $(DESTDIR)$(SFNETDOC) ; done
354 (cd $(DESTDIR)$(SFNETDOC) && ln -sf zzip-index.html index.html)
355 $(mkinstalldirs) $(DESTDIR)$(SFNETDOC)/man
356 (test -f htmpages.ar || cd "$srcdir" ; P=`pwd` \
357 ; cd $(DESTDIR)$(SFNETDOC)/man && ar x $$P/htmpages.ar)
359 install-doc : install-docu install-sfnet
361 # --------------------------------------------------------------------
362 man manpages : manpages.ar
363 htm htmpages : htmpages.ar
365 manpages.ar : zziplib.xml
366 @ if test "$(XMLTO)" = ":" \
367 ; then echo no xmlto found - could not regenerate "$@" - skipped \
368 ; echo just touching the output file "$@" ; touch "$@" \
369 ; else echo going to regenerate "$@" in subdir "'"man"'" \
370 ; echo 'test ! -d man || rm man/* ; test -d man || mkdir man' \
371 ; test ! -d man || rm man/* ; test -d man || mkdir man \
372 ; echo '(cd man && xmlto man ../zziplib.xml)' \
373 ; (cd man && xmlto man ../zziplib.xml) \
374 ; echo 'test ! -f $@ || mv $@ $@.old' \
375 ; test ! -f $@ || mv $@ $@.old \
376 ; echo '(cd man && ar qc ../$@ *.3)' \
377 ; (cd man && ar qc ../$@ *.3) \
378 ; echo '(rm man/*.3 ; rmdir man)' \
379 ; (rm man/*.3 ; rmdir man) \
380 ; fi ; test -s $@ || mv $@.old $@ \
381 || mv $(srcdir)/$@.old $@ || test -s $@.old >$@
383 htmpages.ar : zziplib.xml
384 @ if test "$(XMLTO)" = ":" \
385 ; then echo no xmlto found - could not regenerate "$@" - skipped \
386 ; echo just touching the output file "$@" ; touch "$@" \
387 ; else echo going to regenerate "$@" in subdir "'"man"'" \
388 ; echo 'test ! -d man || rm /* ; test -d man || mkdir man' \
389 ; test ! -d man || rm man/* ; test -d man || mkdir man \
390 ; echo '(cd man && xmlto html ../zziplib.xml | tee written.lst)' \
391 ; (cd man && xmlto html ../zziplib.xml | tee written.lst) \
392 ; echo 'test ! -f $@ || mv $@ $@.old' \
393 ; test ! -f $@ || mv $@ $@.old \
394 ; echo '(cd man && ar qc ../$@ *.*)' \
395 ; (cd man && ar qc ../$@ *.*) \
396 ; echo '(rm man/*.* ; rmdir man)' \
397 ; (rm man/*.* ; rmdir man) \
398 ; fi ; test -s $@ || mv $@.old $@ \
399 || mv $(srcdir)/$@.old $@ || test -s $@.old >$@
401 install-man3 : manpages.ar
402 $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
403 P=`pwd` ; cd $(DESTDIR)$(mandir)/man3 \
404 && ar x $$P/manpages.ar && chmod 664 *
406 unpack : manpages.ar htmpages.ar
407 (rm -rf _htm && mkdir _htm && cd _htm && ar x ../htmpages.ar)
408 (rm -rf _man && mkdir _man && cd _man && ar x ../manpages.ar)
413 $(PACKAGE)-doc.omf : $(spec_file) Makefile
414 echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
415 echo '<omf><resource><creator> Guido Draheim </creator>' >>$@
416 grep Packager $(FROMSPEC) | sed -e 's,Packager *: *, <maintainer>,' \
417 -e '/<maintainer>/s,$$,</maintainer>,' >>$@
418 grep Summary $(FROMSPEC) | sed -e 's,Summary *: *, <title>,' \
419 -e '/<title>/s,$$,</title>,' >>$@
420 echo ' <date>'$(DATESPEC)'</date>' >>$@
421 echo ' <version identifier="$(VERSION)" date="'$(DATESPEC)'"/>' >>$@
422 grep Group $(FROMSPEC) | sed -e 's,Group *: *, <subject category=",' \
423 -e 's,/,|,g' -e '/<subject/s,$$," />,' >>$@
424 echo ' <format mime="text/html"/>' >>$@
425 echo ' <identifier url="file:$(pkgdocdir)/zzip-index.htm"/>' >>$@
426 echo ' <language code="C"/>' >>$@
427 echo ' <relation seriesid="$(DOCSERIES)"/>' >>$@
428 echo ' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
429 echo ' license="$(pkgdocdir)/COPYING.LIB"/>' >>$@
430 echo '</resource></omf>' >>$@
431 $(PACKAGE)-man.omf : $(PACKAGE)-doc.omf $(PACKAGE).xml
432 sed -e 's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
433 -e 's,</title>, (Function Reference)</title>,' \
434 -e 's,/index.html,/manpages.xml,' \
435 -e 's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE)-doc.omf > $@
438 omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
439 install-omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
440 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
441 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
442 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
443 $(INSTALL_DATA) $(PACKAGE).xml $(DESTDIR)$(pkgdocdir)/manpages.xml
444 $(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/
445 - test ".$(DESTDIR)" != "." || scrollkeeper-update -v
447 x : $(htm_FILES:.htm=.html)
448 $(htm_FILES:.htm=.html) : body.htm
450 @ title=`grep '<h2>' $< | sed -e 's:</h2>.*::' -e 's:<[^<>]*>::g'` \
451 ; D=$(DATESPEC) ; cat $(srcdir)/body.htm \
452 | sed -e "s/<!--VERSION-->/$(VERSION)/" \
453 | sed -e "s/<!--DATE-->/$$D/" \
454 | sed -e "s:</title>: - $$title</title>:" \
455 | sed -e "/$@.>/s:\\([^<>]*\\)</a>:<b>\\1</b></a>:" \
457 @ echo $< '>>' $@; cat $< | sed -e "s/<!--VERSION-->/$(VERSION)/" \
458 -e "s:</h2>\\(.*\\):</h2></td><td><i>\\1</i></td></tr></table>:" \
459 -e 's:<h2>:<table width="100%"><tr valign="bottom"><td><h2>:' \
460 -e 's:<td><i>:<td align="right"><br> <i>:' \
461 -e 's:<P>:<p class="justify"><span class="justify">:g' \
462 -e 's:</P>:</span></p>:g' \
463 -e 's,<date>,<!--DATE: ,' -e 's,</date>, -->,' \
464 -e 's,<!--border-->,$(borderhead)<!--BORDER-->,' >>$@
465 @ if grep '<!--BORDER-->' $@ >/dev/null ; then : \
466 ; echo "$(bordertail)<!--/BORDER-->" >>$@ ; fi
467 @ D=`grep '<!--DATE:' $@ | sed -e 's,.*<!--DATE: *,,' -e 's, *-->,,'` \
468 ; if test ".$$D" != "." ; then echo '$(datehead)' >>$@ \
469 ; echo "$$D" >> $@ ; echo "$(datetail)" >> $@ ; fi
470 @ echo "</td></tr></table></body></html>" >>$@
472 zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl
473 @PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@
474 test -s "$@" || rm "$@"
477 xmlto html-nochunks zzip.xml
480 # Tell versions [3.59,3.63) of GNU make to not export all variables.
481 # Otherwise a system limit (for SysV at least) may be exceeded.