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