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=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --no-libtool --macro-prefix=gl alloca c-ctype getopt getpass-gnu maintainer-makefile quote quotearg
14 AUTOMAKE_OPTIONS = 1.5 gnits
23 MOSTLYCLEANFILES = core *.stackdump
27 MAINTAINERCLEANFILES =
32 noinst_LIBRARIES += libgnu.a
35 libgnu_a_LIBADD = $(gl_LIBOBJS)
36 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgnu_a_SOURCES =
39 ## begin gnulib module alloca
42 EXTRA_DIST += alloca.c
44 EXTRA_libgnu_a_SOURCES += alloca.c
46 libgnu_a_LIBADD += @ALLOCA@
47 libgnu_a_DEPENDENCIES += @ALLOCA@
48 ## end gnulib module alloca
50 ## begin gnulib module alloca-opt
52 BUILT_SOURCES += $(ALLOCA_H)
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
57 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58 cat $(srcdir)/alloca.in.h; \
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end gnulib module alloca-opt
67 ## begin gnulib module c-ctype
69 libgnu_a_SOURCES += c-ctype.h c-ctype.c
71 ## end gnulib module c-ctype
73 ## begin gnulib module configmake
75 # Retrieve values of the variables through 'configure' followed by
76 # 'make', not directly through 'configure', so that a user who
77 # sets some of these variables consistently on the 'make' command
78 # line gets correct results.
80 # One advantage of this approach, compared to the classical
81 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
82 # is that it protects against the use of undefined variables.
83 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
84 # defined by this module, and code using LIBDIR gives a
87 # Another advantage is that 'make' output is shorter.
89 # Listed in the same order as the GNU makefile conventions.
90 # The Automake-defined pkg* macros are appended, in the order
91 # listed in the Automake 1.10a+ documentation.
92 configmake.h: Makefile
94 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
95 echo '#define PREFIX "$(prefix)"'; \
96 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
97 echo '#define BINDIR "$(bindir)"'; \
98 echo '#define SBINDIR "$(sbindir)"'; \
99 echo '#define LIBEXECDIR "$(libexecdir)"'; \
100 echo '#define DATAROOTDIR "$(datarootdir)"'; \
101 echo '#define DATADIR "$(datadir)"'; \
102 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
103 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
104 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
105 echo '#define INCLUDEDIR "$(includedir)"'; \
106 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
107 echo '#define DOCDIR "$(docdir)"'; \
108 echo '#define INFODIR "$(infodir)"'; \
109 echo '#define HTMLDIR "$(htmldir)"'; \
110 echo '#define DVIDIR "$(dvidir)"'; \
111 echo '#define PDFDIR "$(pdfdir)"'; \
112 echo '#define PSDIR "$(psdir)"'; \
113 echo '#define LIBDIR "$(libdir)"'; \
114 echo '#define LISPDIR "$(lispdir)"'; \
115 echo '#define LOCALEDIR "$(localedir)"'; \
116 echo '#define MANDIR "$(mandir)"'; \
117 echo '#define MANEXT "$(manext)"'; \
118 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
119 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
120 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
121 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
122 } | sed '/""/d' > $@-t
123 if test -f $@ && cmp $@-t $@ > /dev/null; then \
126 rm -f $@; mv $@-t $@; \
129 BUILT_SOURCES += configmake.h
130 CLEANFILES += configmake.h configmake.h-t
132 ## end gnulib module configmake
134 ## begin gnulib module errno
136 BUILT_SOURCES += $(ERRNO_H)
138 # We need the following in order to create <errno.h> when the system
139 # doesn't have one that is POSIX compliant.
142 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
143 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
144 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
145 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
146 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
147 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
148 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
149 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
150 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
151 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
152 < $(srcdir)/errno.in.h; \
155 MOSTLYCLEANFILES += errno.h errno.h-t
157 EXTRA_DIST += errno.in.h
159 ## end gnulib module errno
161 ## begin gnulib module error
164 EXTRA_DIST += error.c error.h
166 EXTRA_libgnu_a_SOURCES += error.c
168 ## end gnulib module error
170 ## begin gnulib module exitfail
173 EXTRA_DIST += exitfail.c exitfail.h
175 EXTRA_libgnu_a_SOURCES += exitfail.c
177 ## end gnulib module exitfail
179 ## begin gnulib module fseeko
182 EXTRA_DIST += fseeko.c stdio-impl.h
184 EXTRA_libgnu_a_SOURCES += fseeko.c
186 ## end gnulib module fseeko
188 ## begin gnulib module getdelim
191 EXTRA_DIST += getdelim.c
193 EXTRA_libgnu_a_SOURCES += getdelim.c
195 ## end gnulib module getdelim
197 ## begin gnulib module getline
200 EXTRA_DIST += getline.c
202 EXTRA_libgnu_a_SOURCES += getline.c
204 ## end gnulib module getline
206 ## begin gnulib module getopt
208 BUILT_SOURCES += $(GETOPT_H)
210 # We need the following in order to create <getopt.h> when the system
211 # doesn't have one that works with the given compiler.
212 getopt.h: getopt.in.h
213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
214 cat $(srcdir)/getopt.in.h; \
217 MOSTLYCLEANFILES += getopt.h getopt.h-t
219 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
221 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
223 ## end gnulib module getopt
225 ## begin gnulib module getpass-gnu
228 EXTRA_DIST += getpass.c getpass.h
230 EXTRA_libgnu_a_SOURCES += getpass.c
232 ## end gnulib module getpass-gnu
234 ## begin gnulib module gettext-h
236 libgnu_a_SOURCES += gettext.h
238 ## end gnulib module gettext-h
240 ## begin gnulib module gnumakefile
242 distclean-local: clean-GNUmakefile
244 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
246 EXTRA_DIST += $(top_srcdir)/GNUmakefile
248 ## end gnulib module gnumakefile
250 ## begin gnulib module intprops
253 EXTRA_DIST += intprops.h
255 ## end gnulib module intprops
257 ## begin gnulib module link-warning
259 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
261 EXTRA_DIST += $(top_srcdir)/./link-warning.h
263 ## end gnulib module link-warning
265 ## begin gnulib module localcharset
267 libgnu_a_SOURCES += localcharset.h localcharset.c
269 # We need the following in order to install a simple file in $(libdir)
270 # which is shared with other installed packages. We use a list of referencing
271 # packages so that "make uninstall" will remove the file if and only if it
272 # is not used by another installed package.
273 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
274 # avoid installing it.
276 all-local: charset.alias ref-add.sed ref-del.sed
278 charset_alias = $(DESTDIR)$(libdir)/charset.alias
279 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
280 install-exec-local: install-exec-localcharset
281 install-exec-localcharset: all-local
282 if test $(GLIBC21) = no; then \
283 case '$(host_os)' in \
285 need_charset_alias=true ;; \
286 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
287 need_charset_alias=false ;; \
289 need_charset_alias=true ;; \
292 need_charset_alias=false ; \
294 if $$need_charset_alias; then \
295 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
297 if test -f $(charset_alias); then \
298 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
299 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
300 rm -f $(charset_tmp) ; \
302 if $$need_charset_alias; then \
303 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
304 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
305 rm -f $(charset_tmp) ; \
309 uninstall-local: uninstall-localcharset
310 uninstall-localcharset: all-local
311 if test -f $(charset_alias); then \
312 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
313 if grep '^# Packages using this file: $$' $(charset_tmp) \
315 rm -f $(charset_alias); \
317 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
319 rm -f $(charset_tmp); \
322 charset.alias: config.charset
324 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
327 SUFFIXES += .sed .sin
330 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
333 CLEANFILES += charset.alias ref-add.sed ref-del.sed
335 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
337 ## end gnulib module localcharset
339 ## begin gnulib module lseek
342 EXTRA_DIST += lseek.c
344 EXTRA_libgnu_a_SOURCES += lseek.c
346 ## end gnulib module lseek
348 ## begin gnulib module maintainer-makefile
350 EXTRA_DIST += $(top_srcdir)/maint.mk
352 ## end gnulib module maintainer-makefile
354 ## begin gnulib module mbrtowc
357 EXTRA_DIST += mbrtowc.c
359 EXTRA_libgnu_a_SOURCES += mbrtowc.c
361 ## end gnulib module mbrtowc
363 ## begin gnulib module mbsinit
366 EXTRA_DIST += mbsinit.c
368 EXTRA_libgnu_a_SOURCES += mbsinit.c
370 ## end gnulib module mbsinit
372 ## begin gnulib module quote
375 EXTRA_DIST += quote.c quote.h
377 EXTRA_libgnu_a_SOURCES += quote.c
379 ## end gnulib module quote
381 ## begin gnulib module quotearg
384 EXTRA_DIST += quotearg.c quotearg.h
386 EXTRA_libgnu_a_SOURCES += quotearg.c
388 ## end gnulib module quotearg
390 ## begin gnulib module realloc-posix
393 EXTRA_DIST += realloc.c
395 EXTRA_libgnu_a_SOURCES += realloc.c
397 ## end gnulib module realloc-posix
399 ## begin gnulib module stdbool
401 BUILT_SOURCES += $(STDBOOL_H)
403 # We need the following in order to create <stdbool.h> when the system
404 # doesn't have one that works.
405 stdbool.h: stdbool.in.h
407 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
408 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
411 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
413 EXTRA_DIST += stdbool.in.h
415 ## end gnulib module stdbool
417 ## begin gnulib module stdint
419 BUILT_SOURCES += $(STDINT_H)
421 # We need the following in order to create <stdint.h> when the system
422 # doesn't have one that works with the given compiler.
423 stdint.h: stdint.in.h
425 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
426 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
427 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
428 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
429 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
430 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
431 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
432 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
433 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
434 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
435 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
436 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
437 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
438 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
439 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
440 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
441 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
442 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
443 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
444 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
445 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
446 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
447 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
448 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
449 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
450 < $(srcdir)/stdint.in.h; \
453 MOSTLYCLEANFILES += stdint.h stdint.h-t
455 EXTRA_DIST += stdint.in.h
457 ## end gnulib module stdint
459 ## begin gnulib module stdio
461 BUILT_SOURCES += stdio.h
463 # We need the following in order to create <stdio.h> when the system
464 # doesn't have one that works with the given compiler.
467 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
468 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
469 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
470 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
471 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
472 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
473 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
474 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
475 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
476 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
477 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
478 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
479 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
480 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
481 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
482 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
483 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
484 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
485 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
486 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
487 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
488 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
489 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
490 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
491 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
492 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
493 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
494 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
495 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
496 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
497 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
498 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
499 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
500 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
501 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
502 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
503 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
504 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
505 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
506 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
507 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
508 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
509 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
510 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
511 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
512 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
513 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
514 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
515 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
516 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
517 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
518 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
519 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
520 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
521 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
522 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
523 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
524 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
525 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
526 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
527 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
528 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
529 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
530 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
531 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
532 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
533 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
534 -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
535 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
536 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
537 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
538 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
539 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
540 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
541 < $(srcdir)/stdio.in.h; \
544 MOSTLYCLEANFILES += stdio.h stdio.h-t
546 EXTRA_DIST += stdio-write.c stdio.in.h
548 EXTRA_libgnu_a_SOURCES += stdio-write.c
550 ## end gnulib module stdio
552 ## begin gnulib module stdlib
554 BUILT_SOURCES += stdlib.h
556 # We need the following in order to create <stdlib.h> when the system
557 # doesn't have one that works with the given compiler.
558 stdlib.h: stdlib.in.h
560 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
561 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
562 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
563 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
564 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
565 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
566 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
567 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
568 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
569 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
570 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
571 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
572 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
573 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
574 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
575 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
576 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
577 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
578 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
579 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
580 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
581 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
582 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
583 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
584 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
585 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
586 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
587 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
588 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
589 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
590 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
591 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
592 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
593 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
594 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
595 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
596 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
597 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
598 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
599 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
600 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
601 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
602 < $(srcdir)/stdlib.in.h; \
605 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
607 EXTRA_DIST += stdlib.in.h
609 ## end gnulib module stdlib
611 ## begin gnulib module streq
614 EXTRA_DIST += streq.h
616 ## end gnulib module streq
618 ## begin gnulib module strerror
621 EXTRA_DIST += strerror.c
623 EXTRA_libgnu_a_SOURCES += strerror.c
625 ## end gnulib module strerror
627 ## begin gnulib module string
629 BUILT_SOURCES += string.h
631 # We need the following in order to create <string.h> when the system
632 # doesn't have one that works with the given compiler.
633 string.h: string.in.h
635 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
636 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
637 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
638 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
639 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
640 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
641 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
642 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
643 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
644 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
645 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
646 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
647 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
648 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
649 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
650 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
651 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
652 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
653 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
654 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
655 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
656 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
657 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
658 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
659 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
660 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
661 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
662 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
663 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
664 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
665 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
666 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
667 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
668 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
669 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
670 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
671 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
672 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
673 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
674 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
675 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
676 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
677 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
678 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
679 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
680 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
681 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
682 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
683 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
684 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
685 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
686 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
687 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
688 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
689 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
690 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
691 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
692 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
693 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
694 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
695 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
696 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
697 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
698 < $(srcdir)/string.in.h; \
701 MOSTLYCLEANFILES += string.h string.h-t
703 EXTRA_DIST += string.in.h
705 ## end gnulib module string
707 ## begin gnulib module unistd
709 BUILT_SOURCES += unistd.h
711 # We need the following in order to create an empty placeholder for
712 # <unistd.h> when the system doesn't have one.
713 unistd.h: unistd.in.h
715 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
716 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
717 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
718 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
719 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
720 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
721 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
722 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
723 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
724 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
725 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
726 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
727 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
728 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
729 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
730 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
731 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
732 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
733 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
734 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
735 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
736 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
737 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
738 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
739 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
740 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
741 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
742 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
743 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
744 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
745 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
746 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
747 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
748 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
749 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
750 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
751 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
752 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
753 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
754 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
755 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
756 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
757 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
758 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
759 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
760 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
761 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
762 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
763 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
764 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
765 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
766 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
767 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
768 < $(srcdir)/unistd.in.h; \
771 MOSTLYCLEANFILES += unistd.h unistd.h-t
773 EXTRA_DIST += unistd.in.h
775 ## end gnulib module unistd
777 ## begin gnulib module useless-if-before-free
780 EXTRA_DIST += $(top_srcdir)/./useless-if-before-free
782 ## end gnulib module useless-if-before-free
784 ## begin gnulib module vc-list-files
787 EXTRA_DIST += $(top_srcdir)/./vc-list-files
789 ## end gnulib module vc-list-files
791 ## begin gnulib module verify
793 libgnu_a_SOURCES += verify.h
795 ## end gnulib module verify
797 ## begin gnulib module wchar
799 BUILT_SOURCES += $(WCHAR_H)
801 # We need the following in order to create <wchar.h> when the system
802 # version does not work standalone.
805 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
806 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
807 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
808 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
809 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
810 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
811 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
812 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
813 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
814 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
815 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
816 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
817 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
818 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
819 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
820 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
821 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
822 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
823 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
824 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
825 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
826 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
827 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
828 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
829 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
830 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
831 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
832 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
833 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
834 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
835 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
836 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
837 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
838 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
839 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
840 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
841 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
842 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
843 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
844 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
845 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
846 < $(srcdir)/wchar.in.h; \
849 MOSTLYCLEANFILES += wchar.h wchar.h-t
851 EXTRA_DIST += wchar.in.h
853 ## end gnulib module wchar
855 ## begin gnulib module wctype
857 BUILT_SOURCES += $(WCTYPE_H)
859 # We need the following in order to create <wctype.h> when the system
860 # doesn't have one that works with the given compiler.
861 wctype.h: wctype.in.h
863 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
864 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
865 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
866 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
867 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
868 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
869 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
870 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
871 < $(srcdir)/wctype.in.h; \
874 MOSTLYCLEANFILES += wctype.h wctype.h-t
876 EXTRA_DIST += wctype.in.h
878 ## end gnulib module wctype
880 ## begin gnulib module xalloc
883 EXTRA_DIST += xalloc.h xmalloc.c
885 EXTRA_libgnu_a_SOURCES += xmalloc.c
887 ## end gnulib module xalloc
889 ## begin gnulib module xalloc-die
891 libgnu_a_SOURCES += xalloc-die.c
893 ## end gnulib module xalloc-die
896 mostlyclean-local: mostlyclean-generic
897 @for dir in '' $(MOSTLYCLEANDIRS); do \
898 if test -n "$$dir" && test -d $$dir; then \
899 echo "rmdir $$dir"; rmdir $$dir; \