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.
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.
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
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
31 noinst_LIBRARIES += libtar.a
34 libtar_a_LIBADD = $(gl_LIBOBJS)
35 libtar_a_DEPENDENCIES = $(gl_LIBOBJS)
36 EXTRA_libtar_a_SOURCES =
38 ## begin gnulib module alloca
41 EXTRA_DIST += alloca.c
43 EXTRA_libtar_a_SOURCES += alloca.c
45 libtar_a_LIBADD += @ALLOCA@
46 libtar_a_DEPENDENCIES += @ALLOCA@
47 ## end gnulib module alloca
49 ## begin gnulib module alloca-opt
51 BUILT_SOURCES += $(ALLOCA_H)
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.
56 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
57 cat $(srcdir)/alloca.in.h; \
60 MOSTLYCLEANFILES += alloca.h alloca.h-t
62 EXTRA_DIST += alloca.in.h
64 ## end gnulib module alloca-opt
66 ## begin gnulib module argmatch
69 EXTRA_DIST += argmatch.c argmatch.h
71 EXTRA_libtar_a_SOURCES += argmatch.c
73 ## end gnulib module argmatch
75 ## begin gnulib module argp
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 \
82 ## end gnulib module argp
84 ## begin gnulib module backupfile
87 EXTRA_DIST += backupfile.c backupfile.h
89 EXTRA_libtar_a_SOURCES += backupfile.c
91 ## end gnulib module backupfile
93 ## begin gnulib module btowc
98 EXTRA_libtar_a_SOURCES += btowc.c
100 ## end gnulib module btowc
102 ## begin gnulib module c-ctype
104 libtar_a_SOURCES += c-ctype.h c-ctype.c
106 ## end gnulib module c-ctype
108 ## begin gnulib module canonicalize-lgpl
111 EXTRA_DIST += canonicalize-lgpl.c canonicalize.h
113 EXTRA_libtar_a_SOURCES += canonicalize-lgpl.c
115 ## end gnulib module canonicalize-lgpl
117 ## begin gnulib module chdir-long
120 EXTRA_DIST += chdir-long.c chdir-long.h
122 EXTRA_libtar_a_SOURCES += chdir-long.c
124 ## end gnulib module chdir-long
126 ## begin gnulib module chown
129 EXTRA_DIST += chown.c fchown-stub.c
131 EXTRA_libtar_a_SOURCES += chown.c fchown-stub.c
133 ## end gnulib module chown
135 ## begin gnulib module close
138 EXTRA_DIST += close.c w32sock.h
140 EXTRA_libtar_a_SOURCES += close.c
142 ## end gnulib module close
144 ## begin gnulib module close-stream
147 EXTRA_DIST += close-stream.c close-stream.h
149 EXTRA_libtar_a_SOURCES += close-stream.c
151 ## end gnulib module close-stream
153 ## begin gnulib module closeout
156 EXTRA_DIST += closeout.c closeout.h
158 EXTRA_libtar_a_SOURCES += closeout.c
160 ## end gnulib module closeout
162 ## begin gnulib module configmake
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.
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
176 # Another advantage is that 'make' output is shorter.
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
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
213 BUILT_SOURCES += configmake.h
214 CLEANFILES += configmake.h configmake.h-t
216 ## end gnulib module configmake
218 ## begin gnulib module dirent
220 BUILT_SOURCES += $(DIRENT_H)
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
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; \
241 MOSTLYCLEANFILES += dirent.h dirent.h-t
243 EXTRA_DIST += dirent.in.h
245 ## end gnulib module dirent
247 ## begin gnulib module dirfd
250 EXTRA_DIST += dirfd.c
252 EXTRA_libtar_a_SOURCES += dirfd.c
254 ## end gnulib module dirfd
256 ## begin gnulib module dirname
259 EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c
261 EXTRA_libtar_a_SOURCES += basename.c dirname.c stripslash.c
263 ## end gnulib module dirname
265 ## begin gnulib module dup2
270 EXTRA_libtar_a_SOURCES += dup2.c
272 ## end gnulib module dup2
274 ## begin gnulib module errno
276 BUILT_SOURCES += $(ERRNO_H)
278 # We need the following in order to create <errno.h> when the system
279 # doesn't have one that is POSIX compliant.
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; \
295 MOSTLYCLEANFILES += errno.h errno.h-t
297 EXTRA_DIST += errno.in.h
299 ## end gnulib module errno
301 ## begin gnulib module error
304 EXTRA_DIST += error.c error.h
306 EXTRA_libtar_a_SOURCES += error.c
308 ## end gnulib module error
310 ## begin gnulib module exclude
313 EXTRA_DIST += exclude.c exclude.h
315 EXTRA_libtar_a_SOURCES += exclude.c
317 ## end gnulib module exclude
319 ## begin gnulib module exitfail
322 EXTRA_DIST += exitfail.c exitfail.h
324 EXTRA_libtar_a_SOURCES += exitfail.c
326 ## end gnulib module exitfail
328 ## begin gnulib module fchdir
331 EXTRA_DIST += fchdir.c
333 EXTRA_libtar_a_SOURCES += fchdir.c
335 ## end gnulib module fchdir
337 ## begin gnulib module fclose
340 EXTRA_DIST += fclose.c
342 EXTRA_libtar_a_SOURCES += fclose.c
344 ## end gnulib module fclose
346 ## begin gnulib module fcntl
348 BUILT_SOURCES += $(FCNTL_H)
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.
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; \
363 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
365 EXTRA_DIST += fcntl.in.h
367 ## end gnulib module fcntl
369 ## begin gnulib module fcntl-safer
372 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
374 EXTRA_libtar_a_SOURCES += creat-safer.c open-safer.c
376 ## end gnulib module fcntl-safer
378 ## begin gnulib module fileblocks
381 EXTRA_DIST += fileblocks.c
383 EXTRA_libtar_a_SOURCES += fileblocks.c
385 ## end gnulib module fileblocks
387 ## begin gnulib module float
389 BUILT_SOURCES += $(FLOAT_H)
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.
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; \
402 MOSTLYCLEANFILES += float.h float.h-t
404 EXTRA_DIST += float.in.h
406 ## end gnulib module float
408 ## begin gnulib module fnmatch
410 BUILT_SOURCES += $(FNMATCH_H)
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; \
419 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
421 EXTRA_DIST += fnmatch.c fnmatch.in.h fnmatch_loop.c
423 EXTRA_libtar_a_SOURCES += fnmatch.c fnmatch_loop.c
425 ## end gnulib module fnmatch
427 ## begin gnulib module fpending
430 EXTRA_DIST += fpending.c fpending.h
432 EXTRA_libtar_a_SOURCES += fpending.c
434 ## end gnulib module fpending
436 ## begin gnulib module fseeko
439 EXTRA_DIST += fseeko.c stdio-impl.h
441 EXTRA_libtar_a_SOURCES += fseeko.c
443 ## end gnulib module fseeko
445 ## begin gnulib module ftruncate
448 EXTRA_DIST += ftruncate.c
450 EXTRA_libtar_a_SOURCES += ftruncate.c
452 ## end gnulib module ftruncate
454 ## begin gnulib module full-write
456 libtar_a_SOURCES += full-write.h full-write.c
458 ## end gnulib module full-write
460 ## begin gnulib module getcwd
463 EXTRA_DIST += getcwd.c
465 EXTRA_libtar_a_SOURCES += getcwd.c
467 ## end gnulib module getcwd
469 ## begin gnulib module getdate
471 libtar_a_SOURCES += getdate.y
472 BUILT_SOURCES += getdate.c
473 MAINTAINERCLEANFILES += getdate.c
474 EXTRA_DIST += getdate.c
476 EXTRA_DIST += getdate.h
478 ## end gnulib module getdate
480 ## begin gnulib module getdelim
483 EXTRA_DIST += getdelim.c
485 EXTRA_libtar_a_SOURCES += getdelim.c
487 ## end gnulib module getdelim
489 ## begin gnulib module getline
492 EXTRA_DIST += getline.c
494 EXTRA_libtar_a_SOURCES += getline.c
496 ## end gnulib module getline
498 ## begin gnulib module getopt
500 BUILT_SOURCES += $(GETOPT_H)
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; \
509 MOSTLYCLEANFILES += getopt.h getopt.h-t
511 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
513 EXTRA_libtar_a_SOURCES += getopt.c getopt1.c
515 ## end gnulib module getopt
517 ## begin gnulib module getpagesize
520 EXTRA_DIST += getpagesize.c
522 EXTRA_libtar_a_SOURCES += getpagesize.c
524 ## end gnulib module getpagesize
526 ## begin gnulib module gettext
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
538 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
540 ## end gnulib module gettext
542 ## begin gnulib module gettext-h
544 libtar_a_SOURCES += gettext.h
546 ## end gnulib module gettext-h
548 ## begin gnulib module gettime
551 EXTRA_DIST += gettime.c
553 EXTRA_libtar_a_SOURCES += gettime.c
555 ## end gnulib module gettime
557 ## begin gnulib module gettimeofday
560 EXTRA_DIST += gettimeofday.c
562 EXTRA_libtar_a_SOURCES += gettimeofday.c
564 ## end gnulib module gettimeofday
566 ## begin gnulib module hash
569 EXTRA_DIST += hash.c hash.h
571 EXTRA_libtar_a_SOURCES += hash.c
573 ## end gnulib module hash
575 ## begin gnulib module havelib
578 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
580 ## end gnulib module havelib
582 ## begin gnulib module human
585 EXTRA_DIST += human.c human.h
587 EXTRA_libtar_a_SOURCES += human.c
589 ## end gnulib module human
591 ## begin gnulib module intprops
594 EXTRA_DIST += intprops.h
596 ## end gnulib module intprops
598 ## begin gnulib module inttostr
601 EXTRA_DIST += imaxtostr.c inttostr.c inttostr.h offtostr.c uinttostr.c umaxtostr.c
603 EXTRA_libtar_a_SOURCES += imaxtostr.c inttostr.c offtostr.c uinttostr.c umaxtostr.c
605 ## end gnulib module inttostr
607 ## begin gnulib module inttypes
609 BUILT_SOURCES += $(INTTYPES_H)
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
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; \
641 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
643 EXTRA_DIST += inttypes.in.h
645 ## end gnulib module inttypes
647 ## begin gnulib module lchown
650 EXTRA_DIST += lchown.c
652 EXTRA_libtar_a_SOURCES += lchown.c
654 ## end gnulib module lchown
656 ## begin gnulib module link-warning
658 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
660 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
662 ## end gnulib module link-warning
664 ## begin gnulib module localcharset
666 libtar_a_SOURCES += localcharset.h localcharset.c
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.
675 all-local: charset.alias ref-add.sed ref-del.sed
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 \
683 need_charset_alias=true ;; \
684 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
685 need_charset_alias=false ;; \
687 need_charset_alias=true ;; \
690 need_charset_alias=false ; \
692 if $$need_charset_alias; then \
693 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
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) ; \
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) ; \
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) \
712 rm -f $(charset_alias); \
714 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
716 rm -f $(charset_tmp); \
719 charset.alias: config.charset
721 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
724 SUFFIXES += .sed .sin
727 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
730 CLEANFILES += charset.alias ref-add.sed ref-del.sed
732 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
734 ## end gnulib module localcharset
736 ## begin gnulib module lseek
739 EXTRA_DIST += lseek.c
741 EXTRA_libtar_a_SOURCES += lseek.c
743 ## end gnulib module lseek
745 ## begin gnulib module lstat
748 EXTRA_DIST += lstat.c
750 EXTRA_libtar_a_SOURCES += lstat.c
752 ## end gnulib module lstat
754 ## begin gnulib module malloc
757 EXTRA_DIST += malloc.c
759 EXTRA_libtar_a_SOURCES += malloc.c
761 ## end gnulib module malloc
763 ## begin gnulib module malloc-posix
766 EXTRA_DIST += malloc.c
768 EXTRA_libtar_a_SOURCES += malloc.c
770 ## end gnulib module malloc-posix
772 ## begin gnulib module malloca
774 libtar_a_SOURCES += malloca.c
776 EXTRA_DIST += malloca.h malloca.valgrind
778 ## end gnulib module malloca
780 ## begin gnulib module mbchar
782 libtar_a_SOURCES += mbchar.c
784 EXTRA_DIST += mbchar.h
786 ## end gnulib module mbchar
788 ## begin gnulib module mbrtowc
791 EXTRA_DIST += mbrtowc.c
793 EXTRA_libtar_a_SOURCES += mbrtowc.c
795 ## end gnulib module mbrtowc
797 ## begin gnulib module mbscasecmp
799 libtar_a_SOURCES += mbscasecmp.c
801 ## end gnulib module mbscasecmp
803 ## begin gnulib module mbsinit
806 EXTRA_DIST += mbsinit.c
808 EXTRA_libtar_a_SOURCES += mbsinit.c
810 ## end gnulib module mbsinit
812 ## begin gnulib module mbuiter
814 libtar_a_SOURCES += mbuiter.h
816 ## end gnulib module mbuiter
818 ## begin gnulib module mempcpy
821 EXTRA_DIST += mempcpy.c
823 EXTRA_libtar_a_SOURCES += mempcpy.c
825 ## end gnulib module mempcpy
827 ## begin gnulib module memrchr
830 EXTRA_DIST += memrchr.c
832 EXTRA_libtar_a_SOURCES += memrchr.c
834 ## end gnulib module memrchr
836 ## begin gnulib module mkdtemp
839 EXTRA_DIST += mkdtemp.c
841 EXTRA_libtar_a_SOURCES += mkdtemp.c
843 ## end gnulib module mkdtemp
845 ## begin gnulib module mktime
848 EXTRA_DIST += mktime.c
850 EXTRA_libtar_a_SOURCES += mktime.c
852 ## end gnulib module mktime
854 ## begin gnulib module modechange
857 EXTRA_DIST += modechange.c modechange.h
859 EXTRA_libtar_a_SOURCES += modechange.c
861 ## end gnulib module modechange
863 ## begin gnulib module obstack
866 EXTRA_DIST += obstack.c obstack.h
868 EXTRA_libtar_a_SOURCES += obstack.c
870 ## end gnulib module obstack
872 ## begin gnulib module open
877 EXTRA_libtar_a_SOURCES += open.c
879 ## end gnulib module open
881 ## begin gnulib module openat
884 EXTRA_DIST += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-priv.h openat-proc.c openat.c openat.h
886 EXTRA_libtar_a_SOURCES += at-func.c fchmodat.c fchownat.c fstatat.c mkdirat.c openat-proc.c openat.c
888 ## end gnulib module openat
890 ## begin gnulib module openat-die
892 libtar_a_SOURCES += openat-die.c
894 ## end gnulib module openat-die
896 ## begin gnulib module pathmax
899 EXTRA_DIST += pathmax.h
901 ## end gnulib module pathmax
903 ## begin gnulib module quote
906 EXTRA_DIST += quote.c quote.h
908 EXTRA_libtar_a_SOURCES += quote.c
910 ## end gnulib module quote
912 ## begin gnulib module quotearg
915 EXTRA_DIST += quotearg.c quotearg.h
917 EXTRA_libtar_a_SOURCES += quotearg.c
919 ## end gnulib module quotearg
921 ## begin gnulib module rawmemchr
924 EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
926 EXTRA_libtar_a_SOURCES += rawmemchr.c
928 ## end gnulib module rawmemchr
930 ## begin gnulib module readlink
933 EXTRA_DIST += readlink.c
935 EXTRA_libtar_a_SOURCES += readlink.c
937 ## end gnulib module readlink
939 ## begin gnulib module realloc-posix
942 EXTRA_DIST += realloc.c
944 EXTRA_libtar_a_SOURCES += realloc.c
946 ## end gnulib module realloc-posix
948 ## begin gnulib module regex
951 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
953 EXTRA_libtar_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
955 ## end gnulib module regex
957 ## begin gnulib module rpmatch
960 EXTRA_DIST += rpmatch.c
962 EXTRA_libtar_a_SOURCES += rpmatch.c
964 ## end gnulib module rpmatch
966 ## begin gnulib module safe-read
969 EXTRA_DIST += safe-read.c safe-read.h
971 EXTRA_libtar_a_SOURCES += safe-read.c
973 ## end gnulib module safe-read
975 ## begin gnulib module safe-write
978 EXTRA_DIST += safe-write.c safe-write.h
980 EXTRA_libtar_a_SOURCES += safe-write.c
982 ## end gnulib module safe-write
984 ## begin gnulib module same-inode
987 EXTRA_DIST += same-inode.h
989 ## end gnulib module same-inode
991 ## begin gnulib module save-cwd
994 EXTRA_DIST += save-cwd.c save-cwd.h
996 EXTRA_libtar_a_SOURCES += save-cwd.c
998 ## end gnulib module save-cwd
1000 ## begin gnulib module savedir
1003 EXTRA_DIST += savedir.c savedir.h
1005 EXTRA_libtar_a_SOURCES += savedir.c
1007 ## end gnulib module savedir
1009 ## begin gnulib module setenv
1012 EXTRA_DIST += setenv.c
1014 EXTRA_libtar_a_SOURCES += setenv.c
1016 ## end gnulib module setenv
1018 ## begin gnulib module size_max
1020 libtar_a_SOURCES += size_max.h
1022 ## end gnulib module size_max
1024 ## begin gnulib module sleep
1027 EXTRA_DIST += sleep.c
1029 EXTRA_libtar_a_SOURCES += sleep.c
1031 ## end gnulib module sleep
1033 ## begin gnulib module snprintf
1036 EXTRA_DIST += snprintf.c
1038 EXTRA_libtar_a_SOURCES += snprintf.c
1040 ## end gnulib module snprintf
1042 ## begin gnulib module stat-macros
1045 EXTRA_DIST += stat-macros.h
1047 ## end gnulib module stat-macros
1049 ## begin gnulib module stat-time
1052 EXTRA_DIST += stat-time.h
1054 ## end gnulib module stat-time
1056 ## begin gnulib module stdarg
1058 BUILT_SOURCES += $(STDARG_H)
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
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; \
1071 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1073 EXTRA_DIST += stdarg.in.h
1075 ## end gnulib module stdarg
1077 ## begin gnulib module stdbool
1079 BUILT_SOURCES += $(STDBOOL_H)
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
1085 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1086 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1089 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1091 EXTRA_DIST += stdbool.in.h
1093 ## end gnulib module stdbool
1095 ## begin gnulib module stdint
1097 BUILT_SOURCES += $(STDINT_H)
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
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; \
1131 MOSTLYCLEANFILES += stdint.h stdint.h-t
1133 EXTRA_DIST += stdint.in.h
1135 ## end gnulib module stdint
1137 ## begin gnulib module stdio
1139 BUILT_SOURCES += stdio.h
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.
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; \
1219 MOSTLYCLEANFILES += stdio.h stdio.h-t
1221 EXTRA_DIST += stdio-write.c stdio.in.h
1223 EXTRA_libtar_a_SOURCES += stdio-write.c
1225 ## end gnulib module stdio
1227 ## begin gnulib module stdlib
1229 BUILT_SOURCES += stdlib.h
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
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; \
1280 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1282 EXTRA_DIST += stdlib.in.h
1284 ## end gnulib module stdlib
1286 ## begin gnulib module stpcpy
1289 EXTRA_DIST += stpcpy.c
1291 EXTRA_libtar_a_SOURCES += stpcpy.c
1293 ## end gnulib module stpcpy
1295 ## begin gnulib module strcase
1298 EXTRA_DIST += strcasecmp.c strncasecmp.c
1300 EXTRA_libtar_a_SOURCES += strcasecmp.c strncasecmp.c
1302 ## end gnulib module strcase
1304 ## begin gnulib module strchrnul
1307 EXTRA_DIST += strchrnul.c strchrnul.valgrind
1309 EXTRA_libtar_a_SOURCES += strchrnul.c
1311 ## end gnulib module strchrnul
1313 ## begin gnulib module strdup-posix
1316 EXTRA_DIST += strdup.c
1318 EXTRA_libtar_a_SOURCES += strdup.c
1320 ## end gnulib module strdup-posix
1322 ## begin gnulib module streq
1325 EXTRA_DIST += streq.h
1327 ## end gnulib module streq
1329 ## begin gnulib module strerror
1332 EXTRA_DIST += strerror.c
1334 EXTRA_libtar_a_SOURCES += strerror.c
1336 ## end gnulib module strerror
1338 ## begin gnulib module string
1340 BUILT_SOURCES += string.h
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
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; \
1410 MOSTLYCLEANFILES += string.h string.h-t
1412 EXTRA_DIST += string.in.h
1414 ## end gnulib module string
1416 ## begin gnulib module strings
1418 BUILT_SOURCES += strings.h
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
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; \
1434 MOSTLYCLEANFILES += strings.h strings.h-t
1436 EXTRA_DIST += strings.in.h
1438 ## end gnulib module strings
1440 ## begin gnulib module strndup
1443 EXTRA_DIST += strndup.c
1445 EXTRA_libtar_a_SOURCES += strndup.c
1447 ## end gnulib module strndup
1449 ## begin gnulib module strnlen
1452 EXTRA_DIST += strnlen.c
1454 EXTRA_libtar_a_SOURCES += strnlen.c
1456 ## end gnulib module strnlen
1458 ## begin gnulib module strnlen1
1460 libtar_a_SOURCES += strnlen1.h strnlen1.c
1462 ## end gnulib module strnlen1
1464 ## begin gnulib module strtoimax
1467 EXTRA_DIST += strtoimax.c
1469 EXTRA_libtar_a_SOURCES += strtoimax.c
1471 ## end gnulib module strtoimax
1473 ## begin gnulib module strtol
1476 EXTRA_DIST += strtol.c
1478 EXTRA_libtar_a_SOURCES += strtol.c
1480 ## end gnulib module strtol
1482 ## begin gnulib module strtoll
1485 EXTRA_DIST += strtoll.c
1487 EXTRA_libtar_a_SOURCES += strtoll.c
1489 ## end gnulib module strtoll
1491 ## begin gnulib module strtoul
1494 EXTRA_DIST += strtoul.c
1496 EXTRA_libtar_a_SOURCES += strtoul.c
1498 ## end gnulib module strtoul
1500 ## begin gnulib module strtoull
1503 EXTRA_DIST += strtoull.c
1505 EXTRA_libtar_a_SOURCES += strtoull.c
1507 ## end gnulib module strtoull
1509 ## begin gnulib module strtoumax
1512 EXTRA_DIST += strtoumax.c
1514 EXTRA_libtar_a_SOURCES += strtoumax.c
1516 ## end gnulib module strtoumax
1518 ## begin gnulib module sys_stat
1520 BUILT_SOURCES += $(SYS_STAT_H)
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
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; \
1541 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1542 MOSTLYCLEANDIRS += sys
1544 EXTRA_DIST += sys_stat.in.h
1546 ## end gnulib module sys_stat
1548 ## begin gnulib module sys_time
1550 BUILT_SOURCES += $(SYS_TIME_H)
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
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; \
1567 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1569 EXTRA_DIST += sys_time.in.h
1571 ## end gnulib module sys_time
1573 ## begin gnulib module sysexits
1575 BUILT_SOURCES += $(SYSEXITS_H)
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; \
1588 MOSTLYCLEANFILES += sysexits.h sysexits.h-t
1590 EXTRA_DIST += sysexits.in.h
1592 ## end gnulib module sysexits
1594 ## begin gnulib module tempname
1597 EXTRA_DIST += tempname.c tempname.h
1599 EXTRA_libtar_a_SOURCES += tempname.c
1601 ## end gnulib module tempname
1603 ## begin gnulib module time
1605 BUILT_SOURCES += time.h
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.
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; \
1624 MOSTLYCLEANFILES += time.h time.h-t
1626 EXTRA_DIST += time.in.h
1628 ## end gnulib module time
1630 ## begin gnulib module time_r
1633 EXTRA_DIST += time_r.c
1635 EXTRA_libtar_a_SOURCES += time_r.c
1637 ## end gnulib module time_r
1639 ## begin gnulib module timespec
1642 EXTRA_DIST += timespec.h
1644 ## end gnulib module timespec
1646 ## begin gnulib module unistd
1648 BUILT_SOURCES += unistd.h
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
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; \
1710 MOSTLYCLEANFILES += unistd.h unistd.h-t
1712 EXTRA_DIST += unistd.in.h
1714 ## end gnulib module unistd
1716 ## begin gnulib module unistd-safer
1719 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1721 EXTRA_libtar_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1723 ## end gnulib module unistd-safer
1725 ## begin gnulib module unitypes
1728 EXTRA_DIST += unitypes.h
1730 ## end gnulib module unitypes
1732 ## begin gnulib module uniwidth/base
1735 EXTRA_DIST += localcharset.h uniwidth.h
1737 ## end gnulib module uniwidth/base
1739 ## begin gnulib module uniwidth/width
1741 libtar_a_SOURCES += uniwidth/width.c
1743 EXTRA_DIST += uniwidth/cjk.h
1745 ## end gnulib module uniwidth/width
1747 ## begin gnulib module unlinkdir
1750 EXTRA_DIST += unlinkdir.c unlinkdir.h
1752 EXTRA_libtar_a_SOURCES += unlinkdir.c
1754 ## end gnulib module unlinkdir
1756 ## begin gnulib module unlocked-io
1759 EXTRA_DIST += unlocked-io.h
1761 ## end gnulib module unlocked-io
1763 ## begin gnulib module unsetenv
1766 EXTRA_DIST += unsetenv.c
1768 EXTRA_libtar_a_SOURCES += unsetenv.c
1770 ## end gnulib module unsetenv
1772 ## begin gnulib module utime
1775 EXTRA_DIST += utime.c
1777 EXTRA_libtar_a_SOURCES += utime.c
1779 ## end gnulib module utime
1781 ## begin gnulib module utimens
1784 EXTRA_DIST += utimens.c utimens.h
1786 EXTRA_libtar_a_SOURCES += utimens.c
1788 ## end gnulib module utimens
1790 ## begin gnulib module vasnprintf
1793 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1795 EXTRA_libtar_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1797 ## end gnulib module vasnprintf
1799 ## begin gnulib module verify
1801 libtar_a_SOURCES += verify.h
1803 ## end gnulib module verify
1805 ## begin gnulib module version-etc
1807 libtar_a_SOURCES += version-etc.h version-etc.c
1809 ## end gnulib module version-etc
1811 ## begin gnulib module version-etc-fsf
1813 libtar_a_SOURCES += version-etc-fsf.c
1815 ## end gnulib module version-etc-fsf
1817 ## begin gnulib module vsnprintf
1820 EXTRA_DIST += vsnprintf.c
1822 EXTRA_libtar_a_SOURCES += vsnprintf.c
1824 ## end gnulib module vsnprintf
1826 ## begin gnulib module wchar
1828 BUILT_SOURCES += $(WCHAR_H)
1830 # We need the following in order to create <wchar.h> when the system
1831 # version does not work standalone.
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; \
1877 MOSTLYCLEANFILES += wchar.h wchar.h-t
1879 EXTRA_DIST += wchar.in.h
1881 ## end gnulib module wchar
1883 ## begin gnulib module wcrtomb
1886 EXTRA_DIST += wcrtomb.c
1888 EXTRA_libtar_a_SOURCES += wcrtomb.c
1890 ## end gnulib module wcrtomb
1892 ## begin gnulib module wctype
1894 BUILT_SOURCES += $(WCTYPE_H)
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
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; \
1911 MOSTLYCLEANFILES += wctype.h wctype.h-t
1913 EXTRA_DIST += wctype.in.h
1915 ## end gnulib module wctype
1917 ## begin gnulib module wcwidth
1920 EXTRA_DIST += wcwidth.c
1922 EXTRA_libtar_a_SOURCES += wcwidth.c
1924 ## end gnulib module wcwidth
1926 ## begin gnulib module write
1929 EXTRA_DIST += write.c
1931 EXTRA_libtar_a_SOURCES += write.c
1933 ## end gnulib module write
1935 ## begin gnulib module xalloc
1938 EXTRA_DIST += xalloc.h xmalloc.c
1940 EXTRA_libtar_a_SOURCES += xmalloc.c
1942 ## end gnulib module xalloc
1944 ## begin gnulib module xalloc-die
1946 libtar_a_SOURCES += xalloc-die.c
1948 ## end gnulib module xalloc-die
1950 ## begin gnulib module xgetcwd
1953 EXTRA_DIST += xgetcwd.c xgetcwd.h
1955 EXTRA_libtar_a_SOURCES += xgetcwd.c
1957 ## end gnulib module xgetcwd
1959 ## begin gnulib module xsize
1961 libtar_a_SOURCES += xsize.h
1963 ## end gnulib module xsize
1965 ## begin gnulib module xstrndup
1967 libtar_a_SOURCES += xstrndup.h xstrndup.c
1969 ## end gnulib module xstrndup
1971 ## begin gnulib module xstrtol
1974 EXTRA_DIST += xstrtol-error.c xstrtol.c xstrtol.h xstrtoul.c
1976 EXTRA_libtar_a_SOURCES += xstrtol-error.c xstrtol.c xstrtoul.c
1978 ## end gnulib module xstrtol
1980 ## begin gnulib module xstrtoumax
1982 libtar_a_SOURCES += xstrtoumax.c
1984 ## end gnulib module xstrtoumax
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; \