]> sjero.net Git - wget/blob - lib/Makefile.am
Gnulib updates.
[wget] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --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
13
14 AUTOMAKE_OPTIONS = 1.5 gnits
15
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28
29 AM_CPPFLAGS =
30 AM_CFLAGS =
31
32 noinst_LIBRARIES += libgnu.a
33
34 libgnu_a_SOURCES =
35 libgnu_a_LIBADD = $(gl_LIBOBJS)
36 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
37 EXTRA_libgnu_a_SOURCES =
38
39 ## begin gnulib module alloca
40
41
42 EXTRA_DIST += alloca.c
43
44 EXTRA_libgnu_a_SOURCES += alloca.c
45
46 libgnu_a_LIBADD += @ALLOCA@
47 libgnu_a_DEPENDENCIES += @ALLOCA@
48 ## end   gnulib module alloca
49
50 ## begin gnulib module alloca-opt
51
52 BUILT_SOURCES += $(ALLOCA_H)
53
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.
56 alloca.h: alloca.in.h
57         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58           cat $(srcdir)/alloca.in.h; \
59         } > $@-t
60         mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
62
63 EXTRA_DIST += alloca.in.h
64
65 ## end   gnulib module alloca-opt
66
67 ## begin gnulib module c-ctype
68
69 libgnu_a_SOURCES += c-ctype.h c-ctype.c
70
71 ## end   gnulib module c-ctype
72
73 ## begin gnulib module configmake
74
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.
79 #
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
85 # compilation error.
86 #
87 # Another advantage is that 'make' output is shorter.
88 #
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
93         rm -f $@-t
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 \
124           rm -f $@-t; \
125         else \
126           rm -f $@; mv $@-t $@; \
127         fi
128
129 BUILT_SOURCES += configmake.h
130 CLEANFILES += configmake.h configmake.h-t
131
132 ## end   gnulib module configmake
133
134 ## begin gnulib module errno
135
136 BUILT_SOURCES += $(ERRNO_H)
137
138 # We need the following in order to create <errno.h> when the system
139 # doesn't have one that is POSIX compliant.
140 errno.h: errno.in.h
141         rm -f $@-t $@
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; \
153         } > $@-t
154         mv $@-t $@
155 MOSTLYCLEANFILES += errno.h errno.h-t
156
157 EXTRA_DIST += errno.in.h
158
159 ## end   gnulib module errno
160
161 ## begin gnulib module error
162
163
164 EXTRA_DIST += error.c error.h
165
166 EXTRA_libgnu_a_SOURCES += error.c
167
168 ## end   gnulib module error
169
170 ## begin gnulib module exitfail
171
172
173 EXTRA_DIST += exitfail.c exitfail.h
174
175 EXTRA_libgnu_a_SOURCES += exitfail.c
176
177 ## end   gnulib module exitfail
178
179 ## begin gnulib module fseeko
180
181
182 EXTRA_DIST += fseeko.c stdio-impl.h
183
184 EXTRA_libgnu_a_SOURCES += fseeko.c
185
186 ## end   gnulib module fseeko
187
188 ## begin gnulib module getdelim
189
190
191 EXTRA_DIST += getdelim.c
192
193 EXTRA_libgnu_a_SOURCES += getdelim.c
194
195 ## end   gnulib module getdelim
196
197 ## begin gnulib module getline
198
199
200 EXTRA_DIST += getline.c
201
202 EXTRA_libgnu_a_SOURCES += getline.c
203
204 ## end   gnulib module getline
205
206 ## begin gnulib module getopt
207
208 BUILT_SOURCES += $(GETOPT_H)
209
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; \
215         } > $@-t
216         mv -f $@-t $@
217 MOSTLYCLEANFILES += getopt.h getopt.h-t
218
219 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
220
221 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
222
223 ## end   gnulib module getopt
224
225 ## begin gnulib module getpass-gnu
226
227
228 EXTRA_DIST += getpass.c getpass.h
229
230 EXTRA_libgnu_a_SOURCES += getpass.c
231
232 ## end   gnulib module getpass-gnu
233
234 ## begin gnulib module gettext-h
235
236 libgnu_a_SOURCES += gettext.h
237
238 ## end   gnulib module gettext-h
239
240 ## begin gnulib module gnumakefile
241
242 distclean-local: clean-GNUmakefile
243 clean-GNUmakefile:
244         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
245
246 EXTRA_DIST += $(top_srcdir)/GNUmakefile
247
248 ## end   gnulib module gnumakefile
249
250 ## begin gnulib module intprops
251
252
253 EXTRA_DIST += intprops.h
254
255 ## end   gnulib module intprops
256
257 ## begin gnulib module link-warning
258
259 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
260
261 EXTRA_DIST += $(top_srcdir)/./link-warning.h
262
263 ## end   gnulib module link-warning
264
265 ## begin gnulib module localcharset
266
267 libgnu_a_SOURCES += localcharset.h localcharset.c
268
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.
275
276 all-local: charset.alias ref-add.sed ref-del.sed
277
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 \
284             darwin[56]*) \
285               need_charset_alias=true ;; \
286             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
287               need_charset_alias=false ;; \
288             *) \
289               need_charset_alias=true ;; \
290           esac ; \
291         else \
292           need_charset_alias=false ; \
293         fi ; \
294         if $$need_charset_alias; then \
295           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
296         fi ; \
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) ; \
301         else \
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) ; \
306           fi ; \
307         fi
308
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) \
314               > /dev/null; then \
315             rm -f $(charset_alias); \
316           else \
317             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
318           fi; \
319           rm -f $(charset_tmp); \
320         fi
321
322 charset.alias: config.charset
323         rm -f t-$@ $@
324         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
325         mv t-$@ $@
326
327 SUFFIXES += .sed .sin
328 .sin.sed:
329         rm -f t-$@ $@
330         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
331         mv t-$@ $@
332
333 CLEANFILES += charset.alias ref-add.sed ref-del.sed
334
335 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
336
337 ## end   gnulib module localcharset
338
339 ## begin gnulib module lseek
340
341
342 EXTRA_DIST += lseek.c
343
344 EXTRA_libgnu_a_SOURCES += lseek.c
345
346 ## end   gnulib module lseek
347
348 ## begin gnulib module maintainer-makefile
349
350 EXTRA_DIST += $(top_srcdir)/maint.mk
351
352 ## end   gnulib module maintainer-makefile
353
354 ## begin gnulib module mbrtowc
355
356
357 EXTRA_DIST += mbrtowc.c
358
359 EXTRA_libgnu_a_SOURCES += mbrtowc.c
360
361 ## end   gnulib module mbrtowc
362
363 ## begin gnulib module mbsinit
364
365
366 EXTRA_DIST += mbsinit.c
367
368 EXTRA_libgnu_a_SOURCES += mbsinit.c
369
370 ## end   gnulib module mbsinit
371
372 ## begin gnulib module quote
373
374
375 EXTRA_DIST += quote.c quote.h
376
377 EXTRA_libgnu_a_SOURCES += quote.c
378
379 ## end   gnulib module quote
380
381 ## begin gnulib module quotearg
382
383
384 EXTRA_DIST += quotearg.c quotearg.h
385
386 EXTRA_libgnu_a_SOURCES += quotearg.c
387
388 ## end   gnulib module quotearg
389
390 ## begin gnulib module realloc-posix
391
392
393 EXTRA_DIST += realloc.c
394
395 EXTRA_libgnu_a_SOURCES += realloc.c
396
397 ## end   gnulib module realloc-posix
398
399 ## begin gnulib module stdbool
400
401 BUILT_SOURCES += $(STDBOOL_H)
402
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
406         rm -f $@-t $@
407         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
408           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
409         } > $@-t
410         mv $@-t $@
411 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
412
413 EXTRA_DIST += stdbool.in.h
414
415 ## end   gnulib module stdbool
416
417 ## begin gnulib module stdint
418
419 BUILT_SOURCES += $(STDINT_H)
420
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
424         rm -f $@-t $@
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; \
451         } > $@-t
452         mv $@-t $@
453 MOSTLYCLEANFILES += stdint.h stdint.h-t
454
455 EXTRA_DIST += stdint.in.h
456
457 ## end   gnulib module stdint
458
459 ## begin gnulib module stdio
460
461 BUILT_SOURCES += stdio.h
462
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.
465 stdio.h: stdio.in.h
466         rm -f $@-t $@
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; \
542         } > $@-t
543         mv $@-t $@
544 MOSTLYCLEANFILES += stdio.h stdio.h-t
545
546 EXTRA_DIST += stdio-write.c stdio.in.h
547
548 EXTRA_libgnu_a_SOURCES += stdio-write.c
549
550 ## end   gnulib module stdio
551
552 ## begin gnulib module stdlib
553
554 BUILT_SOURCES += stdlib.h
555
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
559         rm -f $@-t $@
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; \
603         } > $@-t
604         mv $@-t $@
605 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
606
607 EXTRA_DIST += stdlib.in.h
608
609 ## end   gnulib module stdlib
610
611 ## begin gnulib module streq
612
613
614 EXTRA_DIST += streq.h
615
616 ## end   gnulib module streq
617
618 ## begin gnulib module strerror
619
620
621 EXTRA_DIST += strerror.c
622
623 EXTRA_libgnu_a_SOURCES += strerror.c
624
625 ## end   gnulib module strerror
626
627 ## begin gnulib module string
628
629 BUILT_SOURCES += string.h
630
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
634         rm -f $@-t $@
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; \
699         } > $@-t
700         mv $@-t $@
701 MOSTLYCLEANFILES += string.h string.h-t
702
703 EXTRA_DIST += string.in.h
704
705 ## end   gnulib module string
706
707 ## begin gnulib module unistd
708
709 BUILT_SOURCES += unistd.h
710
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
714         rm -f $@-t $@
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; \
769         } > $@-t
770         mv $@-t $@
771 MOSTLYCLEANFILES += unistd.h unistd.h-t
772
773 EXTRA_DIST += unistd.in.h
774
775 ## end   gnulib module unistd
776
777 ## begin gnulib module useless-if-before-free
778
779
780 EXTRA_DIST += $(top_srcdir)/./useless-if-before-free
781
782 ## end   gnulib module useless-if-before-free
783
784 ## begin gnulib module vc-list-files
785
786
787 EXTRA_DIST += $(top_srcdir)/./vc-list-files
788
789 ## end   gnulib module vc-list-files
790
791 ## begin gnulib module verify
792
793 libgnu_a_SOURCES += verify.h
794
795 ## end   gnulib module verify
796
797 ## begin gnulib module wchar
798
799 BUILT_SOURCES += $(WCHAR_H)
800
801 # We need the following in order to create <wchar.h> when the system
802 # version does not work standalone.
803 wchar.h: wchar.in.h
804         rm -f $@-t $@
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; \
847         } > $@-t
848         mv $@-t $@
849 MOSTLYCLEANFILES += wchar.h wchar.h-t
850
851 EXTRA_DIST += wchar.in.h
852
853 ## end   gnulib module wchar
854
855 ## begin gnulib module wctype
856
857 BUILT_SOURCES += $(WCTYPE_H)
858
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
862         rm -f $@-t $@
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; \
872         } > $@-t
873         mv $@-t $@
874 MOSTLYCLEANFILES += wctype.h wctype.h-t
875
876 EXTRA_DIST += wctype.in.h
877
878 ## end   gnulib module wctype
879
880 ## begin gnulib module xalloc
881
882
883 EXTRA_DIST += xalloc.h xmalloc.c
884
885 EXTRA_libgnu_a_SOURCES += xmalloc.c
886
887 ## end   gnulib module xalloc
888
889 ## begin gnulib module xalloc-die
890
891 libgnu_a_SOURCES += xalloc-die.c
892
893 ## end   gnulib module xalloc-die
894
895
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; \
900           fi; \
901         done; \
902         :