1
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
3
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
# Free Software Foundation, Inc.
5
# This Makefile.in is free software; the Free Software Foundation
6
# gives unlimited permission to copy and/or distribute it,
7
# with or without modifications, as long as this notice is preserved.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
# 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@
47
INSTALL_PROGRAM = @INSTALL_PROGRAM@
48
INSTALL_DATA = @INSTALL_DATA@
49
INSTALL_SCRIPT = @INSTALL_SCRIPT@
50
INSTALL_HEADER = $(INSTALL_DATA)
51
transform = @program_transform_name@
58
build_alias = @build_alias@
59
build_triplet = @build@
60
host_alias = @host_alias@
62
target_alias = @target_alias@
63
target_triplet = @target@
68
CONFIG_FILES = @CONFIG_FILES@
73
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
74
LARGEFILE_CFLAGS = @LARGEFILE_CFLAGS@
90
PKG_CONFIG = @PKG_CONFIG@
95
THREAD_SAFE = @THREAD_SAFE@
99
ZLIB_INCL = @ZLIB_INCL@
100
ZLIB_LDIR = @ZLIB_LDIR@
101
ZLIB_VERSION = @ZLIB_VERSION@
102
ZZIPLIB_LDFLAGS = @ZZIPLIB_LDFLAGS@
103
am__include = @am__include@
104
am__quote = @am__quote@
106
install_sh = @install_sh@
107
SDL = @top_srcdir@/SDL
109
AUTOMAKE_OPTIONS = 1.4 foreign
110
AUTOTOOL_VERSION = autoconf-2.52 automake-1.5 libtool-1.4.2
112
doc_FILES = README.MSVC6 README.SDL COPYING.ZZIP COPYING.LIB COPYING.ZLIB \
113
zziplib.html staticlink.txt
115
htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
116
zzip-extio.htm zzip-xor.htm zzip-api.htm zzip-parse.htm \
117
future.htm configs.htm sfx-make.htm history.htm referentials.htm
119
SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
120
$(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
122
changelog = @top_srcdir@/ChangeLog
124
EXTRA_DIST = zzip-doc.pl zzip-doc.php $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \
125
make-doc.pl make-dbk.pl manpages.ar htmpages.ar body.htm
127
CLEANFILES = *.pc *.omf
128
DISTCLEANFILES = zziplib.spec
129
MAINTAINERCLEANFILES = manpages.ar htmpages.ar *.html *.xml
131
omfdir = ${datadir}/omf
132
pkgomfdir = ${omfdir}/${PACKAGE}
133
SFNETDIR = /groups/z/zz/zziplib/htdocs
134
SFNETDOC = ${datadir}${SFNETDIR}
135
pkgdocdir = ${datadir}${SFNETDIR}
136
bins = @top_srcdir@/bins
137
DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \
138
$(bins)/zzobfuscated.c $(bins)/zziptest.c \
139
$(bins)/zzxordir.c $(bins)/zzxorcat.c \
140
$(bins)/zzxorcopy.c $(SDL_RWOPS)
143
# -------------------------------------------------------------------
144
spec_file = $(top_srcdir)/$(PACKAGE).spec
145
DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
146
FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\<,g' -e 's,>,\>,g'
147
DATESPEC = `date +%Y-%m-%d`
149
DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
150
MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
152
# -------------------------------------------------------------------
153
datehead = <hr><table border="0" width="100%"><tr><td> \
154
<a href="mailto:guidod@gmx.de?subject=$(PACKAGE):">guidod@gmx.de</a> \
155
</td><td align="right">
157
datetail = </td></tr></table>
158
borderhead = <table cellpadding="10"><tr><td>
159
bordertail = </td></tr></table>
161
mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
162
CONFIG_HEADER = $(top_builddir)/config.h
165
DIST_COMMON = COPYING.LIB Makefile.am Makefile.in
178
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
179
cd $(top_srcdir) && \
180
$(AUTOMAKE) --foreign docs/Makefile
181
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
182
cd $(top_builddir) && \
183
CONFIG_HEADERS= CONFIG_LINKS= \
184
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
190
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
193
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
195
distdir: $(DISTFILES)
196
$(mkinstalldirs) $(distdir)/$(SDL)
197
@for file in $(DISTFILES); do \
198
if test -f $$file; then d=.; else d=$(srcdir); fi; \
199
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
200
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
201
$(mkinstalldirs) "$(distdir)/$$dir"; \
203
if test -d $$d/$$file; then \
204
cp -pR $$d/$$file $(distdir) \
207
test -f $(distdir)/$$file \
208
|| cp -p $$d/$$file $(distdir)/$$file \
219
install-exec: install-exec-am
220
install-data: install-data-am
221
uninstall: uninstall-am
224
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
226
installcheck: installcheck-am
228
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
229
`test -z '$(STRIP)' || \
230
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
234
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
237
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
238
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
240
maintainer-clean-generic:
241
@echo "This command is intended for maintainers to use"
242
@echo "it deletes files that may require special tools to rebuild."
243
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
246
clean-am: clean-generic clean-libtool mostlyclean-am
248
distclean: distclean-am
250
distclean-am: clean-am distclean-generic distclean-libtool
264
install-info: install-info-am
270
maintainer-clean: maintainer-clean-am
272
maintainer-clean-am: distclean-am maintainer-clean-generic
274
mostlyclean: mostlyclean-am
276
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
278
uninstall-am: uninstall-info-am
280
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
281
distclean distclean-generic distclean-libtool distdir dvi \
282
dvi-am info info-am install install-am install-data \
283
install-data-am install-exec install-exec-am install-info \
284
install-info-am install-man install-strip installcheck \
285
installcheck-am installdirs maintainer-clean \
286
maintainer-clean-generic mostlyclean mostlyclean-generic \
287
mostlyclean-libtool uninstall uninstall-am uninstall-info-am
291
clean-doc clean-docs : clean-unpack
292
- rm $(DISTCLEANFILES)
293
- rm $(MAINTAINERCLEANFILES)
295
# -------------------------------------------------------------------
296
zziplib.spec : @top_srcdir@/$(PACKAGE).spec
297
@ $(LN_S) $? $@ # the two zzip-doc.* will grep thru zziplib.spec
298
doc : $(doc_FILES) $(htm_FILES:.htm=.html)
299
docs : doc manpages.ar htmpages.ar
300
zziplib0.html : zziplib0.xml
301
zziplib0.xml : zziplib.spec @srcdir@/Makefile.am \
302
$(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c
303
- @PERL@ $(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c \
304
"suffix=0" "package=$(PACKAGE)" "version=$(VERSION)" \
305
"mainheader=zzip/zzip.h" "exported=<zzip/zzip.h> // or <zziplib.h>" \
308
zziplib1.html : zziplib1.xml
309
zziplib1.xml : zziplib.spec @srcdir@/Makefile.am \
310
$(srcdir)/zzip-doc.pl @top_srcdir@/zzip/*.c
311
- @PERL@ $(srcdir)/zzip-doc.pl @top_srcdir@/zzip/*.c
312
- test -f zziplib1.docbook && mv zziplib1.docbook $@ ; test -s $@
313
# zziplib2.html : zziplib2.xml
314
# zziplib2.xml : zziplib.spec @srcdir@/Makefile.am \
315
# $(srcdir)/zzip-doc.php @top_srcdir@/zzip/*.c
316
# - @PHP@ -q $(srcdir)/zzip-doc.php @top_srcdir@/zzip/*.c
317
# - test -f zziplib2.docbook && mv zziplib2.docbook $@ ; test -s $@
318
zziplib.html : zziplib1.html zziplib0.html
319
- test -s zziplib1.html && cp zziplib1.html zziplib.html
320
- test -s zziplib0.html && cp zziplib0.html zziplib.html
322
zziplib.xml : zziplib1.xml zziplib0.xml
323
- test -s zziplib1.xml && cp zziplib1.xml zziplib.xml
324
- test -s zziplib0.xml && cp zziplib0.xml zziplib.xml
327
install-docu: $(doc_FILES) $(htm_FILES:.htm=.html) $(PACKAGE)-doc.omf
328
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
329
for i in $(htm_FILES) ; do cat $${i}l \
330
| sed -e 's:--START-->:-- :' -e 's:<!--ENDS--: --:' \
331
-e "s:\\(href=\"[^/\"]*\\)[.]html\":\\1.htm\":" \
332
-e "s:\\(href=\"[^/\"]*\\)[.]html\#:\\1.htm\#:" \
333
> $(DESTDIR)$(pkgdocdir)/$$i ; done
334
@ for i in $(doc_FILES) $(DOCEXAMPLES) $(srcdir)/README.* \
335
; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
336
$(DESTDIR)$(pkgdocdir) ; done
337
(cd $(DESTDIR)$(pkgdocdir) && ln -sf zziplib.html zziplib.htm)
338
$(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
339
$(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
340
- test ".$(DESTDIR)" != "." || scrollkeeper-update
342
install-sfnet: $(doc_FILES) $(htm_FILES:.htm=.html) htmpages.ar
343
$(mkinstalldirs) $(DESTDIR)$(SFNETDOC)
344
$(INSTALL_DATA) $(htm_FILES:.htm=.html) $(DESTDIR)$(SFNETDOC)
345
for i in $(doc_FILES) $(DOCEXAMPLES) $(changelog) $(srcdir)/README.* \
346
; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
347
$(DESTDIR)$(SFNETDOC) ; done
348
(cd $(DESTDIR)$(SFNETDOC) && ln -sf zzip-index.html index.html)
349
$(mkinstalldirs) $(DESTDIR)$(SFNETDOC)/man
350
(test -f htmpages.ar || cd "$srcdir" ; P=`pwd` \
351
; cd $(DESTDIR)$(SFNETDOC)/man && ar x $$P/htmpages.ar)
353
install-doc : install-docu install-sfnet
355
# --------------------------------------------------------------------
356
man manpages : manpages.ar
357
htm htmpages : htmpages.ar
359
manpages.ar : zziplib.xml
360
@ if test "$(XMLTO)" = ":" \
361
; then echo no xmlto found - could not regenerate "$@" - skipped \
362
; echo just touching the output file "$@" ; touch "$@" \
363
; else echo going to regenerate "$@" in subdir "'"man"'" \
364
; echo 'test ! -d man || rm man/* ; test -d man || mkdir man' \
365
; test ! -d man || rm man/* ; test -d man || mkdir man \
366
; echo '(cd man && xmlto man ../zziplib.xml)' \
367
; (cd man && xmlto man ../zziplib.xml) \
368
; echo 'test ! -f $@ || mv $@ $@.old' \
369
; test ! -f $@ || mv $@ $@.old \
370
; echo '(cd man && ar qc ../$@ *.3)' \
371
; (cd man && ar qc ../$@ *.3) \
372
; echo '(rm man/*.3 ; rmdir man)' \
373
; (rm man/*.3 ; rmdir man) \
374
; fi ; test -s $@ || mv $@.old $@
376
htmpages.ar : zziplib.xml
377
@ if test "$(XMLTO)" = ":" \
378
; then echo no xmlto found - could not regenerate "$@" - skipped \
379
; echo just touching the output file "$@" ; touch "$@" \
380
; else echo going to regenerate "$@" in subdir "'"man"'" \
381
; echo 'test ! -d man || rm /* ; test -d man || mkdir man' \
382
; test ! -d man || rm man/* ; test -d man || mkdir man \
383
; echo '(cd man && xmlto html ../zziplib.xml | tee written.lst)' \
384
; (cd man && xmlto html ../zziplib.xml | tee written.lst) \
385
; echo 'test ! -f $@ || mv $@ $@.old' \
386
; test ! -f $@ || mv $@ $@.old \
387
; echo '(cd man && ar qc ../$@ *.*)' \
388
; (cd man && ar qc ../$@ *.*) \
389
; echo '(rm man/*.* ; rmdir man)' \
390
; (rm man/*.* ; rmdir man) \
391
; fi ; test -s $@ || mv $@.old $@
393
install-man3 : manpages.ar
394
$(mkinstalldirs) $(DESTDIR)$(mandir)/man3
395
P=`pwd` ; cd $(DESTDIR)$(mandir)/man3 \
396
&& ar x $$P/manpages.ar && chmod 664 *
398
unpack : manpages.ar htmpages.ar
399
(rm -rf _htm && mkdir _htm && cd _htm && ar x ../htmpages.ar)
400
(rm -rf _man && mkdir _man && cd _man && ar x ../manpages.ar)
405
$(PACKAGE)-doc.omf : $(spec_file) Makefile
406
echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
407
echo '<omf><resource><creator> Guido Draheim </creator>' >>$@
408
grep Packager $(FROMSPEC) | sed -e 's,Packager *: *, <maintainer>,' \
409
-e '/<maintainer>/s,$$,</maintainer>,' >>$@
410
grep Summary $(FROMSPEC) | sed -e 's,Summary *: *, <title>,' \
411
-e '/<title>/s,$$,</title>,' >>$@
412
echo ' <date>'$(DATESPEC)'</date>' >>$@
413
echo ' <version identifier="$(VERSION)" date="'$(DATESPEC)'"/>' >>$@
414
grep Group $(FROMSPEC) | sed -e 's,Group *: *, <subject category=",' \
415
-e 's,/,|,g' -e '/<subject/s,$$," />,' >>$@
416
echo ' <format mime="text/html"/>' >>$@
417
echo ' <identifier url="file:$(pkgdocdir)/zzip-index.htm"/>' >>$@
418
echo ' <language code="C"/>' >>$@
419
echo ' <relation seriesid="$(DOCSERIES)"/>' >>$@
420
echo ' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
421
echo ' license="$(pkgdocdir)/COPYING.LIB"/>' >>$@
422
echo '</resource></omf>' >>$@
423
$(PACKAGE)-man.omf : $(PACKAGE)-doc.omf $(PACKAGE).xml
424
sed -e 's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
425
-e 's,</title>, (Function Reference)</title>,' \
426
-e 's,/index.html,/manpages.xml,' \
427
-e 's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE)-doc.omf > $@
430
omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
431
install-omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
432
$(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
433
$(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
434
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
435
$(INSTALL_DATA) $(PACKAGE).xml $(DESTDIR)$(pkgdocdir)/manpages.xml
436
$(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/
437
- test ".$(DESTDIR)" != "." || scrollkeeper-update -v
439
x : $(htm_FILES:.htm=.html)
440
$(htm_FILES:.htm=.html) : body.htm
442
@ title=`grep '<h2>' $< | sed -e 's:</h2>.*::' -e 's:<[^<>]*>::g'` \
443
; D=$(DATESPEC) ; cat body.htm \
444
| sed -e "s/<!--VERSION-->/$(VERSION)/" \
445
| sed -e "s/<!--DATE-->/$$D/" \
446
| sed -e "s:</title>: - $$title</title>:" \
447
| sed -e "/$@.>/s:\\([^<>]*\\)</a>:<b>\\1</b></a>:" \
449
@ echo $< '>>' $@; cat $< | sed -e "s/<!--VERSION-->/$(VERSION)/" \
450
-e "s:</h2>\\(.*\\):</h2></td><td><i>\\1</i></td></tr></table>:" \
451
-e 's:<h2>:<table width="100%"><tr valign="bottom"><td><h2>:' \
452
-e 's:<td><i>:<td align="right"><br> <i>:' \
453
-e 's:<P>:<p class="justify"><span class="justify">:g' \
454
-e 's:</P>:</span></p>:g' \
455
-e 's,<date>,<!--DATE: ,' -e 's,</date>, -->,' \
456
-e 's,<!--border-->,$(borderhead)<!--BORDER-->,' >>$@
457
@ if grep '<!--BORDER-->' $@ >/dev/null ; then : \
458
; echo "$(bordertail)<!--/BORDER-->" >>$@ ; fi
459
@ D=`grep '<!--DATE:' $@ | sed -e 's,.*<!--DATE: *,,' -e 's, *-->,,'` \
460
; if test ".$$D" != "." ; then echo '$(datehead)' >>$@ \
461
; echo "$$D" >> $@ ; echo "$(datetail)" >> $@ ; fi
462
@ echo "</td></tr></table></body></html>" >>$@
464
zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl
465
@PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@
466
test -s "$@" || rm "$@"
469
xmlto html-nochunks zzip.xml
472
# Tell versions [3.59,3.63) of GNU make to not export all variables.
473
# Otherwise a system limit (for SysV at least) may be exceeded.