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