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