]> sjero.net Git - wget/blob - lib/Makefile.am
gnupload.
[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 gnupload 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 gnupload
262
263
264 EXTRA_DIST += $(top_srcdir)/./gnupload
265
266 ## end   gnulib module gnupload
267
268 ## begin gnulib module intprops
269
270
271 EXTRA_DIST += intprops.h
272
273 ## end   gnulib module intprops
274
275 ## begin gnulib module link-warning
276
277 LINK_WARNING_H=$(top_srcdir)/./link-warning.h
278
279 EXTRA_DIST += $(top_srcdir)/./link-warning.h
280
281 ## end   gnulib module link-warning
282
283 ## begin gnulib module localcharset
284
285 libgnu_a_SOURCES += localcharset.h localcharset.c
286
287 # We need the following in order to install a simple file in $(libdir)
288 # which is shared with other installed packages. We use a list of referencing
289 # packages so that "make uninstall" will remove the file if and only if it
290 # is not used by another installed package.
291 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
292 # avoid installing it.
293
294 all-local: charset.alias ref-add.sed ref-del.sed
295
296 charset_alias = $(DESTDIR)$(libdir)/charset.alias
297 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
298 install-exec-local: install-exec-localcharset
299 install-exec-localcharset: all-local
300         if test $(GLIBC21) = no; then \
301           case '$(host_os)' in \
302             darwin[56]*) \
303               need_charset_alias=true ;; \
304             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
305               need_charset_alias=false ;; \
306             *) \
307               need_charset_alias=true ;; \
308           esac ; \
309         else \
310           need_charset_alias=false ; \
311         fi ; \
312         if $$need_charset_alias; then \
313           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
314         fi ; \
315         if test -f $(charset_alias); then \
316           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
317           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
318           rm -f $(charset_tmp) ; \
319         else \
320           if $$need_charset_alias; then \
321             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
322             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
323             rm -f $(charset_tmp) ; \
324           fi ; \
325         fi
326
327 uninstall-local: uninstall-localcharset
328 uninstall-localcharset: all-local
329         if test -f $(charset_alias); then \
330           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
331           if grep '^# Packages using this file: $$' $(charset_tmp) \
332               > /dev/null; then \
333             rm -f $(charset_alias); \
334           else \
335             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
336           fi; \
337           rm -f $(charset_tmp); \
338         fi
339
340 charset.alias: config.charset
341         $(AM_V_GEN)rm -f t-$@ $@ && \
342         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
343         mv t-$@ $@
344
345 SUFFIXES += .sed .sin
346 .sin.sed:
347         $(AM_V_GEN)rm -f t-$@ $@ && \
348         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
349         mv t-$@ $@
350
351 CLEANFILES += charset.alias ref-add.sed ref-del.sed
352
353 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
354
355 ## end   gnulib module localcharset
356
357 ## begin gnulib module lseek
358
359
360 EXTRA_DIST += lseek.c
361
362 EXTRA_libgnu_a_SOURCES += lseek.c
363
364 ## end   gnulib module lseek
365
366 ## begin gnulib module maintainer-makefile
367
368 EXTRA_DIST += $(top_srcdir)/maint.mk
369
370 ## end   gnulib module maintainer-makefile
371
372 ## begin gnulib module mbrtowc
373
374
375 EXTRA_DIST += mbrtowc.c
376
377 EXTRA_libgnu_a_SOURCES += mbrtowc.c
378
379 ## end   gnulib module mbrtowc
380
381 ## begin gnulib module mbsinit
382
383
384 EXTRA_DIST += mbsinit.c
385
386 EXTRA_libgnu_a_SOURCES += mbsinit.c
387
388 ## end   gnulib module mbsinit
389
390 ## begin gnulib module memchr
391
392
393 EXTRA_DIST += memchr.c memchr.valgrind
394
395 EXTRA_libgnu_a_SOURCES += memchr.c
396
397 ## end   gnulib module memchr
398
399 ## begin gnulib module quote
400
401
402 EXTRA_DIST += quote.c quote.h
403
404 EXTRA_libgnu_a_SOURCES += quote.c
405
406 ## end   gnulib module quote
407
408 ## begin gnulib module quotearg
409
410
411 EXTRA_DIST += quotearg.c quotearg.h
412
413 EXTRA_libgnu_a_SOURCES += quotearg.c
414
415 ## end   gnulib module quotearg
416
417 ## begin gnulib module realloc-posix
418
419
420 EXTRA_DIST += realloc.c
421
422 EXTRA_libgnu_a_SOURCES += realloc.c
423
424 ## end   gnulib module realloc-posix
425
426 ## begin gnulib module stdbool
427
428 BUILT_SOURCES += $(STDBOOL_H)
429
430 # We need the following in order to create <stdbool.h> when the system
431 # doesn't have one that works.
432 stdbool.h: stdbool.in.h
433         $(AM_V_GEN)rm -f $@-t $@ && \
434         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
435           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
436         } > $@-t && \
437         mv $@-t $@
438 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
439
440 EXTRA_DIST += stdbool.in.h
441
442 ## end   gnulib module stdbool
443
444 ## begin gnulib module stddef
445
446 BUILT_SOURCES += $(STDDEF_H)
447
448 # We need the following in order to create <stddef.h> when the system
449 # doesn't have one that works with the given compiler.
450 stddef.h: stddef.in.h
451         $(AM_V_GEN)rm -f $@-t $@ && \
452         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
453           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
454               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
455               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
456               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
457               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
458               < $(srcdir)/stddef.in.h; \
459         } > $@-t && \
460         mv $@-t $@
461 MOSTLYCLEANFILES += stddef.h stddef.h-t
462
463 EXTRA_DIST += stddef.in.h
464
465 ## end   gnulib module stddef
466
467 ## begin gnulib module stdint
468
469 BUILT_SOURCES += $(STDINT_H)
470
471 # We need the following in order to create <stdint.h> when the system
472 # doesn't have one that works with the given compiler.
473 stdint.h: stdint.in.h
474         $(AM_V_GEN)rm -f $@-t $@ && \
475         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
476           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
477               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
478               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
479               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
480               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
481               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
482               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
483               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
484               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
485               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
486               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
487               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
488               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
489               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
490               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
491               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
492               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
493               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
494               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
495               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
496               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
497               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
498               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
499               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
500               < $(srcdir)/stdint.in.h; \
501         } > $@-t && \
502         mv $@-t $@
503 MOSTLYCLEANFILES += stdint.h stdint.h-t
504
505 EXTRA_DIST += stdint.in.h
506
507 ## end   gnulib module stdint
508
509 ## begin gnulib module stdio
510
511 BUILT_SOURCES += stdio.h
512
513 # We need the following in order to create <stdio.h> when the system
514 # doesn't have one that works with the given compiler.
515 stdio.h: stdio.in.h
516         $(AM_V_GEN)rm -f $@-t $@ && \
517         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
518           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
519               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
520               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
521               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
522               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
523               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
524               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
525               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
526               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
527               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
528               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
529               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
530               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
531               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
532               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
533               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
534               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
535               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
536               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
537               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
538               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
539               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
540               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
541               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
542               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
543               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
544               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
545               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
546               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
547               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
548               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
549               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
550               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
551               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
552               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
553               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
554               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
555               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
556               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
557               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
558               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
559               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
560               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
561               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
562               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
563               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
564               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
565               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
566               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
567               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
568               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
569               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
570               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
571               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
572               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
573               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
574               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
575               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
576               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
577               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
578               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
579               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
580               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
581               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
582               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
583               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
584               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
585               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
586               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
587               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
588               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
589               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
590               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
591               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
592               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
593               < $(srcdir)/stdio.in.h; \
594         } > $@-t && \
595         mv $@-t $@
596 MOSTLYCLEANFILES += stdio.h stdio.h-t
597
598 EXTRA_DIST += stdio-write.c stdio.in.h
599
600 EXTRA_libgnu_a_SOURCES += stdio-write.c
601
602 ## end   gnulib module stdio
603
604 ## begin gnulib module stdlib
605
606 BUILT_SOURCES += stdlib.h
607
608 # We need the following in order to create <stdlib.h> when the system
609 # doesn't have one that works with the given compiler.
610 stdlib.h: stdlib.in.h
611         $(AM_V_GEN)rm -f $@-t $@ && \
612         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
613           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
614               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
615               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
616               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
617               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
618               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
619               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
620               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
621               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
622               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
623               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
624               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
625               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
626               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
627               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
628               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
629               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
630               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
631               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
632               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
633               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
634               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
635               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
636               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
637               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
638               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
639               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
640               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
641               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
642               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
643               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
644               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
645               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
646               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
647               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
648               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
649               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
650               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
651               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
652               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
653               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
654               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
655               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
656               < $(srcdir)/stdlib.in.h; \
657         } > $@-t && \
658         mv $@-t $@
659 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
660
661 EXTRA_DIST += stdlib.in.h
662
663 ## end   gnulib module stdlib
664
665 ## begin gnulib module strcase
666
667
668 EXTRA_DIST += strcasecmp.c strncasecmp.c
669
670 EXTRA_libgnu_a_SOURCES += strcasecmp.c strncasecmp.c
671
672 ## end   gnulib module strcase
673
674 ## begin gnulib module strcasestr-simple
675
676
677 EXTRA_DIST += str-two-way.h strcasestr.c
678
679 EXTRA_libgnu_a_SOURCES += strcasestr.c
680
681 ## end   gnulib module strcasestr-simple
682
683 ## begin gnulib module streq
684
685
686 EXTRA_DIST += streq.h
687
688 ## end   gnulib module streq
689
690 ## begin gnulib module strerror
691
692
693 EXTRA_DIST += strerror.c
694
695 EXTRA_libgnu_a_SOURCES += strerror.c
696
697 ## end   gnulib module strerror
698
699 ## begin gnulib module string
700
701 BUILT_SOURCES += string.h
702
703 # We need the following in order to create <string.h> when the system
704 # doesn't have one that works with the given compiler.
705 string.h: string.in.h
706         $(AM_V_GEN)rm -f $@-t $@ && \
707         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
708           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
709               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
710               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
711               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
712               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
713               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
714               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
715               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
716               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
717               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
718               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
719               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
720               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
721               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
722               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
723               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
724               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
725               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
726               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
727               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
728               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
729               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
730               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
731               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
732               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
733               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
734               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
735               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
736               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
737               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
738               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
739               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
740               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
741               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
742               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
743               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
744               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
745               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
746               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
747               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
748               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
749               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
750               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
751               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
752               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
753               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
754               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
755               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
756               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
757               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
758               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
759               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
760               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
761               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
762               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
763               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
764               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
765               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
766               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
767               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
768               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
769               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
770               < $(srcdir)/string.in.h; \
771         } > $@-t && \
772         mv $@-t $@
773 MOSTLYCLEANFILES += string.h string.h-t
774
775 EXTRA_DIST += string.in.h
776
777 ## end   gnulib module string
778
779 ## begin gnulib module strings
780
781 BUILT_SOURCES += strings.h
782
783 # We need the following in order to create <strings.h> when the system
784 # doesn't have one that works with the given compiler.
785 strings.h: strings.in.h
786         $(AM_V_GEN)rm -f $@-t $@ && \
787         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
788           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
789               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
790               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
791               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
792               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
793               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
794               < $(srcdir)/strings.in.h; \
795         } > $@-t && \
796         mv $@-t $@
797 MOSTLYCLEANFILES += strings.h strings.h-t
798
799 EXTRA_DIST += strings.in.h
800
801 ## end   gnulib module strings
802
803 ## begin gnulib module unistd
804
805 BUILT_SOURCES += unistd.h
806
807 # We need the following in order to create an empty placeholder for
808 # <unistd.h> when the system doesn't have one.
809 unistd.h: unistd.in.h
810         $(AM_V_GEN)rm -f $@-t $@ && \
811         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
812           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
813               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
814               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
815               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
816               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
817               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
818               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
819               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
820               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
821               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
822               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
823               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
824               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
825               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
826               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
827               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
828               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
829               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
830               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
831               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
832               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
833               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
834               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
835               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
836               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
837               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
838               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
839               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
840               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
841               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
842               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
843               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
844               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
845               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
846               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
847               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
848               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
849               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
850               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
851               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
852               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
853               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
854               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
855               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
856               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
857               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
858               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
859               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
860               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
861               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
862               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
863               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
864               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
865               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
866               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
867               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
868               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
869               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
870               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
871               < $(srcdir)/unistd.in.h; \
872         } > $@-t && \
873         mv $@-t $@
874 MOSTLYCLEANFILES += unistd.h unistd.h-t
875
876 EXTRA_DIST += unistd.in.h
877
878 ## end   gnulib module unistd
879
880 ## begin gnulib module update-copyright
881
882
883 EXTRA_DIST += $(top_srcdir)/./update-copyright
884
885 ## end   gnulib module update-copyright
886
887 ## begin gnulib module useless-if-before-free
888
889
890 EXTRA_DIST += $(top_srcdir)/./useless-if-before-free
891
892 ## end   gnulib module useless-if-before-free
893
894 ## begin gnulib module vc-list-files
895
896
897 EXTRA_DIST += $(top_srcdir)/./vc-list-files
898
899 ## end   gnulib module vc-list-files
900
901 ## begin gnulib module verify
902
903 libgnu_a_SOURCES += verify.h
904
905 ## end   gnulib module verify
906
907 ## begin gnulib module wchar
908
909 BUILT_SOURCES += $(WCHAR_H)
910
911 # We need the following in order to create <wchar.h> when the system
912 # version does not work standalone.
913 wchar.h: wchar.in.h
914         $(AM_V_GEN)rm -f $@-t $@ && \
915         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
916           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
917               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
918               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
919               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
920               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
921               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
922               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
923               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
924               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
925               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
926               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
927               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
928               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
929               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
930               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
931               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
932               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
933               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
934               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
935               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
936               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
937               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
938               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
939               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
940               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
941               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
942               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
943               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
944               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
945               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
946               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
947               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
948               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
949               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
950               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
951               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
952               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
953               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
954               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
955               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
956             < $(srcdir)/wchar.in.h; \
957         } > $@-t && \
958         mv $@-t $@
959 MOSTLYCLEANFILES += wchar.h wchar.h-t
960
961 EXTRA_DIST += wchar.in.h
962
963 ## end   gnulib module wchar
964
965 ## begin gnulib module wctype
966
967 BUILT_SOURCES += $(WCTYPE_H)
968
969 # We need the following in order to create <wctype.h> when the system
970 # doesn't have one that works with the given compiler.
971 wctype.h: wctype.in.h
972         $(AM_V_GEN)rm -f $@-t $@ && \
973         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
974           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
975               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
976               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
977               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
978               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
979               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
980               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
981               < $(srcdir)/wctype.in.h; \
982         } > $@-t && \
983         mv $@-t $@
984 MOSTLYCLEANFILES += wctype.h wctype.h-t
985
986 EXTRA_DIST += wctype.in.h
987
988 ## end   gnulib module wctype
989
990 ## begin gnulib module xalloc
991
992
993 EXTRA_DIST += xalloc.h xmalloc.c
994
995 EXTRA_libgnu_a_SOURCES += xmalloc.c
996
997 ## end   gnulib module xalloc
998
999 ## begin gnulib module xalloc-die
1000
1001 libgnu_a_SOURCES += xalloc-die.c
1002
1003 ## end   gnulib module xalloc-die
1004
1005
1006 mostlyclean-local: mostlyclean-generic
1007         @for dir in '' $(MOSTLYCLEANDIRS); do \
1008           if test -n "$$dir" && test -d $$dir; then \
1009             echo "rmdir $$dir"; rmdir $$dir; \
1010           fi; \
1011         done; \
1012         :