547b48714ce1d58cf6f5c9e49bcfe5a38b767920
[debian/amanda] / gnulib / 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=gnulib --m4-base=config/gnulib --doc-base=doc --tests-base=tests --aux-dir=config --libtool --macro-prefix=gl base64 fseeko fsusage ftello ftruncate full-read full-write getaddrinfo getopt lock lseek mkdtemp physmem regex visibility
13
14 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
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 if GCC_COMPILER
31   AM_CFLAGS = -Wno-error -Wno-sign-compare
32 endif
33
34 noinst_LTLIBRARIES += libgnu.la
35
36 libgnu_la_SOURCES =
37 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
38 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
39 EXTRA_libgnu_la_SOURCES =
40 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
41
42 ## begin gnulib module alloca
43
44
45 EXTRA_DIST += alloca.c
46
47 EXTRA_libgnu_la_SOURCES += alloca.c
48
49 libgnu_la_LIBADD += @LTALLOCA@
50 libgnu_la_DEPENDENCIES += @LTALLOCA@
51 ## end   gnulib module alloca
52
53 ## begin gnulib module alloca-opt
54
55 BUILT_SOURCES += $(ALLOCA_H)
56
57 # We need the following in order to create <alloca.h> when the system
58 # doesn't have one that works with the given compiler.
59 alloca.h: alloca.in.h
60         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
61           cat $(srcdir)/alloca.in.h; \
62         } > $@-t
63         mv -f $@-t $@
64 MOSTLYCLEANFILES += alloca.h alloca.h-t
65
66 EXTRA_DIST += alloca.in.h
67
68 ## end   gnulib module alloca-opt
69
70 ## begin gnulib module arpa_inet
71
72 BUILT_SOURCES += $(ARPA_INET_H)
73
74 # We need the following in order to create <arpa/inet.h> when the system
75 # doesn't have one.
76 arpa/inet.h:
77         @MKDIR_P@ arpa
78         rm -f $@-t $@
79         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
80           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
81               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
82               -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
83               -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
84               -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
85               -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
86               -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
87               -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
88               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
89               < $(srcdir)/arpa_inet.in.h; \
90         } > $@-t
91         mv $@-t $@
92 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
93 MOSTLYCLEANDIRS += arpa
94
95 EXTRA_DIST += arpa_inet.in.h
96
97 ## end   gnulib module arpa_inet
98
99 ## begin gnulib module base64
100
101 libgnu_la_SOURCES += base64.h base64.c
102
103 ## end   gnulib module base64
104
105 ## begin gnulib module btowc
106
107
108 EXTRA_DIST += btowc.c
109
110 EXTRA_libgnu_la_SOURCES += btowc.c
111
112 ## end   gnulib module btowc
113
114 ## begin gnulib module configmake
115
116 # Retrieve values of the variables through 'configure' followed by
117 # 'make', not directly through 'configure', so that a user who
118 # sets some of these variables consistently on the 'make' command
119 # line gets correct results.
120 #
121 # One advantage of this approach, compared to the classical
122 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
123 # is that it protects against the use of undefined variables.
124 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
125 # defined by this module, and code using LIBDIR gives a
126 # compilation error.
127 #
128 # Another advantage is that 'make' output is shorter.
129 #
130 # Listed in the same order as the GNU makefile conventions.
131 # The Automake-defined pkg* macros are appended, in the order
132 # listed in the Automake 1.10a+ documentation.
133 configmake.h: Makefile
134         rm -f $@-t $@
135         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
136           echo '#define PREFIX "$(prefix)"'; \
137           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
138           echo '#define BINDIR "$(bindir)"'; \
139           echo '#define SBINDIR "$(sbindir)"'; \
140           echo '#define LIBEXECDIR "$(libexecdir)"'; \
141           echo '#define DATAROOTDIR "$(datarootdir)"'; \
142           echo '#define DATADIR "$(datadir)"'; \
143           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
144           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
145           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
146           echo '#define INCLUDEDIR "$(includedir)"'; \
147           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
148           echo '#define DOCDIR "$(docdir)"'; \
149           echo '#define INFODIR "$(infodir)"'; \
150           echo '#define HTMLDIR "$(htmldir)"'; \
151           echo '#define DVIDIR "$(dvidir)"'; \
152           echo '#define PDFDIR "$(pdfdir)"'; \
153           echo '#define PSDIR "$(psdir)"'; \
154           echo '#define LIBDIR "$(libdir)"'; \
155           echo '#define LISPDIR "$(lispdir)"'; \
156           echo '#define LOCALEDIR "$(localedir)"'; \
157           echo '#define MANDIR "$(mandir)"'; \
158           echo '#define MANEXT "$(manext)"'; \
159           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
160           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
161           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
162           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
163         } | sed '/""/d' > $@-t
164         mv $@-t $@
165 BUILT_SOURCES += configmake.h
166 CLEANFILES += configmake.h configmake.h-t
167
168 ## end   gnulib module configmake
169
170 ## begin gnulib module errno
171
172 BUILT_SOURCES += $(ERRNO_H)
173
174 # We need the following in order to create <errno.h> when the system
175 # doesn't have one that is POSIX compliant.
176 errno.h: errno.in.h
177         rm -f $@-t $@
178         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
179           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
180               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
181               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
182               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
183               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
184               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
185               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
186               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
187               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
188               < $(srcdir)/errno.in.h; \
189         } > $@-t
190         mv $@-t $@
191 MOSTLYCLEANFILES += errno.h errno.h-t
192
193 EXTRA_DIST += errno.in.h
194
195 ## end   gnulib module errno
196
197 ## begin gnulib module float
198
199 BUILT_SOURCES += $(FLOAT_H)
200
201 # We need the following in order to create <float.h> when the system
202 # doesn't have one that works with the given compiler.
203 float.h: float.in.h
204         rm -f $@-t $@
205         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
206           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
207               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
208               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
209               < $(srcdir)/float.in.h; \
210         } > $@-t
211         mv $@-t $@
212 MOSTLYCLEANFILES += float.h float.h-t
213
214 EXTRA_DIST += float.in.h
215
216 ## end   gnulib module float
217
218 ## begin gnulib module fseeko
219
220
221 EXTRA_DIST += fseeko.c stdio-impl.h
222
223 EXTRA_libgnu_la_SOURCES += fseeko.c
224
225 ## end   gnulib module fseeko
226
227 ## begin gnulib module fsusage
228
229
230 EXTRA_DIST += fsusage.c fsusage.h
231
232 EXTRA_libgnu_la_SOURCES += fsusage.c
233
234 ## end   gnulib module fsusage
235
236 ## begin gnulib module ftello
237
238
239 EXTRA_DIST += ftello.c
240
241 EXTRA_libgnu_la_SOURCES += ftello.c
242
243 ## end   gnulib module ftello
244
245 ## begin gnulib module ftruncate
246
247
248 EXTRA_DIST += ftruncate.c
249
250 EXTRA_libgnu_la_SOURCES += ftruncate.c
251
252 ## end   gnulib module ftruncate
253
254 ## begin gnulib module full-read
255
256 libgnu_la_SOURCES += full-read.h full-read.c
257
258 ## end   gnulib module full-read
259
260 ## begin gnulib module full-write
261
262 libgnu_la_SOURCES += full-write.h full-write.c
263
264 ## end   gnulib module full-write
265
266 ## begin gnulib module getaddrinfo
267
268
269 EXTRA_DIST += gai_strerror.c getaddrinfo.c
270
271 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
272
273 ## end   gnulib module getaddrinfo
274
275 ## begin gnulib module getopt
276
277 BUILT_SOURCES += $(GETOPT_H)
278
279 # We need the following in order to create <getopt.h> when the system
280 # doesn't have one that works with the given compiler.
281 getopt.h: getopt.in.h
282         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
283           cat $(srcdir)/getopt.in.h; \
284         } > $@-t
285         mv -f $@-t $@
286 MOSTLYCLEANFILES += getopt.h getopt.h-t
287
288 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
289
290 EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
291
292 ## end   gnulib module getopt
293
294 ## begin gnulib module gettext-h
295
296 libgnu_la_SOURCES += gettext.h
297
298 ## end   gnulib module gettext-h
299
300 ## begin gnulib module gettimeofday
301
302
303 EXTRA_DIST += gettimeofday.c
304
305 EXTRA_libgnu_la_SOURCES += gettimeofday.c
306
307 ## end   gnulib module gettimeofday
308
309 ## begin gnulib module havelib
310
311
312 EXTRA_DIST += $(top_srcdir)/config/config.rpath
313
314 ## end   gnulib module havelib
315
316 ## begin gnulib module inet_ntop
317
318
319 EXTRA_DIST += inet_ntop.c
320
321 EXTRA_libgnu_la_SOURCES += inet_ntop.c
322
323 ## end   gnulib module inet_ntop
324
325 ## begin gnulib module link-warning
326
327 LINK_WARNING_H=$(top_srcdir)/config/link-warning.h
328
329 EXTRA_DIST += $(top_srcdir)/config/link-warning.h
330
331 ## end   gnulib module link-warning
332
333 ## begin gnulib module localcharset
334
335 libgnu_la_SOURCES += localcharset.h localcharset.c
336
337 # We need the following in order to install a simple file in $(libdir)
338 # which is shared with other installed packages. We use a list of referencing
339 # packages so that "make uninstall" will remove the file if and only if it
340 # is not used by another installed package.
341 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
342 # avoid installing it.
343
344 all-local: charset.alias ref-add.sed ref-del.sed
345
346 charset_alias = $(DESTDIR)$(libdir)/charset.alias
347 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
348 install-exec-local: all-local
349         if test $(GLIBC21) = no; then \
350           case '$(host_os)' in \
351             darwin[56]*) \
352               need_charset_alias=true ;; \
353             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
354               need_charset_alias=false ;; \
355             *) \
356               need_charset_alias=true ;; \
357           esac ; \
358         else \
359           need_charset_alias=false ; \
360         fi ; \
361         if $$need_charset_alias; then \
362           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
363         fi ; \
364         if test -f $(charset_alias); then \
365           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
366           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
367           rm -f $(charset_tmp) ; \
368         else \
369           if $$need_charset_alias; then \
370             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
371             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
372             rm -f $(charset_tmp) ; \
373           fi ; \
374         fi
375
376 uninstall-local: all-local
377         if test -f $(charset_alias); then \
378           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
379           if grep '^# Packages using this file: $$' $(charset_tmp) \
380               > /dev/null; then \
381             rm -f $(charset_alias); \
382           else \
383             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
384           fi; \
385           rm -f $(charset_tmp); \
386         fi
387
388 charset.alias: config.charset
389         rm -f t-$@ $@
390         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
391         mv t-$@ $@
392
393 SUFFIXES += .sed .sin
394 .sin.sed:
395         rm -f t-$@ $@
396         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
397         mv t-$@ $@
398
399 CLEANFILES += charset.alias ref-add.sed ref-del.sed
400
401 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
402
403 ## end   gnulib module localcharset
404
405 ## begin gnulib module lock
406
407 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
408
409 ## end   gnulib module lock
410
411 ## begin gnulib module lseek
412
413
414 EXTRA_DIST += lseek.c
415
416 EXTRA_libgnu_la_SOURCES += lseek.c
417
418 ## end   gnulib module lseek
419
420 ## begin gnulib module lstat
421
422
423 EXTRA_DIST += lstat.c
424
425 EXTRA_libgnu_la_SOURCES += lstat.c
426
427 ## end   gnulib module lstat
428
429 ## begin gnulib module malloc
430
431
432 EXTRA_DIST += malloc.c
433
434 EXTRA_libgnu_la_SOURCES += malloc.c
435
436 ## end   gnulib module malloc
437
438 ## begin gnulib module malloc-posix
439
440
441 EXTRA_DIST += malloc.c
442
443 EXTRA_libgnu_la_SOURCES += malloc.c
444
445 ## end   gnulib module malloc-posix
446
447 ## begin gnulib module mbrtowc
448
449
450 EXTRA_DIST += mbrtowc.c
451
452 EXTRA_libgnu_la_SOURCES += mbrtowc.c
453
454 ## end   gnulib module mbrtowc
455
456 ## begin gnulib module mbsinit
457
458
459 EXTRA_DIST += mbsinit.c
460
461 EXTRA_libgnu_la_SOURCES += mbsinit.c
462
463 ## end   gnulib module mbsinit
464
465 ## begin gnulib module mkdtemp
466
467
468 EXTRA_DIST += mkdtemp.c
469
470 EXTRA_libgnu_la_SOURCES += mkdtemp.c
471
472 ## end   gnulib module mkdtemp
473
474 ## begin gnulib module netdb
475
476 BUILT_SOURCES += $(NETDB_H)
477
478 # We need the following in order to create <netdb.h> when the system
479 # doesn't have one that works with the given compiler.
480 netdb.h: netdb.in.h
481         rm -f $@-t $@
482         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
483           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
484               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
485               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
486               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
487               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
488               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
489               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
490               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
491               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
492               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
493               < $(srcdir)/netdb.in.h; \
494         } > $@-t
495         mv $@-t $@
496 MOSTLYCLEANFILES += netdb.h netdb.h-t
497
498 EXTRA_DIST += netdb.in.h
499
500 ## end   gnulib module netdb
501
502 ## begin gnulib module netinet_in
503
504 BUILT_SOURCES += $(NETINET_IN_H)
505
506 # We need the following in order to create <netinet/in.h> when the system
507 # doesn't have one.
508 netinet/in.h: netinet_in.in.h
509         @MKDIR_P@ netinet
510         rm -f $@-t $@
511         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
512           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
513               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
514               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
515               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
516               < $(srcdir)/netinet_in.in.h; \
517         } > $@-t
518         mv $@-t $@
519 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
520 MOSTLYCLEANDIRS += netinet
521
522 EXTRA_DIST += netinet_in.in.h
523
524 ## end   gnulib module netinet_in
525
526 ## begin gnulib module physmem
527
528
529 EXTRA_DIST += physmem.c physmem.h
530
531 EXTRA_libgnu_la_SOURCES += physmem.c
532
533 ## end   gnulib module physmem
534
535 ## begin gnulib module regex
536
537
538 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
539
540 EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
541
542 ## end   gnulib module regex
543
544 ## begin gnulib module safe-read
545
546
547 EXTRA_DIST += safe-read.c safe-read.h
548
549 EXTRA_libgnu_la_SOURCES += safe-read.c
550
551 ## end   gnulib module safe-read
552
553 ## begin gnulib module safe-write
554
555
556 EXTRA_DIST += safe-write.c safe-write.h
557
558 EXTRA_libgnu_la_SOURCES += safe-write.c
559
560 ## end   gnulib module safe-write
561
562 ## begin gnulib module size_max
563
564 libgnu_la_SOURCES += size_max.h
565
566 ## end   gnulib module size_max
567
568 ## begin gnulib module snprintf
569
570
571 EXTRA_DIST += snprintf.c
572
573 EXTRA_libgnu_la_SOURCES += snprintf.c
574
575 ## end   gnulib module snprintf
576
577 ## begin gnulib module stdbool
578
579 BUILT_SOURCES += $(STDBOOL_H)
580
581 # We need the following in order to create <stdbool.h> when the system
582 # doesn't have one that works.
583 stdbool.h: stdbool.in.h
584         rm -f $@-t $@
585         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
586           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
587         } > $@-t
588         mv $@-t $@
589 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
590
591 EXTRA_DIST += stdbool.in.h
592
593 ## end   gnulib module stdbool
594
595 ## begin gnulib module stdint
596
597 BUILT_SOURCES += $(STDINT_H)
598
599 # We need the following in order to create <stdint.h> when the system
600 # doesn't have one that works with the given compiler.
601 stdint.h: stdint.in.h
602         rm -f $@-t $@
603         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
604           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
605               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
606               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
607               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
608               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
609               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
610               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
611               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
612               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
613               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
614               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
615               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
616               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
617               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
618               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
619               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
620               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
621               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
622               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
623               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
624               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
625               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
626               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
627               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
628               < $(srcdir)/stdint.in.h; \
629         } > $@-t
630         mv $@-t $@
631 MOSTLYCLEANFILES += stdint.h stdint.h-t
632
633 EXTRA_DIST += stdint.in.h
634
635 ## end   gnulib module stdint
636
637 ## begin gnulib module stdio
638
639 BUILT_SOURCES += stdio.h
640
641 # We need the following in order to create <stdio.h> when the system
642 # doesn't have one that works with the given compiler.
643 stdio.h: stdio.in.h
644         rm -f $@-t $@
645         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
646           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
647               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
648               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
649               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
650               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
651               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
652               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
653               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
654               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
655               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
656               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
657               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
658               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
659               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
660               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
661               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
662               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
663               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
664               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
665               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
666               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
667               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
668               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
669               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
670               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
671               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
672               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
673               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
674               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
675               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
676               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
677               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
678               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
679               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
680               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
681               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
682               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
683               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
684               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
685               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
686               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
687               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
688               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
689               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
690               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
691               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
692               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
693               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
694               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
695               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
696               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
697               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
698               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
699               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
700               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
701               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
702               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
703               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
704               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
705               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
706               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
707               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
708               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
709               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
710               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
711               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
712               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
713               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
714               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
715               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
716               < $(srcdir)/stdio.in.h; \
717         } > $@-t
718         mv $@-t $@
719 MOSTLYCLEANFILES += stdio.h stdio.h-t
720
721 EXTRA_DIST += stdio-write.c stdio.in.h
722
723 EXTRA_libgnu_la_SOURCES += stdio-write.c
724
725 ## end   gnulib module stdio
726
727 ## begin gnulib module stdlib
728
729 BUILT_SOURCES += stdlib.h
730
731 # We need the following in order to create <stdlib.h> when the system
732 # doesn't have one that works with the given compiler.
733 stdlib.h: stdlib.in.h
734         rm -f $@-t $@
735         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
736           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
737               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
738               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
739               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
740               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
741               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
742               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
743               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
744               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
745               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
746               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
747               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
748               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
749               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
750               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
751               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
752               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
753               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
754               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
755               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
756               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
757               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
758               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
759               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
760               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
761               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
762               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
763               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
764               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
765               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
766               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
767               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
768               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
769               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
770               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
771               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
772               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
773               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
774               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
775               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
776               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
777               < $(srcdir)/stdlib.in.h; \
778         } > $@-t
779         mv $@-t $@
780 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
781
782 EXTRA_DIST += stdlib.in.h
783
784 ## end   gnulib module stdlib
785
786 ## begin gnulib module streq
787
788
789 EXTRA_DIST += streq.h
790
791 ## end   gnulib module streq
792
793 ## begin gnulib module sys_socket
794
795 BUILT_SOURCES += $(SYS_SOCKET_H)
796
797 # We need the following in order to create <sys/socket.h> when the system
798 # doesn't have one that works with the given compiler.
799 sys/socket.h: sys_socket.in.h
800         @MKDIR_P@ sys
801         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
802           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
803               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
804               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
805               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
806               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
807               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
808               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
809               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
810               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
811               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
812               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
813               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
814               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
815               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
816               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
817               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
818               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
819               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
820               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
821               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
822               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
823               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
824               < $(srcdir)/sys_socket.in.h; \
825         } > $@-t
826         mv -f $@-t $@
827 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
828 MOSTLYCLEANDIRS += sys
829
830 EXTRA_DIST += sys_socket.in.h
831
832 ## end   gnulib module sys_socket
833
834 ## begin gnulib module sys_stat
835
836 BUILT_SOURCES += $(SYS_STAT_H)
837
838 # We need the following in order to create <sys/stat.h> when the system
839 # has one that is incomplete.
840 sys/stat.h: sys_stat.in.h
841         @MKDIR_P@ sys
842         rm -f $@-t $@
843         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
844           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
845               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
846               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
847               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
848               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
849               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
850               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
851               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
852               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
853               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
854               < $(srcdir)/sys_stat.in.h; \
855         } > $@-t
856         mv $@-t $@
857 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
858 MOSTLYCLEANDIRS += sys
859
860 EXTRA_DIST += sys_stat.in.h
861
862 ## end   gnulib module sys_stat
863
864 ## begin gnulib module sys_time
865
866 BUILT_SOURCES += $(SYS_TIME_H)
867
868 # We need the following in order to create <sys/time.h> when the system
869 # doesn't have one that works with the given compiler.
870 sys/time.h: sys_time.in.h
871         @MKDIR_P@ sys
872         rm -f $@-t $@
873         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
874           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
875               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
876               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
877               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
878               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
879               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
880               < $(srcdir)/sys_time.in.h; \
881         } > $@-t
882         mv $@-t $@
883 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
884
885 EXTRA_DIST += sys_time.in.h
886
887 ## end   gnulib module sys_time
888
889 ## begin gnulib module tempname
890
891
892 EXTRA_DIST += tempname.c tempname.h
893
894 EXTRA_libgnu_la_SOURCES += tempname.c
895
896 ## end   gnulib module tempname
897
898 ## begin gnulib module threadlib
899
900 libgnu_la_SOURCES += glthread/threadlib.c
901
902 EXTRA_DIST += $(top_srcdir)/config/config.rpath
903
904 ## end   gnulib module threadlib
905
906 ## begin gnulib module unistd
907
908 BUILT_SOURCES += unistd.h
909
910 # We need the following in order to create an empty placeholder for
911 # <unistd.h> when the system doesn't have one.
912 unistd.h: unistd.in.h
913         rm -f $@-t $@
914         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
915           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
916               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
917               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
918               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
919               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
920               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
921               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
922               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
923               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
924               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
925               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
926               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
927               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
928               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
929               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
930               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
931               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
932               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
933               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
934               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
935               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
936               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
937               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
938               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
939               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
940               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
941               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
942               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
943               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
944               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
945               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
946               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
947               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
948               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
949               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
950               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
951               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
952               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
953               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
954               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
955               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
956               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
957               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
958               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
959               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
960               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
961               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
962               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
963               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
964               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
965               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
966               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
967               < $(srcdir)/unistd.in.h; \
968         } > $@-t
969         mv $@-t $@
970 MOSTLYCLEANFILES += unistd.h unistd.h-t
971
972 EXTRA_DIST += unistd.in.h
973
974 ## end   gnulib module unistd
975
976 ## begin gnulib module vasnprintf
977
978
979 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
980
981 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
982
983 ## end   gnulib module vasnprintf
984
985 ## begin gnulib module verify
986
987 libgnu_la_SOURCES += verify.h
988
989 ## end   gnulib module verify
990
991 ## begin gnulib module wchar
992
993 BUILT_SOURCES += $(WCHAR_H)
994
995 # We need the following in order to create <wchar.h> when the system
996 # version does not work standalone.
997 wchar.h: wchar.in.h
998         rm -f $@-t $@
999         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1000           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1001               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1002               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1003               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1004               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1005               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1006               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1007               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1008               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1009               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1010               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1011               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1012               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1013               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1014               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1015               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1016               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1017               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1018               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1019               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1020               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1021               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1022               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1023               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1024               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1025               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1026               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1027               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1028               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1029               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1030               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1031               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1032               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1033               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1034               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1035               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1036               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1037               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1038               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
1039             < $(srcdir)/wchar.in.h; \
1040         } > $@-t
1041         mv $@-t $@
1042 MOSTLYCLEANFILES += wchar.h wchar.h-t
1043
1044 EXTRA_DIST += wchar.in.h
1045
1046 ## end   gnulib module wchar
1047
1048 ## begin gnulib module wcrtomb
1049
1050
1051 EXTRA_DIST += wcrtomb.c
1052
1053 EXTRA_libgnu_la_SOURCES += wcrtomb.c
1054
1055 ## end   gnulib module wcrtomb
1056
1057 ## begin gnulib module wctype
1058
1059 BUILT_SOURCES += $(WCTYPE_H)
1060
1061 # We need the following in order to create <wctype.h> when the system
1062 # doesn't have one that works with the given compiler.
1063 wctype.h: wctype.in.h
1064         rm -f $@-t $@
1065         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1066           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1067               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1068               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1069               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1070               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1071               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1072               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1073               < $(srcdir)/wctype.in.h; \
1074         } > $@-t
1075         mv $@-t $@
1076 MOSTLYCLEANFILES += wctype.h wctype.h-t
1077
1078 EXTRA_DIST += wctype.in.h
1079
1080 ## end   gnulib module wctype
1081
1082 ## begin gnulib module write
1083
1084
1085 EXTRA_DIST += write.c
1086
1087 EXTRA_libgnu_la_SOURCES += write.c
1088
1089 ## end   gnulib module write
1090
1091 ## begin gnulib module xsize
1092
1093 libgnu_la_SOURCES += xsize.h
1094
1095 ## end   gnulib module xsize
1096
1097
1098 mostlyclean-local: mostlyclean-generic
1099         @for dir in '' $(MOSTLYCLEANDIRS); do \
1100           if test -n "$$dir" && test -d $$dir; then \
1101             echo "rmdir $$dir"; rmdir $$dir; \
1102           fi; \
1103         done; \
1104         :
1105
1106 # Make sure regenerate/* are in the distribution tarball
1107 EXTRA_DIST += regenerate/no-error.patch regenerate/regenerate