Use Gnulib's `getaddrinfo' module.
[bpt/guile.git] / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 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=build-aux --lgpl=3 --libtool --macro-prefix=gl --no-vc-files alignof alloca-opt announce-gen autobuild byteswap canonicalize-lgpl duplocale environ extensions flock fpieee full-read full-write gendocs getaddrinfo gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton lib-symbol-versions lib-symbol-visibility libunistring locale maintainer-makefile putenv stdlib strcase strftime striconveh string sys_stat verify version-etc-fsf vsnprintf warnings
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 AM_CFLAGS =
31
32 noinst_LTLIBRARIES += libgnu.la
33
34 libgnu_la_SOURCES =
35 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
36 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
37 EXTRA_libgnu_la_SOURCES =
38 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
39
40 ## begin gnulib module alignof
41
42
43 EXTRA_DIST += alignof.h
44
45 ## end gnulib module alignof
46
47 ## begin gnulib module alloca-opt
48
49 BUILT_SOURCES += $(ALLOCA_H)
50
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
53 alloca.h: alloca.in.h
54 $(AM_V_GEN)rm -f $@-t $@ && \
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca.in.h; \
57 } > $@-t && \
58 mv -f $@-t $@
59 MOSTLYCLEANFILES += alloca.h alloca.h-t
60
61 EXTRA_DIST += alloca.in.h
62
63 ## end gnulib module alloca-opt
64
65 ## begin gnulib module announce-gen
66
67
68 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
69
70 ## end gnulib module announce-gen
71
72 ## begin gnulib module arg-nonnull
73
74 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
75 # statements but through direct file reference. Therefore this snippet must be
76 # present in all Makefile.am that need it. This is ensured by the applicability
77 # 'all' defined above.
78
79 BUILT_SOURCES += arg-nonnull.h
80 # The arg-nonnull.h that gets inserted into generated .h files is the same as
81 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
82 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
83 $(AM_V_GEN)rm -f $@-t $@ && \
84 sed -n -e '/GL_ARG_NONNULL/,$$p' \
85 < $(top_srcdir)/build-aux/arg-nonnull.h \
86 > $@-t && \
87 mv $@-t $@
88 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
89
90 ARG_NONNULL_H=arg-nonnull.h
91
92 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
93
94 ## end gnulib module arg-nonnull
95
96 ## begin gnulib module arpa_inet
97
98 BUILT_SOURCES += arpa/inet.h
99
100 # We need the following in order to create <arpa/inet.h> when the system
101 # doesn't have one.
102 arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
103 $(AM_V_at)$(MKDIR_P) arpa
104 $(AM_V_GEN)rm -f $@-t $@ && \
105 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
106 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
107 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
108 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
109 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
110 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
111 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
112 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
113 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
114 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
115 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
116 < $(srcdir)/arpa_inet.in.h; \
117 } > $@-t && \
118 mv $@-t $@
119 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
120 MOSTLYCLEANDIRS += arpa
121
122 EXTRA_DIST += arpa_inet.in.h
123
124 ## end gnulib module arpa_inet
125
126 ## begin gnulib module byteswap
127
128 BUILT_SOURCES += $(BYTESWAP_H)
129
130 # We need the following in order to create <byteswap.h> when the system
131 # doesn't have one.
132 byteswap.h: byteswap.in.h
133 $(AM_V_GEN)rm -f $@-t $@ && \
134 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
135 cat $(srcdir)/byteswap.in.h; \
136 } > $@-t && \
137 mv -f $@-t $@
138 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
139
140 EXTRA_DIST += byteswap.in.h
141
142 ## end gnulib module byteswap
143
144 ## begin gnulib module c-ctype
145
146 libgnu_la_SOURCES += c-ctype.h c-ctype.c
147
148 ## end gnulib module c-ctype
149
150 ## begin gnulib module c-strcase
151
152 libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
153
154 ## end gnulib module c-strcase
155
156 ## begin gnulib module c-strcaseeq
157
158
159 EXTRA_DIST += c-strcaseeq.h
160
161 ## end gnulib module c-strcaseeq
162
163 ## begin gnulib module canonicalize-lgpl
164
165
166 EXTRA_DIST += canonicalize-lgpl.c
167
168 EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
169
170 ## end gnulib module canonicalize-lgpl
171
172 ## begin gnulib module configmake
173
174 # Retrieve values of the variables through 'configure' followed by
175 # 'make', not directly through 'configure', so that a user who
176 # sets some of these variables consistently on the 'make' command
177 # line gets correct results.
178 #
179 # One advantage of this approach, compared to the classical
180 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
181 # is that it protects against the use of undefined variables.
182 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
183 # defined by this module, and code using LIBDIR gives a
184 # compilation error.
185 #
186 # Another advantage is that 'make' output is shorter.
187 #
188 # Listed in the same order as the GNU makefile conventions.
189 # The Automake-defined pkg* macros are appended, in the order
190 # listed in the Automake 1.10a+ documentation.
191 configmake.h: Makefile
192 $(AM_V_GEN)rm -f $@-t && \
193 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
194 echo '#define PREFIX "$(prefix)"'; \
195 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
196 echo '#define BINDIR "$(bindir)"'; \
197 echo '#define SBINDIR "$(sbindir)"'; \
198 echo '#define LIBEXECDIR "$(libexecdir)"'; \
199 echo '#define DATAROOTDIR "$(datarootdir)"'; \
200 echo '#define DATADIR "$(datadir)"'; \
201 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
202 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
203 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
204 echo '#define INCLUDEDIR "$(includedir)"'; \
205 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
206 echo '#define DOCDIR "$(docdir)"'; \
207 echo '#define INFODIR "$(infodir)"'; \
208 echo '#define HTMLDIR "$(htmldir)"'; \
209 echo '#define DVIDIR "$(dvidir)"'; \
210 echo '#define PDFDIR "$(pdfdir)"'; \
211 echo '#define PSDIR "$(psdir)"'; \
212 echo '#define LIBDIR "$(libdir)"'; \
213 echo '#define LISPDIR "$(lispdir)"'; \
214 echo '#define LOCALEDIR "$(localedir)"'; \
215 echo '#define MANDIR "$(mandir)"'; \
216 echo '#define MANEXT "$(manext)"'; \
217 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
218 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
219 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
220 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
221 } | sed '/""/d' > $@-t && \
222 if test -f $@ && cmp $@-t $@ > /dev/null; then \
223 rm -f $@-t; \
224 else \
225 rm -f $@; mv $@-t $@; \
226 fi
227
228 BUILT_SOURCES += configmake.h
229 CLEANFILES += configmake.h configmake.h-t
230
231 ## end gnulib module configmake
232
233 ## begin gnulib module duplocale
234
235
236 EXTRA_DIST += duplocale.c
237
238 EXTRA_libgnu_la_SOURCES += duplocale.c
239
240 ## end gnulib module duplocale
241
242 ## begin gnulib module errno
243
244 BUILT_SOURCES += $(ERRNO_H)
245
246 # We need the following in order to create <errno.h> when the system
247 # doesn't have one that is POSIX compliant.
248 errno.h: errno.in.h
249 $(AM_V_GEN)rm -f $@-t $@ && \
250 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
251 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
252 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
253 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
254 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
255 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
256 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
257 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
258 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
259 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
260 < $(srcdir)/errno.in.h; \
261 } > $@-t && \
262 mv $@-t $@
263 MOSTLYCLEANFILES += errno.h errno.h-t
264
265 EXTRA_DIST += errno.in.h
266
267 ## end gnulib module errno
268
269 ## begin gnulib module float
270
271 BUILT_SOURCES += $(FLOAT_H)
272
273 # We need the following in order to create <float.h> when the system
274 # doesn't have one that works with the given compiler.
275 float.h: float.in.h
276 $(AM_V_GEN)rm -f $@-t $@ && \
277 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
278 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
279 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
280 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
281 < $(srcdir)/float.in.h; \
282 } > $@-t && \
283 mv $@-t $@
284 MOSTLYCLEANFILES += float.h float.h-t
285
286 EXTRA_DIST += float.in.h
287
288 ## end gnulib module float
289
290 ## begin gnulib module flock
291
292
293 EXTRA_DIST += flock.c
294
295 EXTRA_libgnu_la_SOURCES += flock.c
296
297 ## end gnulib module flock
298
299 ## begin gnulib module full-read
300
301 libgnu_la_SOURCES += full-read.h full-read.c
302
303 ## end gnulib module full-read
304
305 ## begin gnulib module full-write
306
307 libgnu_la_SOURCES += full-write.h full-write.c
308
309 ## end gnulib module full-write
310
311 ## begin gnulib module gendocs
312
313
314 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
315
316 ## end gnulib module gendocs
317
318 ## begin gnulib module getaddrinfo
319
320
321 EXTRA_DIST += gai_strerror.c getaddrinfo.c
322
323 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
324
325 ## end gnulib module getaddrinfo
326
327 ## begin gnulib module gettext-h
328
329 libgnu_la_SOURCES += gettext.h
330
331 ## end gnulib module gettext-h
332
333 ## begin gnulib module gitlog-to-changelog
334
335
336 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
337
338 ## end gnulib module gitlog-to-changelog
339
340 ## begin gnulib module gnu-web-doc-update
341
342
343 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
344
345 ## end gnulib module gnu-web-doc-update
346
347 ## begin gnulib module gnumakefile
348
349 distclean-local: clean-GNUmakefile
350 clean-GNUmakefile:
351 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
352
353 EXTRA_DIST += $(top_srcdir)/GNUmakefile
354
355 ## end gnulib module gnumakefile
356
357 ## begin gnulib module gnupload
358
359
360 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
361
362 ## end gnulib module gnupload
363
364 ## begin gnulib module gperf
365
366 GPERF = gperf
367
368 ## end gnulib module gperf
369
370 ## begin gnulib module havelib
371
372
373 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
374
375 ## end gnulib module havelib
376
377 ## begin gnulib module iconv_open
378
379 BUILT_SOURCES += $(ICONV_H)
380
381 # We need the following in order to create <iconv.h> when the system
382 # doesn't have one that works with the given compiler.
383 iconv.h: iconv.in.h $(ARG_NONNULL_H)
384 $(AM_V_GEN)rm -f $@-t $@ && \
385 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
386 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
387 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
388 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
389 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
390 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
391 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
392 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
393 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
394 < $(srcdir)/iconv.in.h; \
395 } > $@-t && \
396 mv $@-t $@
397 MOSTLYCLEANFILES += iconv.h iconv.h-t
398
399 iconv_open-aix.h: iconv_open-aix.gperf
400 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
401 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
402 iconv_open-hpux.h: iconv_open-hpux.gperf
403 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
404 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
405 iconv_open-irix.h: iconv_open-irix.gperf
406 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
407 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
408 iconv_open-osf.h: iconv_open-osf.gperf
409 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
410 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
411 iconv_open-solaris.h: iconv_open-solaris.gperf
412 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
413 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
414 BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
415 MOSTLYCLEANFILES += iconv_open-aix.h-t iconv_open-hpux.h-t iconv_open-irix.h-t iconv_open-osf.h-t iconv_open-solaris.h-t
416 MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
417 EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
418
419 EXTRA_DIST += iconv.in.h iconv_open-aix.gperf iconv_open-hpux.gperf iconv_open-irix.gperf iconv_open-osf.gperf iconv_open-solaris.gperf iconv_open.c
420
421 EXTRA_libgnu_la_SOURCES += iconv_open.c
422
423 ## end gnulib module iconv_open
424
425 ## begin gnulib module iconv_open-utf
426
427
428 EXTRA_DIST += iconv.c iconv_close.c
429
430 EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
431
432 ## end gnulib module iconv_open-utf
433
434 ## begin gnulib module inet_ntop
435
436
437 EXTRA_DIST += inet_ntop.c
438
439 EXTRA_libgnu_la_SOURCES += inet_ntop.c
440
441 ## end gnulib module inet_ntop
442
443 ## begin gnulib module inet_pton
444
445
446 EXTRA_DIST += inet_pton.c
447
448 EXTRA_libgnu_la_SOURCES += inet_pton.c
449
450 ## end gnulib module inet_pton
451
452 ## begin gnulib module lib-symbol-visibility
453
454 # The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
455 # compilation of all sources that make up the library. This line here does it
456 # only for the gnulib part of it. The developer is responsible for adding
457 # $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
458 AM_CFLAGS += $(CFLAG_VISIBILITY)
459
460 ## end gnulib module lib-symbol-visibility
461
462 ## begin gnulib module localcharset
463
464 libgnu_la_SOURCES += localcharset.h localcharset.c
465
466 # We need the following in order to install a simple file in $(libdir)
467 # which is shared with other installed packages. We use a list of referencing
468 # packages so that "make uninstall" will remove the file if and only if it
469 # is not used by another installed package.
470 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
471 # avoid installing it.
472
473 all-local: charset.alias ref-add.sed ref-del.sed
474
475 charset_alias = $(DESTDIR)$(libdir)/charset.alias
476 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
477 install-exec-local: install-exec-localcharset
478 install-exec-localcharset: all-local
479 if test $(GLIBC21) = no; then \
480 case '$(host_os)' in \
481 darwin[56]*) \
482 need_charset_alias=true ;; \
483 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
484 need_charset_alias=false ;; \
485 *) \
486 need_charset_alias=true ;; \
487 esac ; \
488 else \
489 need_charset_alias=false ; \
490 fi ; \
491 if $$need_charset_alias; then \
492 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
493 fi ; \
494 if test -f $(charset_alias); then \
495 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
496 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
497 rm -f $(charset_tmp) ; \
498 else \
499 if $$need_charset_alias; then \
500 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
501 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
502 rm -f $(charset_tmp) ; \
503 fi ; \
504 fi
505
506 uninstall-local: uninstall-localcharset
507 uninstall-localcharset: all-local
508 if test -f $(charset_alias); then \
509 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
510 if grep '^# Packages using this file: $$' $(charset_tmp) \
511 > /dev/null; then \
512 rm -f $(charset_alias); \
513 else \
514 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
515 fi; \
516 rm -f $(charset_tmp); \
517 fi
518
519 charset.alias: config.charset
520 $(AM_V_GEN)rm -f t-$@ $@ && \
521 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
522 mv t-$@ $@
523
524 SUFFIXES += .sed .sin
525 .sin.sed:
526 $(AM_V_GEN)rm -f t-$@ $@ && \
527 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
528 mv t-$@ $@
529
530 CLEANFILES += charset.alias ref-add.sed ref-del.sed
531
532 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
533
534 ## end gnulib module localcharset
535
536 ## begin gnulib module locale
537
538 BUILT_SOURCES += locale.h
539
540 # We need the following in order to create <locale.h> when the system
541 # doesn't have one that provides all definitions.
542 locale.h: locale.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
543 $(AM_V_GEN)rm -f $@-t $@ && \
544 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
545 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
546 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
547 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
548 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
549 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
550 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
551 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
552 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
553 < $(srcdir)/locale.in.h; \
554 } > $@-t && \
555 mv $@-t $@
556 MOSTLYCLEANFILES += locale.h locale.h-t
557
558 EXTRA_DIST += locale.in.h
559
560 ## end gnulib module locale
561
562 ## begin gnulib module lstat
563
564
565 EXTRA_DIST += lstat.c
566
567 EXTRA_libgnu_la_SOURCES += lstat.c
568
569 ## end gnulib module lstat
570
571 ## begin gnulib module maintainer-makefile
572
573 EXTRA_DIST += $(top_srcdir)/maint.mk
574
575 ## end gnulib module maintainer-makefile
576
577 ## begin gnulib module malloc-posix
578
579
580 EXTRA_DIST += malloc.c
581
582 EXTRA_libgnu_la_SOURCES += malloc.c
583
584 ## end gnulib module malloc-posix
585
586 ## begin gnulib module malloca
587
588 libgnu_la_SOURCES += malloca.c
589
590 EXTRA_DIST += malloca.h malloca.valgrind
591
592 ## end gnulib module malloca
593
594 ## begin gnulib module mbrlen
595
596
597 EXTRA_DIST += mbrlen.c
598
599 EXTRA_libgnu_la_SOURCES += mbrlen.c
600
601 ## end gnulib module mbrlen
602
603 ## begin gnulib module mbrtowc
604
605
606 EXTRA_DIST += mbrtowc.c
607
608 EXTRA_libgnu_la_SOURCES += mbrtowc.c
609
610 ## end gnulib module mbrtowc
611
612 ## begin gnulib module mbsinit
613
614
615 EXTRA_DIST += mbsinit.c
616
617 EXTRA_libgnu_la_SOURCES += mbsinit.c
618
619 ## end gnulib module mbsinit
620
621 ## begin gnulib module memchr
622
623
624 EXTRA_DIST += memchr.c memchr.valgrind
625
626 EXTRA_libgnu_la_SOURCES += memchr.c
627
628 ## end gnulib module memchr
629
630 ## begin gnulib module netdb
631
632 BUILT_SOURCES += $(NETDB_H)
633
634 # We need the following in order to create <netdb.h> when the system
635 # doesn't have one that works with the given compiler.
636 netdb.h: netdb.in.h $(ARG_NONNULL_H)
637 $(AM_V_GEN)rm -f $@-t $@ && \
638 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
639 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
640 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
641 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
642 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
643 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
644 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
645 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
646 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
647 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
648 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
649 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
650 < $(srcdir)/netdb.in.h; \
651 } > $@-t && \
652 mv $@-t $@
653 MOSTLYCLEANFILES += netdb.h netdb.h-t
654
655 EXTRA_DIST += netdb.in.h
656
657 ## end gnulib module netdb
658
659 ## begin gnulib module netinet_in
660
661 BUILT_SOURCES += $(NETINET_IN_H)
662
663 # We need the following in order to create <netinet/in.h> when the system
664 # doesn't have one.
665 netinet/in.h: netinet_in.in.h
666 $(AM_V_at)$(MKDIR_P) netinet
667 $(AM_V_GEN)rm -f $@-t $@ && \
668 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
669 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
670 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
671 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
672 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
673 < $(srcdir)/netinet_in.in.h; \
674 } > $@-t && \
675 mv $@-t $@
676 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
677 MOSTLYCLEANDIRS += netinet
678
679 EXTRA_DIST += netinet_in.in.h
680
681 ## end gnulib module netinet_in
682
683 ## begin gnulib module pathmax
684
685
686 EXTRA_DIST += pathmax.h
687
688 ## end gnulib module pathmax
689
690 ## begin gnulib module putenv
691
692
693 EXTRA_DIST += putenv.c
694
695 EXTRA_libgnu_la_SOURCES += putenv.c
696
697 ## end gnulib module putenv
698
699 ## begin gnulib module readlink
700
701
702 EXTRA_DIST += readlink.c
703
704 EXTRA_libgnu_la_SOURCES += readlink.c
705
706 ## end gnulib module readlink
707
708 ## begin gnulib module safe-read
709
710
711 EXTRA_DIST += safe-read.c safe-read.h
712
713 EXTRA_libgnu_la_SOURCES += safe-read.c
714
715 ## end gnulib module safe-read
716
717 ## begin gnulib module safe-write
718
719
720 EXTRA_DIST += safe-write.c safe-write.h
721
722 EXTRA_libgnu_la_SOURCES += safe-write.c
723
724 ## end gnulib module safe-write
725
726 ## begin gnulib module size_max
727
728 libgnu_la_SOURCES += size_max.h
729
730 ## end gnulib module size_max
731
732 ## begin gnulib module snprintf
733
734
735 EXTRA_DIST += snprintf.c
736
737 EXTRA_libgnu_la_SOURCES += snprintf.c
738
739 ## end gnulib module snprintf
740
741 ## begin gnulib module stat
742
743
744 EXTRA_DIST += stat.c
745
746 EXTRA_libgnu_la_SOURCES += stat.c
747
748 ## end gnulib module stat
749
750 ## begin gnulib module stdarg
751
752 BUILT_SOURCES += $(STDARG_H)
753
754 # We need the following in order to create <stdarg.h> when the system
755 # doesn't have one that works with the given compiler.
756 stdarg.h: stdarg.in.h
757 $(AM_V_GEN)rm -f $@-t $@ && \
758 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
759 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
760 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
761 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
762 < $(srcdir)/stdarg.in.h; \
763 } > $@-t && \
764 mv $@-t $@
765 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
766
767 EXTRA_DIST += stdarg.in.h
768
769 ## end gnulib module stdarg
770
771 ## begin gnulib module stdbool
772
773 BUILT_SOURCES += $(STDBOOL_H)
774
775 # We need the following in order to create <stdbool.h> when the system
776 # doesn't have one that works.
777 stdbool.h: stdbool.in.h
778 $(AM_V_GEN)rm -f $@-t $@ && \
779 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
780 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
781 } > $@-t && \
782 mv $@-t $@
783 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
784
785 EXTRA_DIST += stdbool.in.h
786
787 ## end gnulib module stdbool
788
789 ## begin gnulib module stddef
790
791 BUILT_SOURCES += $(STDDEF_H)
792
793 # We need the following in order to create <stddef.h> when the system
794 # doesn't have one that works with the given compiler.
795 stddef.h: stddef.in.h
796 $(AM_V_GEN)rm -f $@-t $@ && \
797 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
798 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
799 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
800 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
801 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
802 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
803 < $(srcdir)/stddef.in.h; \
804 } > $@-t && \
805 mv $@-t $@
806 MOSTLYCLEANFILES += stddef.h stddef.h-t
807
808 EXTRA_DIST += stddef.in.h
809
810 ## end gnulib module stddef
811
812 ## begin gnulib module stdint
813
814 BUILT_SOURCES += $(STDINT_H)
815
816 # We need the following in order to create <stdint.h> when the system
817 # doesn't have one that works with the given compiler.
818 stdint.h: stdint.in.h
819 $(AM_V_GEN)rm -f $@-t $@ && \
820 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
821 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
822 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
823 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
824 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
825 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
826 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
827 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
828 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
829 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
830 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
831 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
832 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
833 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
834 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
835 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
836 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
837 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
838 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
839 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
840 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
841 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
842 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
843 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
844 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
845 < $(srcdir)/stdint.in.h; \
846 } > $@-t && \
847 mv $@-t $@
848 MOSTLYCLEANFILES += stdint.h stdint.h-t
849
850 EXTRA_DIST += stdint.in.h
851
852 ## end gnulib module stdint
853
854 ## begin gnulib module stdio
855
856 BUILT_SOURCES += stdio.h
857
858 # We need the following in order to create <stdio.h> when the system
859 # doesn't have one that works with the given compiler.
860 stdio.h: stdio.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
861 $(AM_V_GEN)rm -f $@-t $@ && \
862 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
863 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
864 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
865 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
866 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
867 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
868 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
869 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
870 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
871 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
872 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
873 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
874 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
875 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
876 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
877 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
878 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
879 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
880 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
881 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
882 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
883 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
884 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
885 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
886 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
887 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
888 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
889 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
890 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
891 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
892 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
893 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
894 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
895 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
896 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
897 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
898 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
899 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
900 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
901 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
902 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
903 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
904 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
905 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
906 < $(srcdir)/stdio.in.h | \
907 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
908 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
909 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
910 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
911 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
912 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
913 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
914 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
915 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
916 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
917 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
918 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
919 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
920 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
921 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
922 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
923 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
924 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
925 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
926 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
927 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
928 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
929 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
930 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
931 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
932 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
933 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
934 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
935 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
936 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
937 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
938 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
939 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
940 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
941 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
942 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
943 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
944 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
945 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
946 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
947 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
948 } > $@-t && \
949 mv $@-t $@
950 MOSTLYCLEANFILES += stdio.h stdio.h-t
951
952 EXTRA_DIST += stdio-write.c stdio.in.h
953
954 EXTRA_libgnu_la_SOURCES += stdio-write.c
955
956 ## end gnulib module stdio
957
958 ## begin gnulib module stdlib
959
960 BUILT_SOURCES += stdlib.h
961
962 # We need the following in order to create <stdlib.h> when the system
963 # doesn't have one that works with the given compiler.
964 stdlib.h: stdlib.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
965 $(AM_V_GEN)rm -f $@-t $@ && \
966 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
967 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
968 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
969 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
970 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
971 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
972 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
973 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
974 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
975 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
976 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
977 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
978 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
979 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
980 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
981 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
982 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
983 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
984 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
985 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
986 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
987 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
988 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
989 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
990 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
991 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
992 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
993 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
994 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
995 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
996 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
997 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
998 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
999 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1000 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1001 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1002 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1003 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
1004 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1005 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1006 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1007 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1008 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1009 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1010 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1011 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1012 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1013 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1014 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1015 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1016 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1017 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1018 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1019 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1020 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1021 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1022 < $(srcdir)/stdlib.in.h; \
1023 } > $@-t && \
1024 mv $@-t $@
1025 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1026
1027 EXTRA_DIST += stdlib.in.h
1028
1029 ## end gnulib module stdlib
1030
1031 ## begin gnulib module strcase
1032
1033
1034 EXTRA_DIST += strcasecmp.c strncasecmp.c
1035
1036 EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
1037
1038 ## end gnulib module strcase
1039
1040 ## begin gnulib module streq
1041
1042
1043 EXTRA_DIST += streq.h
1044
1045 ## end gnulib module streq
1046
1047 ## begin gnulib module strftime
1048
1049
1050 EXTRA_DIST += strftime.c strftime.h
1051
1052 EXTRA_libgnu_la_SOURCES += strftime.c
1053
1054 ## end gnulib module strftime
1055
1056 ## begin gnulib module striconveh
1057
1058 libgnu_la_SOURCES += striconveh.h striconveh.c
1059 if GL_COND_LIBTOOL
1060 libgnu_la_LDFLAGS += $(LTLIBICONV)
1061 endif
1062
1063 EXTRA_DIST += iconveh.h
1064
1065 ## end gnulib module striconveh
1066
1067 ## begin gnulib module string
1068
1069 BUILT_SOURCES += string.h
1070
1071 # We need the following in order to create <string.h> when the system
1072 # doesn't have one that works with the given compiler.
1073 string.h: string.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1074 $(AM_V_GEN)rm -f $@-t $@ && \
1075 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1076 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1077 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1078 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1079 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1080 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1081 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1082 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1083 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1084 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1085 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1086 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1087 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1088 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1089 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1090 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1091 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1092 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1093 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1094 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1095 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1096 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1097 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1098 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1099 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1100 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1101 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1102 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1103 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1104 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1105 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1106 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1107 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1108 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1109 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1110 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1111 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1112 < $(srcdir)/string.in.h | \
1113 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1114 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1115 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1116 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1117 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1118 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1119 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1120 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1121 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1122 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1123 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1124 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1125 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1126 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1127 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1128 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
1129 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1130 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1131 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1132 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1133 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1134 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1135 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1136 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1137 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1138 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1139 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1140 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1141 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1142 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1143 < $(srcdir)/string.in.h; \
1144 } > $@-t && \
1145 mv $@-t $@
1146 MOSTLYCLEANFILES += string.h string.h-t
1147
1148 EXTRA_DIST += string.in.h
1149
1150 ## end gnulib module string
1151
1152 ## begin gnulib module strings
1153
1154 BUILT_SOURCES += strings.h
1155
1156 # We need the following in order to create <strings.h> when the system
1157 # doesn't have one that works with the given compiler.
1158 strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1159 $(AM_V_GEN)rm -f $@-t $@ && \
1160 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1161 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1162 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1163 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1164 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1165 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1166 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1167 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1168 < $(srcdir)/strings.in.h; \
1169 } > $@-t && \
1170 mv $@-t $@
1171 MOSTLYCLEANFILES += strings.h strings.h-t
1172
1173 EXTRA_DIST += strings.in.h
1174
1175 ## end gnulib module strings
1176
1177 ## begin gnulib module sys_file
1178
1179 BUILT_SOURCES += sys/file.h
1180
1181 # We need the following in order to create <sys/file.h> when the system
1182 # has one that is incomplete.
1183 sys/file.h: sys_file.in.h $(WARN_ON_USE_H)
1184 $(AM_V_at)$(MKDIR_P) sys
1185 $(AM_V_GEN)rm -f $@-t $@ && \
1186 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1187 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
1188 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1189 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1190 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1191 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1192 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
1193 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1194 < $(srcdir)/sys_file.in.h; \
1195 } > $@-t && \
1196 mv $@-t $@
1197 MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1198 MOSTLYCLEANDIRS += sys
1199
1200 EXTRA_DIST += sys_file.in.h
1201
1202 ## end gnulib module sys_file
1203
1204 ## begin gnulib module sys_socket
1205
1206 BUILT_SOURCES += sys/socket.h
1207
1208 # We need the following in order to create <sys/socket.h> when the system
1209 # doesn't have one that works with the given compiler.
1210 sys/socket.h: sys_socket.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1211 $(AM_V_at)$(MKDIR_P) sys
1212 $(AM_V_GEN)rm -f $@-t $@ && \
1213 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1214 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1215 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1216 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1217 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1218 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1219 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1220 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1221 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1222 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1223 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1224 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1225 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1226 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1227 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1228 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1229 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1230 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1231 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1232 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1233 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1234 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1235 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1236 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1237 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1238 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1239 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1240 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1241 < $(srcdir)/sys_socket.in.h; \
1242 } > $@-t && \
1243 mv -f $@-t $@
1244 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1245 MOSTLYCLEANDIRS += sys
1246
1247 EXTRA_DIST += sys_socket.in.h
1248
1249 ## end gnulib module sys_socket
1250
1251 ## begin gnulib module sys_stat
1252
1253 BUILT_SOURCES += sys/stat.h
1254
1255 # We need the following in order to create <sys/stat.h> when the system
1256 # has one that is incomplete.
1257 sys/stat.h: sys_stat.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1258 $(AM_V_at)$(MKDIR_P) sys
1259 $(AM_V_GEN)rm -f $@-t $@ && \
1260 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1261 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1262 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1263 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1264 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1265 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1266 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1267 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1268 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1269 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1270 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1271 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1272 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1273 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1274 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1275 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1276 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1277 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1278 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1279 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1280 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1281 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1282 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1283 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1284 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1285 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1286 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1287 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1288 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1289 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1290 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1291 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1292 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1293 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1294 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1295 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1296 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1297 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1298 < $(srcdir)/sys_stat.in.h; \
1299 } > $@-t && \
1300 mv $@-t $@
1301 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1302 MOSTLYCLEANDIRS += sys
1303
1304 EXTRA_DIST += sys_stat.in.h
1305
1306 ## end gnulib module sys_stat
1307
1308 ## begin gnulib module time
1309
1310 BUILT_SOURCES += time.h
1311
1312 # We need the following in order to create <time.h> when the system
1313 # doesn't have one that works with the given compiler.
1314 time.h: time.in.h $(ARG_NONNULL_H)
1315 $(AM_V_GEN)rm -f $@-t $@ && \
1316 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1317 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1318 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1319 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1320 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1321 -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1322 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1323 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
1324 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1325 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1326 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1327 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1328 < $(srcdir)/time.in.h; \
1329 } > $@-t && \
1330 mv $@-t $@
1331 MOSTLYCLEANFILES += time.h time.h-t
1332
1333 EXTRA_DIST += time.in.h
1334
1335 ## end gnulib module time
1336
1337 ## begin gnulib module time_r
1338
1339
1340 EXTRA_DIST += time_r.c
1341
1342 EXTRA_libgnu_la_SOURCES += time_r.c
1343
1344 ## end gnulib module time_r
1345
1346 ## begin gnulib module unistd
1347
1348 BUILT_SOURCES += unistd.h
1349
1350 # We need the following in order to create an empty placeholder for
1351 # <unistd.h> when the system doesn't have one.
1352 unistd.h: unistd.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1353 $(AM_V_GEN)rm -f $@-t $@ && \
1354 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1355 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1356 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1357 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1358 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1359 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1360 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1361 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1362 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1363 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1364 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1365 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1366 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1367 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1368 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1369 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1370 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1371 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1372 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1373 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1374 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1375 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1376 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1377 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1378 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1379 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1380 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1381 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1382 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1383 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1384 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1385 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1386 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1387 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1388 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1389 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1390 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1391 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1392 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1393 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1394 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1395 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1396 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1397 < $(srcdir)/unistd.in.h | \
1398 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1399 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1400 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1401 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1402 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1403 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1404 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1405 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1406 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1407 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1408 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1409 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1410 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1411 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1412 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
1413 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1414 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1415 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1416 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1417 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1418 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1419 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1420 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1421 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1422 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1423 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1424 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1425 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1426 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1427 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1428 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1429 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1430 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1431 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1432 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1433 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1434 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1435 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1436 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1437 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1438 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1439 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1440 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1441 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1442 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1443 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1444 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1445 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1446 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1447 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1448 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1449 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1450 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1451 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1452 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1453 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1454 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1455 } > $@-t && \
1456 mv $@-t $@
1457 MOSTLYCLEANFILES += unistd.h unistd.h-t
1458
1459 EXTRA_DIST += unistd.in.h
1460
1461 ## end gnulib module unistd
1462
1463 ## begin gnulib module unistr/base
1464
1465
1466 EXTRA_DIST += unistr.h
1467
1468 ## end gnulib module unistr/base
1469
1470 ## begin gnulib module unistr/u8-mbtouc
1471
1472 libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1473
1474 ## end gnulib module unistr/u8-mbtouc
1475
1476 ## begin gnulib module unistr/u8-mbtouc-unsafe
1477
1478 libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1479
1480 ## end gnulib module unistr/u8-mbtouc-unsafe
1481
1482 ## begin gnulib module unistr/u8-mbtoucr
1483
1484 libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1485
1486 ## end gnulib module unistr/u8-mbtoucr
1487
1488 ## begin gnulib module unistr/u8-prev
1489
1490 libgnu_la_SOURCES += unistr/u8-prev.c
1491
1492 ## end gnulib module unistr/u8-prev
1493
1494 ## begin gnulib module unistr/u8-uctomb
1495
1496 libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1497
1498 ## end gnulib module unistr/u8-uctomb
1499
1500 ## begin gnulib module unitypes
1501
1502
1503 EXTRA_DIST += unitypes.h
1504
1505 ## end gnulib module unitypes
1506
1507 ## begin gnulib module unused-parameter
1508
1509 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
1510 # statements but through direct file reference. Therefore this snippet must be
1511 # present in all Makefile.am that need it. This is ensured by the applicability
1512 # 'all' defined above.
1513
1514 BUILT_SOURCES += unused-parameter.h
1515 # The unused-parameter.h that gets inserted into generated .h files is the same
1516 # as build-aux/unused-parameter.h, except that it has the copyright header cut
1517 # off.
1518 unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
1519 $(AM_V_GEN)rm -f $@-t $@ && \
1520 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1521 < $(top_srcdir)/build-aux/unused-parameter.h \
1522 > $@-t && \
1523 mv $@-t $@
1524 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1525
1526 UNUSED_PARAMETER_H=unused-parameter.h
1527
1528 EXTRA_DIST += $(top_srcdir)/build-aux/unused-parameter.h
1529
1530 ## end gnulib module unused-parameter
1531
1532 ## begin gnulib module useless-if-before-free
1533
1534
1535 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1536
1537 ## end gnulib module useless-if-before-free
1538
1539 ## begin gnulib module vasnprintf
1540
1541
1542 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1543
1544 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1545
1546 ## end gnulib module vasnprintf
1547
1548 ## begin gnulib module vc-list-files
1549
1550
1551 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1552
1553 ## end gnulib module vc-list-files
1554
1555 ## begin gnulib module verify
1556
1557 libgnu_la_SOURCES += verify.h
1558
1559 ## end gnulib module verify
1560
1561 ## begin gnulib module version-etc
1562
1563 libgnu_la_SOURCES += version-etc.h version-etc.c
1564
1565 ## end gnulib module version-etc
1566
1567 ## begin gnulib module version-etc-fsf
1568
1569 libgnu_la_SOURCES += version-etc-fsf.c
1570
1571 ## end gnulib module version-etc-fsf
1572
1573 ## begin gnulib module vsnprintf
1574
1575
1576 EXTRA_DIST += vsnprintf.c
1577
1578 EXTRA_libgnu_la_SOURCES += vsnprintf.c
1579
1580 ## end gnulib module vsnprintf
1581
1582 ## begin gnulib module warn-on-use
1583
1584 BUILT_SOURCES += warn-on-use.h
1585 # The warn-on-use.h that gets inserted into generated .h files is the same as
1586 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1587 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1588 $(AM_V_GEN)rm -f $@-t $@ && \
1589 sed -n -e '/^.ifndef/,$$p' \
1590 < $(top_srcdir)/build-aux/warn-on-use.h \
1591 > $@-t && \
1592 mv $@-t $@
1593 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1594
1595 WARN_ON_USE_H=warn-on-use.h
1596
1597 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1598
1599 ## end gnulib module warn-on-use
1600
1601 ## begin gnulib module wchar
1602
1603 BUILT_SOURCES += wchar.h
1604
1605 # We need the following in order to create <wchar.h> when the system
1606 # version does not work standalone.
1607 wchar.h: wchar.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1608 $(AM_V_GEN)rm -f $@-t $@ && \
1609 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1610 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1611 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1612 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1613 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1614 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1615 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1616 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1617 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1618 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1619 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1620 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1621 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1622 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1623 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1624 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1625 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1626 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1627 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1628 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1629 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1630 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1631 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1632 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1633 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1634 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1635 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1636 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1637 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1638 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1639 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1640 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1641 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1642 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1643 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1644 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1645 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1646 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1647 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1648 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1649 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1650 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1651 < $(srcdir)/wchar.in.h; \
1652 } > $@-t && \
1653 mv $@-t $@
1654 MOSTLYCLEANFILES += wchar.h wchar.h-t
1655
1656 EXTRA_DIST += wchar.in.h
1657
1658 ## end gnulib module wchar
1659
1660 ## begin gnulib module write
1661
1662
1663 EXTRA_DIST += write.c
1664
1665 EXTRA_libgnu_la_SOURCES += write.c
1666
1667 ## end gnulib module write
1668
1669 ## begin gnulib module xsize
1670
1671 libgnu_la_SOURCES += xsize.h
1672
1673 ## end gnulib module xsize
1674
1675
1676 mostlyclean-local: mostlyclean-generic
1677 @for dir in '' $(MOSTLYCLEANDIRS); do \
1678 if test -n "$$dir" && test -d $$dir; then \
1679 echo "rmdir $$dir"; rmdir $$dir; \
1680 fi; \
1681 done; \
1682 :