]> sjero.net Git - wget/blob - lib/Makefile.am
Imported update-copyright; set build-aux in cfg.mk.
[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 strcasestr update-copyright
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         $(AM_V_GEN)rm -f $@-t $@ && \
58         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
59           cat $(srcdir)/alloca.in.h; \
60         } > $@-t && \
61         mv -f $@-t $@
62 MOSTLYCLEANFILES += alloca.h alloca.h-t
63
64 EXTRA_DIST += alloca.in.h
65
66 ## end   gnulib module alloca-opt
67
68 ## begin gnulib module c-ctype
69
70 libgnu_a_SOURCES += c-ctype.h c-ctype.c
71
72 ## end   gnulib module c-ctype
73
74 ## begin gnulib module configmake
75
76 # Retrieve values of the variables through 'configure' followed by
77 # 'make', not directly through 'configure', so that a user who
78 # sets some of these variables consistently on the 'make' command
79 # line gets correct results.
80 #
81 # One advantage of this approach, compared to the classical
82 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
83 # is that it protects against the use of undefined variables.
84 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
85 # defined by this module, and code using LIBDIR gives a
86 # compilation error.
87 #
88 # Another advantage is that 'make' output is shorter.
89 #
90 # Listed in the same order as the GNU makefile conventions.
91 # The Automake-defined pkg* macros are appended, in the order
92 # listed in the Automake 1.10a+ documentation.
93 configmake.h: Makefile
94         $(AM_V_GEN)rm -f $@-t && \
95         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
96           echo '#define PREFIX "$(prefix)"'; \
97           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
98           echo '#define BINDIR "$(bindir)"'; \
99           echo '#define SBINDIR "$(sbindir)"'; \
100           echo '#define LIBEXECDIR "$(libexecdir)"'; \
101           echo '#define DATAROOTDIR "$(datarootdir)"'; \
102           echo '#define DATADIR "$(datadir)"'; \
103           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
104           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
105           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
106           echo '#define INCLUDEDIR "$(includedir)"'; \
107           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
108           echo '#define DOCDIR "$(docdir)"'; \
109           echo '#define INFODIR "$(infodir)"'; \
110           echo '#define HTMLDIR "$(htmldir)"'; \
111           echo '#define DVIDIR "$(dvidir)"'; \
112           echo '#define PDFDIR "$(pdfdir)"'; \
113           echo '#define PSDIR "$(psdir)"'; \
114           echo '#define LIBDIR "$(libdir)"'; \
115           echo '#define LISPDIR "$(lispdir)"'; \
116           echo '#define LOCALEDIR "$(localedir)"'; \
117           echo '#define MANDIR "$(mandir)"'; \
118           echo '#define MANEXT "$(manext)"'; \
119           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
120           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
121           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
122           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
123         } | sed '/""/d' > $@-t && \
124         if test -f $@ && cmp $@-t $@ > /dev/null; then \
125           rm -f $@-t; \
126         else \
127           rm -f $@; mv $@-t $@; \
128         fi
129
130 BUILT_SOURCES += configmake.h
131 CLEANFILES += configmake.h configmake.h-t
132
133 ## end   gnulib module configmake
134
135 ## begin gnulib module errno
136
137 BUILT_SOURCES += $(ERRNO_H)
138
139 # We need the following in order to create <errno.h> when the system
140 # doesn't have one that is POSIX compliant.
141 errno.h: errno.in.h
142         $(AM_V_GEN)rm -f $@-t $@ && \
143         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
144           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
145               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
146               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
147               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
148               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
149               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
150               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
151               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
152               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
153               < $(srcdir)/errno.in.h; \
154         } > $@-t && \
155         mv $@-t $@
156 MOSTLYCLEANFILES += errno.h errno.h-t
157
158 EXTRA_DIST += errno.in.h
159
160 ## end   gnulib module errno
161
162 ## begin gnulib module error
163
164
165 EXTRA_DIST += error.c error.h
166
167 EXTRA_libgnu_a_SOURCES += error.c
168
169 ## end   gnulib module error
170
171 ## begin gnulib module exitfail
172
173
174 EXTRA_DIST += exitfail.c exitfail.h
175
176 EXTRA_libgnu_a_SOURCES += exitfail.c
177
178 ## end   gnulib module exitfail
179
180 ## begin gnulib module fseeko
181
182
183 EXTRA_DIST += fseeko.c stdio-impl.h
184
185 EXTRA_libgnu_a_SOURCES += fseeko.c
186
187 ## end   gnulib module fseeko
188
189 ## begin gnulib module getdelim
190
191
192 EXTRA_DIST += getdelim.c
193
194 EXTRA_libgnu_a_SOURCES += getdelim.c
195
196 ## end   gnulib module getdelim
197
198 ## begin gnulib module getline
199
200
201 EXTRA_DIST += getline.c
202
203 EXTRA_libgnu_a_SOURCES += getline.c
204
205 ## end   gnulib module getline
206
207 ## begin gnulib module getopt-posix
208
209 BUILT_SOURCES += $(GETOPT_H)
210
211 # We need the following in order to create <getopt.h> when the system
212 # doesn't have one that works with the given compiler.
213 getopt.h: getopt.in.h
214         $(AM_V_GEN)rm -f $@-t $@ && \
215         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
216           cat $(srcdir)/getopt.in.h; \
217         } > $@-t && \
218         mv -f $@-t $@
219 MOSTLYCLEANFILES += getopt.h getopt.h-t
220
221 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
222
223 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
224
225 ## end   gnulib module getopt-posix
226
227 ## begin gnulib module getpagesize
228
229
230 EXTRA_DIST += getpagesize.c
231
232 EXTRA_libgnu_a_SOURCES += getpagesize.c
233
234 ## end   gnulib module getpagesize
235
236 ## begin gnulib module getpass-gnu
237
238
239 EXTRA_DIST += getpass.c getpass.h
240
241 EXTRA_libgnu_a_SOURCES += getpass.c
242
243 ## end   gnulib module getpass-gnu
244
245 ## begin gnulib module gettext-h
246
247 libgnu_a_SOURCES += gettext.h
248
249 ## end   gnulib module gettext-h
250
251 ## begin gnulib module gnumakefile
252
253 distclean-local: clean-GNUmakefile
254 clean-GNUmakefile:
255         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
256
257 EXTRA_DIST += $(top_srcdir)/GNUmakefile
258
259 ## end   gnulib module gnumakefile
260
261 ## begin gnulib module intprops
262
263
264 EXTRA_DIST += intprops.h
265
266 ## end   gnulib module intprops
267
268 ## begin gnulib module link-warning
269
270 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
271
272 EXTRA_DIST += $(top_srcdir)/./link-warning.h
273
274 ## end   gnulib module link-warning
275
276 ## begin gnulib module localcharset
277
278 libgnu_a_SOURCES += localcharset.h localcharset.c
279
280 # We need the following in order to install a simple file in $(libdir)
281 # which is shared with other installed packages. We use a list of referencing
282 # packages so that "make uninstall" will remove the file if and only if it
283 # is not used by another installed package.
284 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
285 # avoid installing it.
286
287 all-local: charset.alias ref-add.sed ref-del.sed
288
289 charset_alias = $(DESTDIR)$(libdir)/charset.alias
290 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
291 install-exec-local: install-exec-localcharset
292 install-exec-localcharset: all-local
293         if test $(GLIBC21) = no; then \
294           case '$(host_os)' in \
295             darwin[56]*) \
296               need_charset_alias=true ;; \
297             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
298               need_charset_alias=false ;; \
299             *) \
300               need_charset_alias=true ;; \
301           esac ; \
302         else \
303           need_charset_alias=false ; \
304         fi ; \
305         if $$need_charset_alias; then \
306           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
307         fi ; \
308         if test -f $(charset_alias); then \
309           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
310           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
311           rm -f $(charset_tmp) ; \
312         else \
313           if $$need_charset_alias; then \
314             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
315             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
316             rm -f $(charset_tmp) ; \
317           fi ; \
318         fi
319
320 uninstall-local: uninstall-localcharset
321 uninstall-localcharset: all-local
322         if test -f $(charset_alias); then \
323           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
324           if grep '^# Packages using this file: $$' $(charset_tmp) \
325               > /dev/null; then \
326             rm -f $(charset_alias); \
327           else \
328             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
329           fi; \
330           rm -f $(charset_tmp); \
331         fi
332
333 charset.alias: config.charset
334         $(AM_V_GEN)rm -f t-$@ $@ && \
335         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
336         mv t-$@ $@
337
338 SUFFIXES += .sed .sin
339 .sin.sed:
340         $(AM_V_GEN)rm -f t-$@ $@ && \
341         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
342         mv t-$@ $@
343
344 CLEANFILES += charset.alias ref-add.sed ref-del.sed
345
346 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
347
348 ## end   gnulib module localcharset
349
350 ## begin gnulib module lseek
351
352
353 EXTRA_DIST += lseek.c
354
355 EXTRA_libgnu_a_SOURCES += lseek.c
356
357 ## end   gnulib module lseek
358
359 ## begin gnulib module maintainer-makefile
360
361 EXTRA_DIST += $(top_srcdir)/maint.mk
362
363 ## end   gnulib module maintainer-makefile
364
365 ## begin gnulib module mbrtowc
366
367
368 EXTRA_DIST += mbrtowc.c
369
370 EXTRA_libgnu_a_SOURCES += mbrtowc.c
371
372 ## end   gnulib module mbrtowc
373
374 ## begin gnulib module mbsinit
375
376
377 EXTRA_DIST += mbsinit.c
378
379 EXTRA_libgnu_a_SOURCES += mbsinit.c
380
381 ## end   gnulib module mbsinit
382
383 ## begin gnulib module memchr
384
385
386 EXTRA_DIST += memchr.c memchr.valgrind
387
388 EXTRA_libgnu_a_SOURCES += memchr.c
389
390 ## end   gnulib module memchr
391
392 ## begin gnulib module quote
393
394
395 EXTRA_DIST += quote.c quote.h
396
397 EXTRA_libgnu_a_SOURCES += quote.c
398
399 ## end   gnulib module quote
400
401 ## begin gnulib module quotearg
402
403
404 EXTRA_DIST += quotearg.c quotearg.h
405
406 EXTRA_libgnu_a_SOURCES += quotearg.c
407
408 ## end   gnulib module quotearg
409
410 ## begin gnulib module realloc-posix
411
412
413 EXTRA_DIST += realloc.c
414
415 EXTRA_libgnu_a_SOURCES += realloc.c
416
417 ## end   gnulib module realloc-posix
418
419 ## begin gnulib module stdbool
420
421 BUILT_SOURCES += $(STDBOOL_H)
422
423 # We need the following in order to create <stdbool.h> when the system
424 # doesn't have one that works.
425 stdbool.h: stdbool.in.h
426         $(AM_V_GEN)rm -f $@-t $@ && \
427         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
428           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
429         } > $@-t && \
430         mv $@-t $@
431 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
432
433 EXTRA_DIST += stdbool.in.h
434
435 ## end   gnulib module stdbool
436
437 ## begin gnulib module stddef
438
439 BUILT_SOURCES += $(STDDEF_H)
440
441 # We need the following in order to create <stddef.h> when the system
442 # doesn't have one that works with the given compiler.
443 stddef.h: stddef.in.h
444         $(AM_V_GEN)rm -f $@-t $@ && \
445         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
446           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
447               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
448               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
449               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
450               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
451               < $(srcdir)/stddef.in.h; \
452         } > $@-t && \
453         mv $@-t $@
454 MOSTLYCLEANFILES += stddef.h stddef.h-t
455
456 EXTRA_DIST += stddef.in.h
457
458 ## end   gnulib module stddef
459
460 ## begin gnulib module stdint
461
462 BUILT_SOURCES += $(STDINT_H)
463
464 # We need the following in order to create <stdint.h> when the system
465 # doesn't have one that works with the given compiler.
466 stdint.h: stdint.in.h
467         $(AM_V_GEN)rm -f $@-t $@ && \
468         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
469           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
470               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
471               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
472               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
473               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
474               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
475               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
476               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
477               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
478               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
479               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
480               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
481               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
482               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
483               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
484               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
485               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
486               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
487               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
488               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
489               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
490               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
491               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
492               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
493               < $(srcdir)/stdint.in.h; \
494         } > $@-t && \
495         mv $@-t $@
496 MOSTLYCLEANFILES += stdint.h stdint.h-t
497
498 EXTRA_DIST += stdint.in.h
499
500 ## end   gnulib module stdint
501
502 ## begin gnulib module stdio
503
504 BUILT_SOURCES += stdio.h
505
506 # We need the following in order to create <stdio.h> when the system
507 # doesn't have one that works with the given compiler.
508 stdio.h: stdio.in.h
509         $(AM_V_GEN)rm -f $@-t $@ && \
510         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
511           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
512               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
513               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
514               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
515               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
516               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
517               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
518               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
519               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
520               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
521               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
522               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
523               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
524               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
525               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
526               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
527               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
528               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
529               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
530               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
531               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
532               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
533               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
534               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
535               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
536               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
537               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
538               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
539               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
540               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
541               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
542               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
543               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
544               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
545               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
546               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
547               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
548               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
549               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
550               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
551               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
552               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
553               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
554               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
555               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
556               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
557               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
558               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
559               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
560               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
561               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
562               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
563               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
564               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
565               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
566               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
567               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
568               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
569               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
570               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
571               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
572               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
573               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
574               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
575               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
576               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
577               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
578               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
579               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
580               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
581               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
582               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
583               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
584               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
585               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
586               < $(srcdir)/stdio.in.h; \
587         } > $@-t && \
588         mv $@-t $@
589 MOSTLYCLEANFILES += stdio.h stdio.h-t
590
591 EXTRA_DIST += stdio-write.c stdio.in.h
592
593 EXTRA_libgnu_a_SOURCES += stdio-write.c
594
595 ## end   gnulib module stdio
596
597 ## begin gnulib module stdlib
598
599 BUILT_SOURCES += stdlib.h
600
601 # We need the following in order to create <stdlib.h> when the system
602 # doesn't have one that works with the given compiler.
603 stdlib.h: stdlib.in.h
604         $(AM_V_GEN)rm -f $@-t $@ && \
605         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
606           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
607               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
608               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
609               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
610               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
611               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
612               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
613               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
614               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
615               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
616               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
617               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
618               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
619               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
620               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
621               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
622               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
623               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
624               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
625               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
626               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
627               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
628               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
629               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
630               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
631               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
632               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
633               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
634               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
635               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
636               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
637               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
638               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
639               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
640               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
641               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
642               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
643               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
644               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
645               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
646               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
647               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
648               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
649               < $(srcdir)/stdlib.in.h; \
650         } > $@-t && \
651         mv $@-t $@
652 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
653
654 EXTRA_DIST += stdlib.in.h
655
656 ## end   gnulib module stdlib
657
658 ## begin gnulib module strcase
659
660
661 EXTRA_DIST += strcasecmp.c strncasecmp.c
662
663 EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
664
665 ## end   gnulib module strcase
666
667 ## begin gnulib module strcasestr-simple
668
669
670 EXTRA_DIST += str-two-way.h strcasestr.c
671
672 EXTRA_libgnu_a_SOURCES += strcasestr.c
673
674 ## end   gnulib module strcasestr-simple
675
676 ## begin gnulib module streq
677
678
679 EXTRA_DIST += streq.h
680
681 ## end   gnulib module streq
682
683 ## begin gnulib module strerror
684
685
686 EXTRA_DIST += strerror.c
687
688 EXTRA_libgnu_a_SOURCES += strerror.c
689
690 ## end   gnulib module strerror
691
692 ## begin gnulib module string
693
694 BUILT_SOURCES += string.h
695
696 # We need the following in order to create <string.h> when the system
697 # doesn't have one that works with the given compiler.
698 string.h: string.in.h
699         $(AM_V_GEN)rm -f $@-t $@ && \
700         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
701           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
702               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
703               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
704               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
705               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
706               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
707               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
708               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
709               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
710               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
711               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
712               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
713               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
714               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
715               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
716               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
717               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
718               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
719               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
720               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
721               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
722               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
723               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
724               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
725               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
726               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
727               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
728               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
729               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
730               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
731               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
732               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
733               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
734               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
735               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
736               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
737               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
738               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
739               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
740               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
741               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
742               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
743               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
744               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
745               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
746               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
747               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
748               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
749               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
750               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
751               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
752               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
753               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
754               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
755               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
756               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
757               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
758               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
759               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
760               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
761               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
762               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
763               < $(srcdir)/string.in.h; \
764         } > $@-t && \
765         mv $@-t $@
766 MOSTLYCLEANFILES += string.h string.h-t
767
768 EXTRA_DIST += string.in.h
769
770 ## end   gnulib module string
771
772 ## begin gnulib module strings
773
774 BUILT_SOURCES += strings.h
775
776 # We need the following in order to create <strings.h> when the system
777 # doesn't have one that works with the given compiler.
778 strings.h: strings.in.h
779         $(AM_V_GEN)rm -f $@-t $@ && \
780         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
781           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
782               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
783               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
784               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
785               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
786               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
787               < $(srcdir)/strings.in.h; \
788         } > $@-t && \
789         mv $@-t $@
790 MOSTLYCLEANFILES += strings.h strings.h-t
791
792 EXTRA_DIST += strings.in.h
793
794 ## end   gnulib module strings
795
796 ## begin gnulib module unistd
797
798 BUILT_SOURCES += unistd.h
799
800 # We need the following in order to create an empty placeholder for
801 # <unistd.h> when the system doesn't have one.
802 unistd.h: unistd.in.h
803         $(AM_V_GEN)rm -f $@-t $@ && \
804         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
805           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
806               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
807               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
808               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
809               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
810               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
811               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
812               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
813               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
814               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
815               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
816               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
817               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
818               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
819               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
820               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
821               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
822               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
823               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
824               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
825               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
826               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
827               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
828               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
829               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
830               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
831               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
832               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
833               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
834               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
835               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
836               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
837               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
838               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
839               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
840               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
841               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
842               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
843               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
844               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
845               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
846               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
847               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
848               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
849               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
850               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
851               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
852               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
853               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
854               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
855               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
856               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
857               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
858               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
859               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
860               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
861               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
862               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
863               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
864               < $(srcdir)/unistd.in.h; \
865         } > $@-t && \
866         mv $@-t $@
867 MOSTLYCLEANFILES += unistd.h unistd.h-t
868
869 EXTRA_DIST += unistd.in.h
870
871 ## end   gnulib module unistd
872
873 ## begin gnulib module update-copyright
874
875
876 EXTRA_DIST += $(top_srcdir)/./update-copyright
877
878 ## end   gnulib module update-copyright
879
880 ## begin gnulib module useless-if-before-free
881
882
883 EXTRA_DIST += $(top_srcdir)/./useless-if-before-free
884
885 ## end   gnulib module useless-if-before-free
886
887 ## begin gnulib module vc-list-files
888
889
890 EXTRA_DIST += $(top_srcdir)/./vc-list-files
891
892 ## end   gnulib module vc-list-files
893
894 ## begin gnulib module verify
895
896 libgnu_a_SOURCES += verify.h
897
898 ## end   gnulib module verify
899
900 ## begin gnulib module wchar
901
902 BUILT_SOURCES += $(WCHAR_H)
903
904 # We need the following in order to create <wchar.h> when the system
905 # version does not work standalone.
906 wchar.h: wchar.in.h
907         $(AM_V_GEN)rm -f $@-t $@ && \
908         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
909           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
910               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
911               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
912               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
913               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
914               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
915               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
916               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
917               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
918               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
919               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
920               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
921               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
922               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
923               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
924               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
925               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
926               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
927               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
928               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
929               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
930               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
931               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
932               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
933               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
934               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
935               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
936               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
937               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
938               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
939               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
940               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
941               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
942               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
943               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
944               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
945               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
946               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
947               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
948               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
949             < $(srcdir)/wchar.in.h; \
950         } > $@-t && \
951         mv $@-t $@
952 MOSTLYCLEANFILES += wchar.h wchar.h-t
953
954 EXTRA_DIST += wchar.in.h
955
956 ## end   gnulib module wchar
957
958 ## begin gnulib module wctype
959
960 BUILT_SOURCES += $(WCTYPE_H)
961
962 # We need the following in order to create <wctype.h> when the system
963 # doesn't have one that works with the given compiler.
964 wctype.h: wctype.in.h
965         $(AM_V_GEN)rm -f $@-t $@ && \
966         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
967           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
968               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
969               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
970               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
971               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
972               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
973               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
974               < $(srcdir)/wctype.in.h; \
975         } > $@-t && \
976         mv $@-t $@
977 MOSTLYCLEANFILES += wctype.h wctype.h-t
978
979 EXTRA_DIST += wctype.in.h
980
981 ## end   gnulib module wctype
982
983 ## begin gnulib module xalloc
984
985
986 EXTRA_DIST += xalloc.h xmalloc.c
987
988 EXTRA_libgnu_a_SOURCES += xmalloc.c
989
990 ## end   gnulib module xalloc
991
992 ## begin gnulib module xalloc-die
993
994 libgnu_a_SOURCES += xalloc-die.c
995
996 ## end   gnulib module xalloc-die
997
998
999 mostlyclean-local: mostlyclean-generic
1000         @for dir in '' $(MOSTLYCLEANDIRS); do \
1001           if test -n "$$dir" && test -d $$dir; then \
1002             echo "rmdir $$dir"; rmdir $$dir; \
1003           fi; \
1004         done; \
1005         :