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