Imported Upstream version 1.3.14
[debian/gzip] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libgzip --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=getline --avoid=rpmatch --no-libtool --macro-prefix=gl announce-gen calloc close closein fclose fcntl fcntl-safer fdl fprintf-posix getopt-gnu git-version-gen gitlog-to-changelog gnu-make gnu-web-doc-update gnumakefile gnupload lstat maintainer-makefile malloc perror printf-posix realloc stat-time sys_stat time update-copyright utimens xalloc yesno
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28
29 AM_CPPFLAGS =
30 AM_CFLAGS =
31
32 noinst_LIBRARIES += libgzip.a
33
34 libgzip_a_SOURCES =
35 libgzip_a_LIBADD = $(gl_LIBOBJS)
36 libgzip_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgzip_a_SOURCES =
38
39 ## begin gnulib module alloca-opt
40
41 BUILT_SOURCES += $(ALLOCA_H)
42
43 # We need the following in order to create <alloca.h> when the system
44 # doesn't have one that works with the given compiler.
45 alloca.h: alloca.in.h
46         $(AM_V_GEN)rm -f $@-t $@ && \
47         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
48           cat $(srcdir)/alloca.in.h; \
49         } > $@-t && \
50         mv -f $@-t $@
51 MOSTLYCLEANFILES += alloca.h alloca.h-t
52
53 EXTRA_DIST += alloca.in.h
54
55 ## end   gnulib module alloca-opt
56
57 ## begin gnulib module announce-gen
58
59
60 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
61
62 ## end   gnulib module announce-gen
63
64 ## begin gnulib module calloc
65
66
67 EXTRA_DIST += calloc.c
68
69 EXTRA_libgzip_a_SOURCES += calloc.c
70
71 ## end   gnulib module calloc
72
73 ## begin gnulib module calloc-posix
74
75
76 EXTRA_DIST += calloc.c
77
78 EXTRA_libgzip_a_SOURCES += calloc.c
79
80 ## end   gnulib module calloc-posix
81
82 ## begin gnulib module close
83
84
85 EXTRA_DIST += close.c
86
87 EXTRA_libgzip_a_SOURCES += close.c
88
89 ## end   gnulib module close
90
91 ## begin gnulib module close-hook
92
93 libgzip_a_SOURCES += close-hook.c
94
95 EXTRA_DIST += close-hook.h
96
97 ## end   gnulib module close-hook
98
99 ## begin gnulib module close-stream
100
101
102 EXTRA_DIST += close-stream.c close-stream.h
103
104 EXTRA_libgzip_a_SOURCES += close-stream.c
105
106 ## end   gnulib module close-stream
107
108 ## begin gnulib module closein
109
110
111 EXTRA_DIST += closein.c closein.h
112
113 EXTRA_libgzip_a_SOURCES += closein.c
114
115 ## end   gnulib module closein
116
117 ## begin gnulib module closeout
118
119
120 EXTRA_DIST += closeout.c closeout.h
121
122 EXTRA_libgzip_a_SOURCES += closeout.c
123
124 ## end   gnulib module closeout
125
126 ## begin gnulib module configmake
127
128 # Retrieve values of the variables through 'configure' followed by
129 # 'make', not directly through 'configure', so that a user who
130 # sets some of these variables consistently on the 'make' command
131 # line gets correct results.
132 #
133 # One advantage of this approach, compared to the classical
134 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
135 # is that it protects against the use of undefined variables.
136 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
137 # defined by this module, and code using LIBDIR gives a
138 # compilation error.
139 #
140 # Another advantage is that 'make' output is shorter.
141 #
142 # Listed in the same order as the GNU makefile conventions.
143 # The Automake-defined pkg* macros are appended, in the order
144 # listed in the Automake 1.10a+ documentation.
145 configmake.h: Makefile
146         $(AM_V_GEN)rm -f $@-t && \
147         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
148           echo '#define PREFIX "$(prefix)"'; \
149           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
150           echo '#define BINDIR "$(bindir)"'; \
151           echo '#define SBINDIR "$(sbindir)"'; \
152           echo '#define LIBEXECDIR "$(libexecdir)"'; \
153           echo '#define DATAROOTDIR "$(datarootdir)"'; \
154           echo '#define DATADIR "$(datadir)"'; \
155           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
156           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
157           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
158           echo '#define INCLUDEDIR "$(includedir)"'; \
159           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
160           echo '#define DOCDIR "$(docdir)"'; \
161           echo '#define INFODIR "$(infodir)"'; \
162           echo '#define HTMLDIR "$(htmldir)"'; \
163           echo '#define DVIDIR "$(dvidir)"'; \
164           echo '#define PDFDIR "$(pdfdir)"'; \
165           echo '#define PSDIR "$(psdir)"'; \
166           echo '#define LIBDIR "$(libdir)"'; \
167           echo '#define LISPDIR "$(lispdir)"'; \
168           echo '#define LOCALEDIR "$(localedir)"'; \
169           echo '#define MANDIR "$(mandir)"'; \
170           echo '#define MANEXT "$(manext)"'; \
171           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
172           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
173           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
174           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
175         } | sed '/""/d' > $@-t && \
176         if test -f $@ && cmp $@-t $@ > /dev/null; then \
177           rm -f $@-t; \
178         else \
179           rm -f $@; mv $@-t $@; \
180         fi
181
182 BUILT_SOURCES += configmake.h
183 CLEANFILES += configmake.h configmake.h-t
184
185 ## end   gnulib module configmake
186
187 ## begin gnulib module dup2
188
189
190 EXTRA_DIST += dup2.c
191
192 EXTRA_libgzip_a_SOURCES += dup2.c
193
194 ## end   gnulib module dup2
195
196 ## begin gnulib module errno
197
198 BUILT_SOURCES += $(ERRNO_H)
199
200 # We need the following in order to create <errno.h> when the system
201 # doesn't have one that is POSIX compliant.
202 errno.h: errno.in.h
203         $(AM_V_GEN)rm -f $@-t $@ && \
204         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
205           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
206               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
207               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
208               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
209               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
210               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
211               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
212               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
213               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
214               < $(srcdir)/errno.in.h; \
215         } > $@-t && \
216         mv $@-t $@
217 MOSTLYCLEANFILES += errno.h errno.h-t
218
219 EXTRA_DIST += errno.in.h
220
221 ## end   gnulib module errno
222
223 ## begin gnulib module error
224
225
226 EXTRA_DIST += error.c error.h
227
228 EXTRA_libgzip_a_SOURCES += error.c
229
230 ## end   gnulib module error
231
232 ## begin gnulib module exitfail
233
234
235 EXTRA_DIST += exitfail.c exitfail.h
236
237 EXTRA_libgzip_a_SOURCES += exitfail.c
238
239 ## end   gnulib module exitfail
240
241 ## begin gnulib module fclose
242
243
244 EXTRA_DIST += fclose.c
245
246 EXTRA_libgzip_a_SOURCES += fclose.c
247
248 ## end   gnulib module fclose
249
250 ## begin gnulib module fcntl-h
251
252 BUILT_SOURCES += $(FCNTL_H)
253
254 # We need the following in order to create <fcntl.h> when the system
255 # doesn't have one that works with the given compiler.
256 fcntl.h: fcntl.in.h
257         $(AM_V_GEN)rm -f $@-t $@ && \
258         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
259           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
260               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
261               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
262               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
263               -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
264               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
265               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
266               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
267               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
268               < $(srcdir)/fcntl.in.h; \
269         } > $@-t && \
270         mv $@-t $@
271 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
272
273 EXTRA_DIST += fcntl.in.h
274
275 ## end   gnulib module fcntl-h
276
277 ## begin gnulib module fcntl-safer
278
279
280 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
281
282 EXTRA_libgzip_a_SOURCES += creat-safer.c open-safer.c
283
284 ## end   gnulib module fcntl-safer
285
286 ## begin gnulib module fflush
287
288
289 EXTRA_DIST += fflush.c stdio-impl.h
290
291 EXTRA_libgzip_a_SOURCES += fflush.c
292
293 ## end   gnulib module fflush
294
295 ## begin gnulib module float
296
297 BUILT_SOURCES += $(FLOAT_H)
298
299 # We need the following in order to create <float.h> when the system
300 # doesn't have one that works with the given compiler.
301 float.h: float.in.h
302         $(AM_V_GEN)rm -f $@-t $@ && \
303         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
304           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
305               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
306               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
307               < $(srcdir)/float.in.h; \
308         } > $@-t && \
309         mv $@-t $@
310 MOSTLYCLEANFILES += float.h float.h-t
311
312 EXTRA_DIST += float.in.h
313
314 ## end   gnulib module float
315
316 ## begin gnulib module fpending
317
318
319 EXTRA_DIST += fpending.c fpending.h
320
321 EXTRA_libgzip_a_SOURCES += fpending.c
322
323 ## end   gnulib module fpending
324
325 ## begin gnulib module fprintf-posix
326
327
328 EXTRA_DIST += fprintf.c
329
330 EXTRA_libgzip_a_SOURCES += fprintf.c
331
332 ## end   gnulib module fprintf-posix
333
334 ## begin gnulib module fpucw
335
336
337 EXTRA_DIST += fpucw.h
338
339 ## end   gnulib module fpucw
340
341 ## begin gnulib module fpurge
342
343
344 EXTRA_DIST += fpurge.c stdio-impl.h
345
346 EXTRA_libgzip_a_SOURCES += fpurge.c
347
348 ## end   gnulib module fpurge
349
350 ## begin gnulib module freadahead
351
352 libgzip_a_SOURCES += freadahead.c
353
354 EXTRA_DIST += freadahead.h stdio-impl.h
355
356 ## end   gnulib module freadahead
357
358 ## begin gnulib module freading
359
360 libgzip_a_SOURCES += freading.c
361
362 EXTRA_DIST += freading.h stdio-impl.h
363
364 ## end   gnulib module freading
365
366 ## begin gnulib module frexp-nolibm
367
368
369 EXTRA_DIST += frexp.c
370
371 EXTRA_libgzip_a_SOURCES += frexp.c
372
373 ## end   gnulib module frexp-nolibm
374
375 ## begin gnulib module frexpl-nolibm
376
377
378 EXTRA_DIST += frexp.c frexpl.c
379
380 EXTRA_libgzip_a_SOURCES += frexp.c frexpl.c
381
382 ## end   gnulib module frexpl-nolibm
383
384 ## begin gnulib module fseeko
385
386
387 EXTRA_DIST += fseeko.c stdio-impl.h
388
389 EXTRA_libgzip_a_SOURCES += fseeko.c
390
391 ## end   gnulib module fseeko
392
393 ## begin gnulib module fseterr
394
395 libgzip_a_SOURCES += fseterr.c
396
397 EXTRA_DIST += fseterr.h stdio-impl.h
398
399 ## end   gnulib module fseterr
400
401 ## begin gnulib module ftello
402
403
404 EXTRA_DIST += ftello.c
405
406 EXTRA_libgzip_a_SOURCES += ftello.c
407
408 ## end   gnulib module ftello
409
410 ## begin gnulib module gendocs
411
412
413 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
414
415 ## end   gnulib module gendocs
416
417 ## begin gnulib module getopt-posix
418
419 BUILT_SOURCES += $(GETOPT_H)
420
421 # We need the following in order to create <getopt.h> when the system
422 # doesn't have one that works with the given compiler.
423 getopt.h: getopt.in.h
424         $(AM_V_GEN)rm -f $@-t $@ && \
425         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
426           sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
427               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
428               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
429               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
430               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
431               < $(srcdir)/getopt.in.h; \
432         } > $@-t && \
433         mv -f $@-t $@
434 MOSTLYCLEANFILES += getopt.h getopt.h-t
435
436 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
437
438 EXTRA_libgzip_a_SOURCES += getopt.c getopt1.c
439
440 ## end   gnulib module getopt-posix
441
442 ## begin gnulib module getpagesize
443
444
445 EXTRA_DIST += getpagesize.c
446
447 EXTRA_libgzip_a_SOURCES += getpagesize.c
448
449 ## end   gnulib module getpagesize
450
451 ## begin gnulib module gettext-h
452
453 libgzip_a_SOURCES += gettext.h
454
455 ## end   gnulib module gettext-h
456
457 ## begin gnulib module gettime
458
459
460 EXTRA_DIST += gettime.c
461
462 EXTRA_libgzip_a_SOURCES += gettime.c
463
464 ## end   gnulib module gettime
465
466 ## begin gnulib module gettimeofday
467
468
469 EXTRA_DIST += gettimeofday.c
470
471 EXTRA_libgzip_a_SOURCES += gettimeofday.c
472
473 ## end   gnulib module gettimeofday
474
475 ## begin gnulib module git-version-gen
476
477
478 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
479
480 ## end   gnulib module git-version-gen
481
482 ## begin gnulib module gitlog-to-changelog
483
484
485 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
486
487 ## end   gnulib module gitlog-to-changelog
488
489 ## begin gnulib module gnu-make
490
491 ##Sample usage of gnu-make module:
492 #if GNU_MAKE
493 #       [nicer features that work only with GNU Make]
494 #else
495 #       [fallback features that work in any 'make' implementation; see
496 #       http://www.opengroup.org/susv3/utilities/make.html
497 #       for the 2004 POSIX specification]
498 #endif
499
500 ## end   gnulib module gnu-make
501
502 ## begin gnulib module gnu-web-doc-update
503
504
505 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
506
507 ## end   gnulib module gnu-web-doc-update
508
509 ## begin gnulib module gnumakefile
510
511 distclean-local: clean-GNUmakefile
512 clean-GNUmakefile:
513         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
514
515 EXTRA_DIST += $(top_srcdir)/GNUmakefile
516
517 ## end   gnulib module gnumakefile
518
519 ## begin gnulib module gnupload
520
521
522 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
523
524 ## end   gnulib module gnupload
525
526 ## begin gnulib module intprops
527
528
529 EXTRA_DIST += intprops.h
530
531 ## end   gnulib module intprops
532
533 ## begin gnulib module isnand-nolibm
534
535
536 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
537
538 EXTRA_libgzip_a_SOURCES += isnan.c isnand.c
539
540 ## end   gnulib module isnand-nolibm
541
542 ## begin gnulib module isnanf-nolibm
543
544
545 EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
546
547 EXTRA_libgzip_a_SOURCES += isnan.c isnanf.c
548
549 ## end   gnulib module isnanf-nolibm
550
551 ## begin gnulib module isnanl-nolibm
552
553
554 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
555
556 EXTRA_libgzip_a_SOURCES += isnan.c isnanl.c
557
558 ## end   gnulib module isnanl-nolibm
559
560 ## begin gnulib module link-warning
561
562 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
563
564 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
565
566 ## end   gnulib module link-warning
567
568 ## begin gnulib module localcharset
569
570 libgzip_a_SOURCES += localcharset.h localcharset.c
571
572 # We need the following in order to install a simple file in $(libdir)
573 # which is shared with other installed packages. We use a list of referencing
574 # packages so that "make uninstall" will remove the file if and only if it
575 # is not used by another installed package.
576 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
577 # avoid installing it.
578
579 all-local: charset.alias ref-add.sed ref-del.sed
580
581 charset_alias = $(DESTDIR)$(libdir)/charset.alias
582 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
583 install-exec-local: install-exec-localcharset
584 install-exec-localcharset: all-local
585         if test $(GLIBC21) = no; then \
586           case '$(host_os)' in \
587             darwin[56]*) \
588               need_charset_alias=true ;; \
589             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
590               need_charset_alias=false ;; \
591             *) \
592               need_charset_alias=true ;; \
593           esac ; \
594         else \
595           need_charset_alias=false ; \
596         fi ; \
597         if $$need_charset_alias; then \
598           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
599         fi ; \
600         if test -f $(charset_alias); then \
601           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
602           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
603           rm -f $(charset_tmp) ; \
604         else \
605           if $$need_charset_alias; then \
606             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
607             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
608             rm -f $(charset_tmp) ; \
609           fi ; \
610         fi
611
612 uninstall-local: uninstall-localcharset
613 uninstall-localcharset: all-local
614         if test -f $(charset_alias); then \
615           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
616           if grep '^# Packages using this file: $$' $(charset_tmp) \
617               > /dev/null; then \
618             rm -f $(charset_alias); \
619           else \
620             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
621           fi; \
622           rm -f $(charset_tmp); \
623         fi
624
625 charset.alias: config.charset
626         $(AM_V_GEN)rm -f t-$@ $@ && \
627         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
628         mv t-$@ $@
629
630 SUFFIXES += .sed .sin
631 .sin.sed:
632         $(AM_V_GEN)rm -f t-$@ $@ && \
633         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
634         mv t-$@ $@
635
636 CLEANFILES += charset.alias ref-add.sed ref-del.sed
637
638 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
639
640 ## end   gnulib module localcharset
641
642 ## begin gnulib module lseek
643
644
645 EXTRA_DIST += lseek.c
646
647 EXTRA_libgzip_a_SOURCES += lseek.c
648
649 ## end   gnulib module lseek
650
651 ## begin gnulib module lstat
652
653
654 EXTRA_DIST += lstat.c
655
656 EXTRA_libgzip_a_SOURCES += lstat.c
657
658 ## end   gnulib module lstat
659
660 ## begin gnulib module maintainer-makefile
661
662 EXTRA_DIST += $(top_srcdir)/maint.mk
663
664 ## end   gnulib module maintainer-makefile
665
666 ## begin gnulib module malloc
667
668
669 EXTRA_DIST += malloc.c
670
671 EXTRA_libgzip_a_SOURCES += malloc.c
672
673 ## end   gnulib module malloc
674
675 ## begin gnulib module malloc-posix
676
677
678 EXTRA_DIST += malloc.c
679
680 EXTRA_libgzip_a_SOURCES += malloc.c
681
682 ## end   gnulib module malloc-posix
683
684 ## begin gnulib module math
685
686 BUILT_SOURCES += math.h
687
688 # We need the following in order to create <math.h> when the system
689 # doesn't have one that works with the given compiler.
690 math.h: math.in.h
691         $(AM_V_GEN)rm -f $@-t $@ && \
692         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
693           sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
694               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
695               -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
696               -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
697               -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
698               -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
699               -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
700               -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
701               -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
702               -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
703               -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
704               -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
705               -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
706               -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
707               -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
708               -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
709               -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \
710               -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
711               -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
712               -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
713               -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
714               -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
715               -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
716               -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
717               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
718               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
719               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
720               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
721               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
722               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
723               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
724               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
725               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
726               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
727               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
728               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
729               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
730               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
731               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
732               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
733               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
734               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
735               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
736               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
737               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
738               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
739               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
740               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
741               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
742               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
743               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
744               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
745               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
746               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
747               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
748               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
749               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
750               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
751               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
752               < $(srcdir)/math.in.h; \
753         } > $@-t && \
754         mv $@-t $@
755 MOSTLYCLEANFILES += math.h math.h-t
756
757 EXTRA_DIST += math.in.h
758
759 ## end   gnulib module math
760
761 ## begin gnulib module mbrtowc
762
763
764 EXTRA_DIST += mbrtowc.c
765
766 EXTRA_libgzip_a_SOURCES += mbrtowc.c
767
768 ## end   gnulib module mbrtowc
769
770 ## begin gnulib module mbsinit
771
772
773 EXTRA_DIST += mbsinit.c
774
775 EXTRA_libgzip_a_SOURCES += mbsinit.c
776
777 ## end   gnulib module mbsinit
778
779 ## begin gnulib module memchr
780
781
782 EXTRA_DIST += memchr.c memchr.valgrind
783
784 EXTRA_libgzip_a_SOURCES += memchr.c
785
786 ## end   gnulib module memchr
787
788 ## begin gnulib module open
789
790
791 EXTRA_DIST += open.c
792
793 EXTRA_libgzip_a_SOURCES += open.c
794
795 ## end   gnulib module open
796
797 ## begin gnulib module perror
798
799
800 EXTRA_DIST += perror.c
801
802 EXTRA_libgzip_a_SOURCES += perror.c
803
804 ## end   gnulib module perror
805
806 ## begin gnulib module printf-frexp
807
808 libgzip_a_SOURCES += printf-frexp.c
809
810 EXTRA_DIST += printf-frexp.h
811
812 ## end   gnulib module printf-frexp
813
814 ## begin gnulib module printf-frexpl
815
816 libgzip_a_SOURCES += printf-frexpl.c
817
818 EXTRA_DIST += printf-frexp.c printf-frexpl.h
819
820 EXTRA_libgzip_a_SOURCES += printf-frexp.c
821
822 ## end   gnulib module printf-frexpl
823
824 ## begin gnulib module printf-posix
825
826
827 EXTRA_DIST += printf.c
828
829 EXTRA_libgzip_a_SOURCES += printf.c
830
831 ## end   gnulib module printf-posix
832
833 ## begin gnulib module quotearg
834
835
836 EXTRA_DIST += quotearg.c quotearg.h
837
838 EXTRA_libgzip_a_SOURCES += quotearg.c
839
840 ## end   gnulib module quotearg
841
842 ## begin gnulib module realloc
843
844
845 EXTRA_DIST += realloc.c
846
847 EXTRA_libgzip_a_SOURCES += realloc.c
848
849 ## end   gnulib module realloc
850
851 ## begin gnulib module realloc-posix
852
853
854 EXTRA_DIST += realloc.c
855
856 EXTRA_libgzip_a_SOURCES += realloc.c
857
858 ## end   gnulib module realloc-posix
859
860 ## begin gnulib module signbit
861
862
863 EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
864
865 EXTRA_libgzip_a_SOURCES += signbitd.c signbitf.c signbitl.c
866
867 ## end   gnulib module signbit
868
869 ## begin gnulib module size_max
870
871 libgzip_a_SOURCES += size_max.h
872
873 ## end   gnulib module size_max
874
875 ## begin gnulib module stat
876
877
878 EXTRA_DIST += stat.c
879
880 EXTRA_libgzip_a_SOURCES += stat.c
881
882 ## end   gnulib module stat
883
884 ## begin gnulib module stat-time
885
886
887 EXTRA_DIST += stat-time.h
888
889 ## end   gnulib module stat-time
890
891 ## begin gnulib module stdbool
892
893 BUILT_SOURCES += $(STDBOOL_H)
894
895 # We need the following in order to create <stdbool.h> when the system
896 # doesn't have one that works.
897 stdbool.h: stdbool.in.h
898         $(AM_V_GEN)rm -f $@-t $@ && \
899         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
900           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
901         } > $@-t && \
902         mv $@-t $@
903 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
904
905 EXTRA_DIST += stdbool.in.h
906
907 ## end   gnulib module stdbool
908
909 ## begin gnulib module stddef
910
911 BUILT_SOURCES += $(STDDEF_H)
912
913 # We need the following in order to create <stddef.h> when the system
914 # doesn't have one that works with the given compiler.
915 stddef.h: stddef.in.h
916         $(AM_V_GEN)rm -f $@-t $@ && \
917         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
918           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
919               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
920               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
921               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
922               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
923               < $(srcdir)/stddef.in.h; \
924         } > $@-t && \
925         mv $@-t $@
926 MOSTLYCLEANFILES += stddef.h stddef.h-t
927
928 EXTRA_DIST += stddef.in.h
929
930 ## end   gnulib module stddef
931
932 ## begin gnulib module stdint
933
934 BUILT_SOURCES += $(STDINT_H)
935
936 # We need the following in order to create <stdint.h> when the system
937 # doesn't have one that works with the given compiler.
938 stdint.h: stdint.in.h
939         $(AM_V_GEN)rm -f $@-t $@ && \
940         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
941           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
942               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
943               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
944               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
945               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
946               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
947               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
948               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
949               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
950               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
951               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
952               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
953               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
954               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
955               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
956               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
957               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
958               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
959               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
960               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
961               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
962               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
963               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
964               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
965               < $(srcdir)/stdint.in.h; \
966         } > $@-t && \
967         mv $@-t $@
968 MOSTLYCLEANFILES += stdint.h stdint.h-t
969
970 EXTRA_DIST += stdint.in.h
971
972 ## end   gnulib module stdint
973
974 ## begin gnulib module stdio
975
976 BUILT_SOURCES += stdio.h
977
978 # We need the following in order to create <stdio.h> when the system
979 # doesn't have one that works with the given compiler.
980 stdio.h: stdio.in.h
981         $(AM_V_GEN)rm -f $@-t $@ && \
982         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
983           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
984               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
985               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
986               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
987               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
988               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
989               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
990               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
991               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
992               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
993               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
994               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
995               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
996               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
997               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
998               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
999               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
1000               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1001               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1002               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
1003               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1004               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
1005               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
1006               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1007               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1008               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1009               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1010               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1011               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1012               -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1013               -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1014               -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1015               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1016               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
1017               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
1018               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1019               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1020               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1021               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1022               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1023               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1024               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1025               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1026               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1027               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1028               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1029               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1030               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1031               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1032               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1033               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1034               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1035               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1036               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1037               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1038               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1039               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1040               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1041               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1042               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1043               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1044               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1045               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1046               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1047               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1048               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1049               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1050               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1051               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1052               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1053               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1054               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1055               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1056               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1057               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1058               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1059               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1060               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1061               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1062               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1063               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1064               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1065               < $(srcdir)/stdio.in.h; \
1066         } > $@-t && \
1067         mv $@-t $@
1068 MOSTLYCLEANFILES += stdio.h stdio.h-t
1069
1070 EXTRA_DIST += stdio-write.c stdio.in.h
1071
1072 EXTRA_libgzip_a_SOURCES += stdio-write.c
1073
1074 ## end   gnulib module stdio
1075
1076 ## begin gnulib module stdlib
1077
1078 BUILT_SOURCES += stdlib.h
1079
1080 # We need the following in order to create <stdlib.h> when the system
1081 # doesn't have one that works with the given compiler.
1082 stdlib.h: stdlib.in.h
1083         $(AM_V_GEN)rm -f $@-t $@ && \
1084         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1085           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1086               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1087               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1088               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1089               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1090               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1091               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1092               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1093               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1094               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1095               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1096               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1097               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1098               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1099               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1100               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1101               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1102               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1103               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1104               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1105               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1106               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1107               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1108               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
1109               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1110               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1111               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1112               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
1113               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1114               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1115               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1116               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1117               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
1118               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1119               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1120               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1121               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1122               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1123               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1124               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1125               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1126               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1127               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1128               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1129               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1130               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1131               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1132               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
1133               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1134               < $(srcdir)/stdlib.in.h; \
1135         } > $@-t && \
1136         mv $@-t $@
1137 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1138
1139 EXTRA_DIST += stdlib.in.h
1140
1141 ## end   gnulib module stdlib
1142
1143 ## begin gnulib module streq
1144
1145
1146 EXTRA_DIST += streq.h
1147
1148 ## end   gnulib module streq
1149
1150 ## begin gnulib module strerror
1151
1152
1153 EXTRA_DIST += strerror.c
1154
1155 EXTRA_libgzip_a_SOURCES += strerror.c
1156
1157 ## end   gnulib module strerror
1158
1159 ## begin gnulib module string
1160
1161 BUILT_SOURCES += string.h
1162
1163 # We need the following in order to create <string.h> when the system
1164 # doesn't have one that works with the given compiler.
1165 string.h: string.in.h
1166         $(AM_V_GEN)rm -f $@-t $@ && \
1167         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1168           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1169               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1170               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1171               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1172               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1173               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1174               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1175               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1176               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1177               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1178               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1179               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1180               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1181               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1182               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1183               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1184               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1185               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1186               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1187               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1188               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1189               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1190               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1191               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1192               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1193               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1194               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1195               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1196               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1197               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1198               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1199               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1200               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1201               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1202               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1203               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1204               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1205               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1206               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1207               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1208               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1209               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1210               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1211               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1212               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1213               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1214               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1215               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1216               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1217               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1218               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
1219               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1220               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1221               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1222               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1223               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1224               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1225               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1226               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1227               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1228               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1229               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1230               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1231               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1232               < $(srcdir)/string.in.h; \
1233         } > $@-t && \
1234         mv $@-t $@
1235 MOSTLYCLEANFILES += string.h string.h-t
1236
1237 EXTRA_DIST += string.in.h
1238
1239 ## end   gnulib module string
1240
1241 ## begin gnulib module sys_stat
1242
1243 BUILT_SOURCES += sys/stat.h
1244
1245 # We need the following in order to create <sys/stat.h> when the system
1246 # has one that is incomplete.
1247 sys/stat.h: sys_stat.in.h
1248         $(AM_V_at)$(MKDIR_P) sys
1249         $(AM_V_GEN)rm -f $@-t $@ && \
1250         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1251           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1252               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1253               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1254               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1255               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1256               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1257               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1258               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1259               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1260               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1261               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1262               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1263               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1264               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1265               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1266               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1267               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1268               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1269               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1270               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1271               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1272               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1273               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1274               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1275               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1276               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1277               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1278               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1279               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1280               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1281               < $(srcdir)/sys_stat.in.h; \
1282         } > $@-t && \
1283         mv $@-t $@
1284 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1285 MOSTLYCLEANDIRS += sys
1286
1287 EXTRA_DIST += sys_stat.in.h
1288
1289 ## end   gnulib module sys_stat
1290
1291 ## begin gnulib module sys_time
1292
1293 BUILT_SOURCES += $(SYS_TIME_H)
1294
1295 # We need the following in order to create <sys/time.h> when the system
1296 # doesn't have one that works with the given compiler.
1297 sys/time.h: sys_time.in.h
1298         $(AM_V_at)$(MKDIR_P) sys
1299         $(AM_V_GEN)rm -f $@-t $@ && \
1300         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1301           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1302               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1303               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1304               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1305               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1306               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1307               < $(srcdir)/sys_time.in.h; \
1308         } > $@-t && \
1309         mv $@-t $@
1310 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1311
1312 EXTRA_DIST += sys_time.in.h
1313
1314 ## end   gnulib module sys_time
1315
1316 ## begin gnulib module time
1317
1318 BUILT_SOURCES += time.h
1319
1320 # We need the following in order to create <time.h> when the system
1321 # doesn't have one that works with the given compiler.
1322 time.h: time.in.h
1323         $(AM_V_GEN)rm -f $@-t $@ && \
1324         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1325           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1326               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1327               -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1328               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1329               -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1330               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1331               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1332               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1333               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1334               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1335               < $(srcdir)/time.in.h; \
1336         } > $@-t && \
1337         mv $@-t $@
1338 MOSTLYCLEANFILES += time.h time.h-t
1339
1340 EXTRA_DIST += time.in.h
1341
1342 ## end   gnulib module time
1343
1344 ## begin gnulib module timespec
1345
1346
1347 EXTRA_DIST += timespec.h
1348
1349 ## end   gnulib module timespec
1350
1351 ## begin gnulib module unistd
1352
1353 BUILT_SOURCES += unistd.h
1354
1355 # We need the following in order to create an empty placeholder for
1356 # <unistd.h> when the system doesn't have one.
1357 unistd.h: unistd.in.h
1358         $(AM_V_GEN)rm -f $@-t $@ && \
1359         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1360           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1361               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1362               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1363               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1364               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1365               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1366               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1367               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1368               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1369               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1370               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1371               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1372               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1373               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1374               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1375               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1376               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1377               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1378               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1379               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1380               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1381               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1382               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1383               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1384               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1385               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1386               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1387               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1388               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1389               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1390               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1391               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1392               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1393               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1394               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1395               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1396               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1397               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1398               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1399               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1400               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1401               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1402               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1403               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1404               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1405               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1406               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1407               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1408               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1409               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1410               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1411               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1412               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1413               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1414               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1415               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1416               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1417               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1418               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1419               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1420               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1421               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1422               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1423               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1424               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1425               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1426               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1427               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1428               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1429               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1430               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1431               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1432               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1433               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1434               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1435               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1436               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1437               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1438               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1439               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1440               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1441               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1442               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1443               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1444               < $(srcdir)/unistd.in.h; \
1445         } > $@-t && \
1446         mv $@-t $@
1447 MOSTLYCLEANFILES += unistd.h unistd.h-t
1448
1449 EXTRA_DIST += unistd.in.h
1450
1451 ## end   gnulib module unistd
1452
1453 ## begin gnulib module unistd-safer
1454
1455
1456 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1457
1458 EXTRA_libgzip_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1459
1460 ## end   gnulib module unistd-safer
1461
1462 ## begin gnulib module update-copyright
1463
1464
1465 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1466
1467 ## end   gnulib module update-copyright
1468
1469 ## begin gnulib module useless-if-before-free
1470
1471
1472 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1473
1474 ## end   gnulib module useless-if-before-free
1475
1476 ## begin gnulib module utimens
1477
1478
1479 EXTRA_DIST += utimens.c utimens.h
1480
1481 EXTRA_libgzip_a_SOURCES += utimens.c
1482
1483 ## end   gnulib module utimens
1484
1485 ## begin gnulib module vasnprintf
1486
1487
1488 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1489
1490 EXTRA_libgzip_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1491
1492 ## end   gnulib module vasnprintf
1493
1494 ## begin gnulib module vc-list-files
1495
1496
1497 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1498
1499 ## end   gnulib module vc-list-files
1500
1501 ## begin gnulib module verify
1502
1503 libgzip_a_SOURCES += verify.h
1504
1505 ## end   gnulib module verify
1506
1507 ## begin gnulib module vfprintf-posix
1508
1509
1510 EXTRA_DIST += vfprintf.c
1511
1512 EXTRA_libgzip_a_SOURCES += vfprintf.c
1513
1514 ## end   gnulib module vfprintf-posix
1515
1516 ## begin gnulib module wchar
1517
1518 BUILT_SOURCES += $(WCHAR_H)
1519
1520 # We need the following in order to create <wchar.h> when the system
1521 # version does not work standalone.
1522 wchar.h: wchar.in.h
1523         $(AM_V_GEN)rm -f $@-t $@ && \
1524         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1525           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1526               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1527               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1528               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1529               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1530               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1531               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1532               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1533               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1534               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1535               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1536               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1537               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1538               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1539               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1540               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1541               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1542               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1543               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1544               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1545               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1546               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1547               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1548               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1549               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1550               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1551               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1552               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1553               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1554               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1555               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1556               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1557               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1558               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1559               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1560               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1561               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1562               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1563               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1564               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1565             < $(srcdir)/wchar.in.h; \
1566         } > $@-t && \
1567         mv $@-t $@
1568 MOSTLYCLEANFILES += wchar.h wchar.h-t
1569
1570 EXTRA_DIST += wchar.in.h
1571
1572 ## end   gnulib module wchar
1573
1574 ## begin gnulib module wctype
1575
1576 BUILT_SOURCES += $(WCTYPE_H)
1577
1578 # We need the following in order to create <wctype.h> when the system
1579 # doesn't have one that works with the given compiler.
1580 wctype.h: wctype.in.h
1581         $(AM_V_GEN)rm -f $@-t $@ && \
1582         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1583           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1584               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1585               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1586               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1587               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1588               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1589               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1590               < $(srcdir)/wctype.in.h; \
1591         } > $@-t && \
1592         mv $@-t $@
1593 MOSTLYCLEANFILES += wctype.h wctype.h-t
1594
1595 EXTRA_DIST += wctype.in.h
1596
1597 ## end   gnulib module wctype
1598
1599 ## begin gnulib module xalloc
1600
1601
1602 EXTRA_DIST += xalloc.h xmalloc.c
1603
1604 EXTRA_libgzip_a_SOURCES += xmalloc.c
1605
1606 ## end   gnulib module xalloc
1607
1608 ## begin gnulib module xalloc-die
1609
1610 libgzip_a_SOURCES += xalloc-die.c
1611
1612 ## end   gnulib module xalloc-die
1613
1614 ## begin gnulib module xsize
1615
1616 libgzip_a_SOURCES += xsize.h
1617
1618 ## end   gnulib module xsize
1619
1620 ## begin gnulib module yesno
1621
1622
1623 EXTRA_DIST += yesno.c yesno.h
1624
1625 EXTRA_libgzip_a_SOURCES += yesno.c
1626
1627 ## end   gnulib module yesno
1628
1629
1630 mostlyclean-local: mostlyclean-generic
1631         @for dir in '' $(MOSTLYCLEANDIRS); do \
1632           if test -n "$$dir" && test -d $$dir; then \
1633             echo "rmdir $$dir"; rmdir $$dir; \
1634           fi; \
1635         done; \
1636         :