Update Gnulib; add new modules.
[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.
49114fd4 3# Copyright (C) 2002-2011 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.
49114fd4 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 accept alignof alloca-opt announce-gen autobuild bind byteswap canonicalize-lgpl close connect duplocale environ extensions flock fpieee full-read full-write func gendocs getaddrinfo getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isinf isnan lib-symbol-versions lib-symbol-visibility libunistring listen locale maintainer-makefile malloc malloca nproc putenv recv recvfrom send sendto setsockopt shutdown socket sockets stat-time stdlib strcase strftime striconveh string sys_stat trunc 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)
0f00f2c3
LC
39libgnu_la_LDFLAGS += -no-undefined
40libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
41libgnu_la_LDFLAGS += $(HOSTENT_LIB)
42libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
43libgnu_la_LDFLAGS += $(INET_PTON_LIB)
44libgnu_la_LDFLAGS += $(ISNAND_LIBM)
45libgnu_la_LDFLAGS += $(ISNANF_LIBM)
46libgnu_la_LDFLAGS += $(ISNANL_LIBM)
47libgnu_la_LDFLAGS += $(LIBSOCKET)
48libgnu_la_LDFLAGS += $(LTLIBICONV)
49libgnu_la_LDFLAGS += $(LTLIBINTL)
50libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
51libgnu_la_LDFLAGS += $(SERVENT_LIB)
49114fd4
LC
52libgnu_la_LDFLAGS += $(TRUNC_LIBM)
53
54## begin gnulib module accept
55
56
57EXTRA_DIST += accept.c w32sock.h
58
59EXTRA_libgnu_la_SOURCES += accept.c
60
61## end gnulib module accept
103dc4d4 62
8912421c
LC
63## begin gnulib module alignof
64
65
66EXTRA_DIST += alignof.h
67
68## end gnulib module alignof
69
103dc4d4
LC
70## begin gnulib module alloca-opt
71
72BUILT_SOURCES += $(ALLOCA_H)
73
74# We need the following in order to create <alloca.h> when the system
75# doesn't have one that works with the given compiler.
76alloca.h: alloca.in.h
8912421c 77 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4
LC
78 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
79 cat $(srcdir)/alloca.in.h; \
8912421c 80 } > $@-t && \
103dc4d4
LC
81 mv -f $@-t $@
82MOSTLYCLEANFILES += alloca.h alloca.h-t
83
84EXTRA_DIST += alloca.in.h
85
86## end gnulib module alloca-opt
87
c84bdaf6
LC
88## begin gnulib module announce-gen
89
90
91EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
92
93## end gnulib module announce-gen
94
1cd4fffc
LC
95## begin gnulib module arg-nonnull
96
61cd9dc9
LC
97# The BUILT_SOURCES created by this Makefile snippet are not used via #include
98# statements but through direct file reference. Therefore this snippet must be
99# present in all Makefile.am that need it. This is ensured by the applicability
100# 'all' defined above.
101
1cd4fffc
LC
102BUILT_SOURCES += arg-nonnull.h
103# The arg-nonnull.h that gets inserted into generated .h files is the same as
104# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
105arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
106 $(AM_V_GEN)rm -f $@-t $@ && \
107 sed -n -e '/GL_ARG_NONNULL/,$$p' \
108 < $(top_srcdir)/build-aux/arg-nonnull.h \
109 > $@-t && \
110 mv $@-t $@
111MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
112
113ARG_NONNULL_H=arg-nonnull.h
114
115EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
116
117## end gnulib module arg-nonnull
118
8912421c
LC
119## begin gnulib module arpa_inet
120
61cd9dc9 121BUILT_SOURCES += arpa/inet.h
8912421c
LC
122
123# We need the following in order to create <arpa/inet.h> when the system
124# doesn't have one.
49114fd4 125arpa/inet.h: arpa_inet.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
126 $(AM_V_at)$(MKDIR_P) arpa
127 $(AM_V_GEN)rm -f $@-t $@ && \
128 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
129 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
130 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
131 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
132 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
8912421c
LC
133 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
134 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
135 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
136 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
137 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
138 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
49114fd4 139 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 140 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 141 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
142 < $(srcdir)/arpa_inet.in.h; \
143 } > $@-t && \
144 mv $@-t $@
145MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
146MOSTLYCLEANDIRS += arpa
147
148EXTRA_DIST += arpa_inet.in.h
149
150## end gnulib module arpa_inet
151
49114fd4
LC
152## begin gnulib module bind
153
154
155EXTRA_DIST += bind.c w32sock.h
156
157EXTRA_libgnu_la_SOURCES += bind.c
158
159## end gnulib module bind
160
24d56127
LC
161## begin gnulib module byteswap
162
163BUILT_SOURCES += $(BYTESWAP_H)
164
165# We need the following in order to create <byteswap.h> when the system
166# doesn't have one.
167byteswap.h: byteswap.in.h
8912421c 168 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
169 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
170 cat $(srcdir)/byteswap.in.h; \
8912421c 171 } > $@-t && \
24d56127
LC
172 mv -f $@-t $@
173MOSTLYCLEANFILES += byteswap.h byteswap.h-t
174
175EXTRA_DIST += byteswap.in.h
176
177## end gnulib module byteswap
178
f4c79b3c
LC
179## begin gnulib module c++defs
180
181# The BUILT_SOURCES created by this Makefile snippet are not used via #include
182# statements but through direct file reference. Therefore this snippet must be
183# present in all Makefile.am that need it. This is ensured by the applicability
184# 'all' defined above.
185
186BUILT_SOURCES += c++defs.h
187# The c++defs.h that gets inserted into generated .h files is the same as
188# build-aux/c++defs.h, except that it has the copyright header cut off.
189c++defs.h: $(top_srcdir)/build-aux/c++defs.h
190 $(AM_V_GEN)rm -f $@-t $@ && \
191 sed -n -e '/_GL_CXXDEFS/,$$p' \
192 < $(top_srcdir)/build-aux/c++defs.h \
193 > $@-t && \
194 mv $@-t $@
195MOSTLYCLEANFILES += c++defs.h c++defs.h-t
196
197CXXDEFS_H=c++defs.h
198
199EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
200
201## end gnulib module c++defs
202
24d56127
LC
203## begin gnulib module c-ctype
204
205libgnu_la_SOURCES += c-ctype.h c-ctype.c
206
207## end gnulib module c-ctype
208
209## begin gnulib module c-strcase
210
211libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
212
213## end gnulib module c-strcase
214
215## begin gnulib module c-strcaseeq
216
217
218EXTRA_DIST += c-strcaseeq.h
219
220## end gnulib module c-strcaseeq
221
ffca4c22
AW
222## begin gnulib module canonicalize-lgpl
223
224
8912421c 225EXTRA_DIST += canonicalize-lgpl.c
ffca4c22
AW
226
227EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
228
229## end gnulib module canonicalize-lgpl
230
49114fd4
LC
231## begin gnulib module close
232
233
234EXTRA_DIST += close.c
235
236EXTRA_libgnu_la_SOURCES += close.c
237
238## end gnulib module close
239
0f00f2c3
LC
240## begin gnulib module close-hook
241
242libgnu_la_SOURCES += close-hook.c
243
244EXTRA_DIST += close-hook.h
245
246## end gnulib module close-hook
247
49114fd4 248## begin gnulib module connect
4a462e35 249
49114fd4
LC
250
251EXTRA_DIST += connect.c w32sock.h
252
253EXTRA_libgnu_la_SOURCES += connect.c
254
255## end gnulib module connect
4a462e35 256
c3b16a5d
LC
257## begin gnulib module duplocale
258
259
260EXTRA_DIST += duplocale.c
261
262EXTRA_libgnu_la_SOURCES += duplocale.c
263
264## end gnulib module duplocale
265
c4b681fd
LC
266## begin gnulib module errno
267
268BUILT_SOURCES += $(ERRNO_H)
269
270# We need the following in order to create <errno.h> when the system
271# doesn't have one that is POSIX compliant.
272errno.h: errno.in.h
8912421c 273 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
274 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
275 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
276 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 277 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
278 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
279 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
280 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
281 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
282 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
283 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
284 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
285 < $(srcdir)/errno.in.h; \
8912421c 286 } > $@-t && \
c4b681fd
LC
287 mv $@-t $@
288MOSTLYCLEANFILES += errno.h errno.h-t
289
290EXTRA_DIST += errno.in.h
291
292## end gnulib module errno
293
49114fd4
LC
294## begin gnulib module fclose
295
296
297EXTRA_DIST += fclose.c
298
299EXTRA_libgnu_la_SOURCES += fclose.c
300
301## end gnulib module fclose
302
c4b681fd
LC
303## begin gnulib module float
304
305BUILT_SOURCES += $(FLOAT_H)
306
307# We need the following in order to create <float.h> when the system
308# doesn't have one that works with the given compiler.
309float.h: float.in.h
8912421c 310 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
311 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
312 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
313 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 314 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
315 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
316 < $(srcdir)/float.in.h; \
8912421c 317 } > $@-t && \
c4b681fd
LC
318 mv $@-t $@
319MOSTLYCLEANFILES += float.h float.h-t
320
321EXTRA_DIST += float.in.h
322
323## end gnulib module float
324
f240aacb
LC
325## begin gnulib module flock
326
327
328EXTRA_DIST += flock.c
329
330EXTRA_libgnu_la_SOURCES += flock.c
331
332## end gnulib module flock
333
9b36a80c
LC
334## begin gnulib module full-read
335
336libgnu_la_SOURCES += full-read.h full-read.c
337
338## end gnulib module full-read
339
340## begin gnulib module full-write
341
342libgnu_la_SOURCES += full-write.h full-write.c
343
344## end gnulib module full-write
345
c84bdaf6
LC
346## begin gnulib module gendocs
347
348
349EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
350
351## end gnulib module gendocs
352
61cd9dc9
LC
353## begin gnulib module getaddrinfo
354
355
356EXTRA_DIST += gai_strerror.c getaddrinfo.c
357
358EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
359
360## end gnulib module getaddrinfo
361
49114fd4
LC
362## begin gnulib module getpeername
363
364
365EXTRA_DIST += getpeername.c w32sock.h
366
367EXTRA_libgnu_la_SOURCES += getpeername.c
368
369## end gnulib module getpeername
370
371## begin gnulib module getsockname
372
373
374EXTRA_DIST += getsockname.c w32sock.h
375
376EXTRA_libgnu_la_SOURCES += getsockname.c
377
378## end gnulib module getsockname
379
380## begin gnulib module getsockopt
381
382
383EXTRA_DIST += getsockopt.c w32sock.h
384
385EXTRA_libgnu_la_SOURCES += getsockopt.c
386
387## end gnulib module getsockopt
388
4f02b98d
LC
389## begin gnulib module gettext-h
390
391libgnu_la_SOURCES += gettext.h
392
393## end gnulib module gettext-h
394
5ad8e59f
LC
395## begin gnulib module git-version-gen
396
397
398EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
399
400## end gnulib module git-version-gen
401
c84bdaf6
LC
402## begin gnulib module gitlog-to-changelog
403
404
405EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
406
407## end gnulib module gitlog-to-changelog
408
409## begin gnulib module gnu-web-doc-update
410
411
412EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
413
414## end gnulib module gnu-web-doc-update
415
416## begin gnulib module gnumakefile
417
418distclean-local: clean-GNUmakefile
419clean-GNUmakefile:
420 test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
421
422EXTRA_DIST += $(top_srcdir)/GNUmakefile
423
424## end gnulib module gnumakefile
425
426## begin gnulib module gnupload
427
428
429EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
430
431## end gnulib module gnupload
432
24d56127
LC
433## begin gnulib module gperf
434
435GPERF = gperf
436
437## end gnulib module gperf
438
439## begin gnulib module havelib
440
441
442EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
443
444## end gnulib module havelib
445
f4c79b3c 446## begin gnulib module iconv-h
24d56127
LC
447
448BUILT_SOURCES += $(ICONV_H)
449
450# We need the following in order to create <iconv.h> when the system
451# doesn't have one that works with the given compiler.
f4c79b3c 452iconv.h: iconv.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 453 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
454 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
455 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
456 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 457 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 458 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
0f00f2c3 459 -e 's|@''GNULIB_ICONV''@|$(GNULIB_ICONV)|g' \
24d56127
LC
460 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
461 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
462 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
463 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
f4c79b3c 464 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 465 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 466 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
24d56127 467 < $(srcdir)/iconv.in.h; \
8912421c 468 } > $@-t && \
24d56127
LC
469 mv $@-t $@
470MOSTLYCLEANFILES += iconv.h iconv.h-t
471
f4c79b3c
LC
472EXTRA_DIST += iconv.in.h
473
474## end gnulib module iconv-h
475
476## begin gnulib module iconv_open
477
24d56127
LC
478iconv_open-aix.h: iconv_open-aix.gperf
479 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
480 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
481iconv_open-hpux.h: iconv_open-hpux.gperf
482 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
483 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
484iconv_open-irix.h: iconv_open-irix.gperf
485 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
486 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
487iconv_open-osf.h: iconv_open-osf.gperf
488 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
489 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
8912421c
LC
490iconv_open-solaris.h: iconv_open-solaris.gperf
491 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
492 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
493BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
494MOSTLYCLEANFILES += 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
495MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
496EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
24d56127 497
f4c79b3c 498EXTRA_DIST += 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
499
500EXTRA_libgnu_la_SOURCES += iconv_open.c
501
502## end gnulib module iconv_open
503
504## begin gnulib module iconv_open-utf
505
506
507EXTRA_DIST += iconv.c iconv_close.c
508
509EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c
510
511## end gnulib module iconv_open-utf
512
8912421c
LC
513## begin gnulib module inet_ntop
514
515
516EXTRA_DIST += inet_ntop.c
517
518EXTRA_libgnu_la_SOURCES += inet_ntop.c
519
520## end gnulib module inet_ntop
521
522## begin gnulib module inet_pton
523
524
525EXTRA_DIST += inet_pton.c
526
527EXTRA_libgnu_la_SOURCES += inet_pton.c
528
529## end gnulib module inet_pton
530
2e65b52f
LC
531## begin gnulib module isinf
532
533
534EXTRA_DIST += isinf.c
535
536EXTRA_libgnu_la_SOURCES += isinf.c
537
538## end gnulib module isinf
539
540## begin gnulib module isnand
541
542
543EXTRA_DIST += float+.h isnan.c isnand.c
544
545EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
546
547## end gnulib module isnand
548
549## begin gnulib module isnanf
550
551
552EXTRA_DIST += float+.h isnan.c isnanf.c
553
554EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
555
556## end gnulib module isnanf
557
558## begin gnulib module isnanl
559
560
561EXTRA_DIST += float+.h isnan.c isnanl.c
562
563EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
564
565## end gnulib module isnanl
566
d9a9e182
AW
567## begin gnulib module lib-symbol-visibility
568
569# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
570# compilation of all sources that make up the library. This line here does it
571# only for the gnulib part of it. The developer is responsible for adding
572# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
573AM_CFLAGS += $(CFLAG_VISIBILITY)
574
575## end gnulib module lib-symbol-visibility
576
a927b6c1
LC
577## begin gnulib module libunistring
578
579
580EXTRA_DIST += libunistring.valgrind
581
582## end gnulib module libunistring
583
49114fd4 584## begin gnulib module listen
4a462e35 585
4a462e35 586
49114fd4 587EXTRA_DIST += listen.c w32sock.h
4a462e35 588
49114fd4 589EXTRA_libgnu_la_SOURCES += listen.c
4a462e35 590
49114fd4 591## end gnulib module listen
4a462e35 592
414e4441
LC
593## begin gnulib module locale
594
61cd9dc9 595BUILT_SOURCES += locale.h
414e4441
LC
596
597# We need the following in order to create <locale.h> when the system
598# doesn't have one that provides all definitions.
f4c79b3c 599locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
414e4441
LC
600 $(AM_V_GEN)rm -f $@-t $@ && \
601 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
602 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
603 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 604 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414e4441 605 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
49114fd4 606 -e 's|@''GNULIB_SETLOCALE''@|$(GNULIB_SETLOCALE)|g' \
414e4441 607 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
f4c79b3c 608 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
414e4441 609 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
49114fd4 610 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
414e4441 611 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
f4c79b3c 612 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 613 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 614 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
414e4441
LC
615 < $(srcdir)/locale.in.h; \
616 } > $@-t && \
617 mv $@-t $@
618MOSTLYCLEANFILES += locale.h locale.h-t
619
620EXTRA_DIST += locale.in.h
621
622## end gnulib module locale
623
8912421c
LC
624## begin gnulib module lstat
625
626
627EXTRA_DIST += lstat.c
628
629EXTRA_libgnu_la_SOURCES += lstat.c
630
631## end gnulib module lstat
632
c84bdaf6
LC
633## begin gnulib module maintainer-makefile
634
635EXTRA_DIST += $(top_srcdir)/maint.mk
636
637## end gnulib module maintainer-makefile
638
49114fd4
LC
639## begin gnulib module malloc-gnu
640
641
642EXTRA_DIST += malloc.c
643
644EXTRA_libgnu_la_SOURCES += malloc.c
645
646## end gnulib module malloc-gnu
647
f240aacb
LC
648## begin gnulib module malloc-posix
649
650
651EXTRA_DIST += malloc.c
652
653EXTRA_libgnu_la_SOURCES += malloc.c
654
655## end gnulib module malloc-posix
656
ffca4c22
AW
657## begin gnulib module malloca
658
659libgnu_la_SOURCES += malloca.c
660
661EXTRA_DIST += malloca.h malloca.valgrind
662
663## end gnulib module malloca
664
2e65b52f
LC
665## begin gnulib module math
666
667BUILT_SOURCES += math.h
668
669# We need the following in order to create <math.h> when the system
670# doesn't have one that works with the given compiler.
671math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
672 $(AM_V_GEN)rm -f $@-t $@ && \
673 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
674 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
675 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 676 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2e65b52f
LC
677 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
678 -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
679 -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
680 -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
49114fd4 681 -e 's|@''GNULIB_CEIL''@|$(GNULIB_CEIL)|g' \
2e65b52f
LC
682 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
683 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
684 -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
685 -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
49114fd4 686 -e 's|@''GNULIB_FLOOR''@|$(GNULIB_FLOOR)|g' \
2e65b52f
LC
687 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
688 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
689 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
690 -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
691 -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
692 -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
693 -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
694 -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
695 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
696 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
697 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
698 -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
699 -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
700 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
701 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
702 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
703 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
704 -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
705 -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
706 -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
707 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
708 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
709 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
49114fd4
LC
710 < $(srcdir)/math.in.h | \
711 sed -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
2e65b52f
LC
712 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
713 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
714 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
715 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
716 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
717 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
718 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
719 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
720 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
721 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
722 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
723 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
724 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
725 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
726 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
727 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
728 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
729 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
730 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
731 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
732 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
733 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
734 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
735 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
736 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
737 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
738 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
739 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
740 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
741 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
742 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
743 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
744 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
49114fd4
LC
745 | \
746 sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
2e65b52f
LC
747 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
748 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
49114fd4 749 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
2e65b52f
LC
750 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
751 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
752 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
753 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
754 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
755 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
756 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
757 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
758 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
759 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
760 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
761 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
762 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
763 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
764 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
49114fd4
LC
765 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
766 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
2e65b52f
LC
767 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
768 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
769 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 770 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2e65b52f
LC
771 } > $@-t && \
772 mv $@-t $@
773MOSTLYCLEANFILES += math.h math.h-t
774
775EXTRA_DIST += math.in.h
776
777## end gnulib module math
778
c4b681fd
LC
779## begin gnulib module memchr
780
781
782EXTRA_DIST += memchr.c memchr.valgrind
783
784EXTRA_libgnu_la_SOURCES += memchr.c
785
786## end gnulib module memchr
787
61cd9dc9
LC
788## begin gnulib module netdb
789
a927b6c1 790BUILT_SOURCES += netdb.h
61cd9dc9
LC
791
792# We need the following in order to create <netdb.h> when the system
793# doesn't have one that works with the given compiler.
a927b6c1 794netdb.h: netdb.in.h $(ARG_NONNULL_H) $(WARN_ON_USE_H)
61cd9dc9
LC
795 $(AM_V_GEN)rm -f $@-t $@ && \
796 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
797 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
798 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 799 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61cd9dc9
LC
800 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
801 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
802 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
803 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
804 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
805 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
806 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
807 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
808 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
a927b6c1 809 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
61cd9dc9
LC
810 < $(srcdir)/netdb.in.h; \
811 } > $@-t && \
812 mv $@-t $@
813MOSTLYCLEANFILES += netdb.h netdb.h-t
814
815EXTRA_DIST += netdb.in.h
816
817## end gnulib module netdb
818
8912421c
LC
819## begin gnulib module netinet_in
820
821BUILT_SOURCES += $(NETINET_IN_H)
822
823# We need the following in order to create <netinet/in.h> when the system
824# doesn't have one.
825netinet/in.h: netinet_in.in.h
826 $(AM_V_at)$(MKDIR_P) netinet
827 $(AM_V_GEN)rm -f $@-t $@ && \
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' \
0f00f2c3 831 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
832 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
833 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
834 < $(srcdir)/netinet_in.in.h; \
835 } > $@-t && \
836 mv $@-t $@
837MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
838MOSTLYCLEANDIRS += netinet
839
840EXTRA_DIST += netinet_in.in.h
841
842## end gnulib module netinet_in
843
0f00f2c3
LC
844## begin gnulib module nproc
845
846libgnu_la_SOURCES += nproc.c
847
848EXTRA_DIST += nproc.h
849
850## end gnulib module nproc
851
ffca4c22
AW
852## begin gnulib module pathmax
853
854
855EXTRA_DIST += pathmax.h
856
857## end gnulib module pathmax
858
f240aacb
LC
859## begin gnulib module putenv
860
861
862EXTRA_DIST += putenv.c
863
864EXTRA_libgnu_la_SOURCES += putenv.c
865
866## end gnulib module putenv
867
ffca4c22
AW
868## begin gnulib module readlink
869
870
871EXTRA_DIST += readlink.c
872
873EXTRA_libgnu_la_SOURCES += readlink.c
874
875## end gnulib module readlink
876
49114fd4
LC
877## begin gnulib module recv
878
879
880EXTRA_DIST += recv.c w32sock.h
881
882EXTRA_libgnu_la_SOURCES += recv.c
883
884## end gnulib module recv
885
886## begin gnulib module recvfrom
887
888
889EXTRA_DIST += recvfrom.c w32sock.h
890
891EXTRA_libgnu_la_SOURCES += recvfrom.c
892
893## end gnulib module recvfrom
894
9b36a80c
LC
895## begin gnulib module safe-read
896
897
898EXTRA_DIST += safe-read.c safe-read.h
899
900EXTRA_libgnu_la_SOURCES += safe-read.c
901
902## end gnulib module safe-read
903
904## begin gnulib module safe-write
905
906
907EXTRA_DIST += safe-write.c safe-write.h
908
909EXTRA_libgnu_la_SOURCES += safe-write.c
910
911## end gnulib module safe-write
912
49114fd4
LC
913## begin gnulib module send
914
915
916EXTRA_DIST += send.c w32sock.h
917
918EXTRA_libgnu_la_SOURCES += send.c
919
920## end gnulib module send
921
922## begin gnulib module sendto
923
924
925EXTRA_DIST += sendto.c w32sock.h
926
927EXTRA_libgnu_la_SOURCES += sendto.c
928
929## end gnulib module sendto
930
931## begin gnulib module setsockopt
932
933
934EXTRA_DIST += setsockopt.c w32sock.h
935
936EXTRA_libgnu_la_SOURCES += setsockopt.c
937
938## end gnulib module setsockopt
939
940## begin gnulib module shutdown
941
942
943EXTRA_DIST += shutdown.c w32sock.h
944
945EXTRA_libgnu_la_SOURCES += shutdown.c
946
947## end gnulib module shutdown
948
c4b681fd
LC
949## begin gnulib module size_max
950
951libgnu_la_SOURCES += size_max.h
952
953## end gnulib module size_max
954
61cd9dc9
LC
955## begin gnulib module snprintf
956
957
958EXTRA_DIST += snprintf.c
959
960EXTRA_libgnu_la_SOURCES += snprintf.c
961
962## end gnulib module snprintf
963
49114fd4
LC
964## begin gnulib module socket
965
966
967EXTRA_DIST += socket.c w32sock.h
968
969EXTRA_libgnu_la_SOURCES += socket.c
970
971## end gnulib module socket
972
0f00f2c3
LC
973## begin gnulib module sockets
974
975libgnu_la_SOURCES += sockets.h sockets.c
976
977EXTRA_DIST += w32sock.h
978
979## end gnulib module sockets
980
8912421c
LC
981## begin gnulib module stat
982
983
984EXTRA_DIST += stat.c
985
986EXTRA_libgnu_la_SOURCES += stat.c
987
988## end gnulib module stat
989
9157d901
LC
990## begin gnulib module stat-time
991
992
993EXTRA_DIST += stat-time.h
994
995## end gnulib module stat-time
996
4f02b98d
LC
997## begin gnulib module stdarg
998
999BUILT_SOURCES += $(STDARG_H)
1000
1001# We need the following in order to create <stdarg.h> when the system
1002# doesn't have one that works with the given compiler.
1003stdarg.h: stdarg.in.h
1004 $(AM_V_GEN)rm -f $@-t $@ && \
1005 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1006 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1007 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1008 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
4f02b98d
LC
1009 -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1010 < $(srcdir)/stdarg.in.h; \
1011 } > $@-t && \
1012 mv $@-t $@
1013MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1014
1015EXTRA_DIST += stdarg.in.h
1016
1017## end gnulib module stdarg
1018
e65fc94b
LC
1019## begin gnulib module stdbool
1020
1021BUILT_SOURCES += $(STDBOOL_H)
1022
1023# We need the following in order to create <stdbool.h> when the system
1024# doesn't have one that works.
1025stdbool.h: stdbool.in.h
8912421c 1026 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1027 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1028 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 1029 } > $@-t && \
e65fc94b
LC
1030 mv $@-t $@
1031MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1032
1033EXTRA_DIST += stdbool.in.h
1034
1035## end gnulib module stdbool
1036
8912421c
LC
1037## begin gnulib module stddef
1038
1039BUILT_SOURCES += $(STDDEF_H)
1040
1041# We need the following in order to create <stddef.h> when the system
1042# doesn't have one that works with the given compiler.
1043stddef.h: stddef.in.h
1044 $(AM_V_GEN)rm -f $@-t $@ && \
1045 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1046 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1047 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1048 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1049 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1050 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1051 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1052 < $(srcdir)/stddef.in.h; \
1053 } > $@-t && \
1054 mv $@-t $@
1055MOSTLYCLEANFILES += stddef.h stddef.h-t
1056
1057EXTRA_DIST += stddef.in.h
1058
1059## end gnulib module stddef
1060
f240aacb
LC
1061## begin gnulib module stdint
1062
1063BUILT_SOURCES += $(STDINT_H)
1064
1065# We need the following in order to create <stdint.h> when the system
1066# doesn't have one that works with the given compiler.
1067stdint.h: stdint.in.h
8912421c 1068 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1069 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1070 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1071 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1072 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1073 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1074 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1075 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1076 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1077 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1078 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1079 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1080 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1081 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1082 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1083 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1084 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1085 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1086 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1087 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1088 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1089 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1090 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1091 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1092 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1093 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1094 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1095 < $(srcdir)/stdint.in.h; \
8912421c 1096 } > $@-t && \
f240aacb
LC
1097 mv $@-t $@
1098MOSTLYCLEANFILES += stdint.h stdint.h-t
1099
1100EXTRA_DIST += stdint.in.h
1101
1102## end gnulib module stdint
1103
c4b681fd
LC
1104## begin gnulib module stdio
1105
1106BUILT_SOURCES += stdio.h
1107
1108# We need the following in order to create <stdio.h> when the system
1109# doesn't have one that works with the given compiler.
f4c79b3c 1110stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1111 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd
LC
1112 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1113 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1114 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1115 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 1116 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
c4b681fd 1117 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
8912421c
LC
1118 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
1119 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
c4b681fd 1120 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
8912421c
LC
1121 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1122 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1123 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1124 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1125 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
c4b681fd
LC
1126 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
1127 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
1128 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
1129 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
1130 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
c4b681fd
LC
1131 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1132 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1133 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
8912421c
LC
1134 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1135 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
c4b681fd 1136 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
8912421c
LC
1137 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1138 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1139 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1140 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1141 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1142 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1143 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1144 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1145 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1146 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1147 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
c4b681fd 1148 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
a927b6c1 1149 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
8912421c
LC
1150 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1151 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1152 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1153 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1154 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1155 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1156 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1157 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
61cd9dc9
LC
1158 < $(srcdir)/stdio.in.h | \
1159 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
ab4d62ad
LC
1160 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1161 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
8912421c
LC
1162 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1163 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1164 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 1165 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 1166 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 1167 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
a927b6c1
LC
1168 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1169 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
8912421c 1170 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 1171 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
1172 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1173 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1174 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1175 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 1176 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
1177 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1178 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 1179 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 1180 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 1181 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 1182 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 1183 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
61cd9dc9 1184 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
c4b681fd 1185 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 1186 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 1187 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
1188 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1189 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1190 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1191 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1192 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1193 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1194 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1195 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
a927b6c1 1196 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
8912421c
LC
1197 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1198 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1199 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1200 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1201 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1202 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
a927b6c1 1203 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
f4c79b3c 1204 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1205 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1206 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1207 } > $@-t && \
c4b681fd
LC
1208 mv $@-t $@
1209MOSTLYCLEANFILES += stdio.h stdio.h-t
1210
1211EXTRA_DIST += stdio-write.c stdio.in.h
1212
1213EXTRA_libgnu_la_SOURCES += stdio-write.c
1214
1215## end gnulib module stdio
1216
f240aacb
LC
1217## begin gnulib module stdlib
1218
1219BUILT_SOURCES += stdlib.h
1220
1221# We need the following in order to create <stdlib.h> when the system
1222# doesn't have one that works with the given compiler.
f4c79b3c 1223stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1224 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1225 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1226 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1227 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1228 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb 1229 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
9157d901 1230 -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
f240aacb 1231 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
8912421c
LC
1232 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1233 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
f240aacb
LC
1234 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1235 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
a927b6c1 1236 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
8912421c 1237 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
f240aacb 1238 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
8912421c 1239 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
f29ded4b 1240 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
f240aacb 1241 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
f29ded4b 1242 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
a927b6c1 1243 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
f240aacb
LC
1244 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1245 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
8912421c
LC
1246 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1247 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
f240aacb
LC
1248 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1249 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1250 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1251 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1252 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
0f00f2c3 1253 -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \
a927b6c1 1254 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
f240aacb 1255 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
49114fd4
LC
1256 < $(srcdir)/stdlib.in.h | \
1257 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
f240aacb 1258 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
8912421c
LC
1259 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1260 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb 1261 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
a927b6c1 1262 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
f240aacb 1263 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 1264 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b 1265 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
a927b6c1 1266 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
f29ded4b 1267 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
a927b6c1 1268 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
8912421c 1269 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 1270 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c 1271 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb 1272 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
ab4d62ad 1273 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
f240aacb
LC
1274 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1275 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1276 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1277 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1278 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
a927b6c1 1279 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
ab4d62ad 1280 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
9157d901 1281 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
8912421c 1282 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
9157d901 1283 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
f240aacb
LC
1284 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1285 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
9157d901 1286 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
8912421c 1287 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 1288 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 1289 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 1290 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
f4c79b3c 1291 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1292 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 1293 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1294 } > $@-t && \
f240aacb
LC
1295 mv $@-t $@
1296MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1297
1298EXTRA_DIST += stdlib.in.h
1299
1300## end gnulib module stdlib
1301
103dc4d4
LC
1302## begin gnulib module strcase
1303
1304
1305EXTRA_DIST += strcasecmp.c strncasecmp.c
1306
1307EXTRA_libgnu_la_SOURCES += strcasecmp.c strncasecmp.c
1308
1309## end gnulib module strcase
1310
e65fc94b
LC
1311## begin gnulib module strftime
1312
1313
1314EXTRA_DIST += strftime.c strftime.h
1315
1316EXTRA_libgnu_la_SOURCES += strftime.c
1317
1318## end gnulib module strftime
1319
24d56127
LC
1320## begin gnulib module striconveh
1321
1322libgnu_la_SOURCES += striconveh.h striconveh.c
1323if GL_COND_LIBTOOL
1324libgnu_la_LDFLAGS += $(LTLIBICONV)
1325endif
1326
1327EXTRA_DIST += iconveh.h
1328
1329## end gnulib module striconveh
1330
1331## begin gnulib module string
1332
1333BUILT_SOURCES += string.h
1334
1335# We need the following in order to create <string.h> when the system
1336# doesn't have one that works with the given compiler.
f4c79b3c 1337string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1338 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
1339 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1340 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1341 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1342 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127
LC
1343 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1344 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1345 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1346 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1347 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1348 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1349 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1350 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1351 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1352 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1353 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1354 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1355 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1356 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1357 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
ffca4c22 1358 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
24d56127
LC
1359 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1360 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1361 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1362 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1363 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1364 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1365 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1366 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
a927b6c1 1367 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
24d56127
LC
1368 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1369 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1370 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1371 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1372 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1373 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1374 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1375 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
0f00f2c3 1376 -e 's|@''GNULIB_STRERROR_R''@|$(GNULIB_STRERROR_R)|g' \
24d56127
LC
1377 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1378 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
61cd9dc9
LC
1379 < $(srcdir)/string.in.h | \
1380 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
a927b6c1 1381 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
24d56127
LC
1382 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1383 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1384 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1385 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1386 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1387 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1388 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1389 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
1390 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1391 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1392 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1393 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1394 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1395 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
0f00f2c3 1396 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
24d56127
LC
1397 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1398 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
a927b6c1 1399 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
ffca4c22 1400 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
1401 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1402 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1403 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1404 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1405 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
0f00f2c3 1406 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
a927b6c1 1407 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
8912421c 1408 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
a927b6c1 1409 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
24d56127 1410 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
1411 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1412 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
f4c79b3c 1413 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1414 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1415 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
24d56127 1416 < $(srcdir)/string.in.h; \
8912421c 1417 } > $@-t && \
24d56127
LC
1418 mv $@-t $@
1419MOSTLYCLEANFILES += string.h string.h-t
1420
1421EXTRA_DIST += string.in.h
1422
1423## end gnulib module string
1424
103dc4d4
LC
1425## begin gnulib module strings
1426
1427BUILT_SOURCES += strings.h
1428
1429# We need the following in order to create <strings.h> when the system
1430# doesn't have one that works with the given compiler.
61cd9dc9 1431strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c 1432 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4 1433 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
e65fc94b
LC
1434 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1435 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1436 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
103dc4d4
LC
1437 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1438 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1439 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1cd4fffc 1440 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1441 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
103dc4d4 1442 < $(srcdir)/strings.in.h; \
8912421c 1443 } > $@-t && \
103dc4d4
LC
1444 mv $@-t $@
1445MOSTLYCLEANFILES += strings.h strings.h-t
1446
1447EXTRA_DIST += strings.in.h
1448
1449## end gnulib module strings
1450
f240aacb
LC
1451## begin gnulib module sys_file
1452
61cd9dc9 1453BUILT_SOURCES += sys/file.h
f240aacb
LC
1454
1455# We need the following in order to create <sys/file.h> when the system
1456# has one that is incomplete.
61cd9dc9 1457sys/file.h: sys_file.in.h $(WARN_ON_USE_H)
8912421c
LC
1458 $(AM_V_at)$(MKDIR_P) sys
1459 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb
LC
1460 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1461 sed -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
1462 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1463 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1464 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1465 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1466 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1467 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
61cd9dc9 1468 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
f240aacb 1469 < $(srcdir)/sys_file.in.h; \
8912421c 1470 } > $@-t && \
f240aacb
LC
1471 mv $@-t $@
1472MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1473MOSTLYCLEANDIRS += sys
1474
1475EXTRA_DIST += sys_file.in.h
1476
1477## end gnulib module sys_file
1478
8912421c
LC
1479## begin gnulib module sys_socket
1480
61cd9dc9 1481BUILT_SOURCES += sys/socket.h
8912421c
LC
1482
1483# We need the following in order to create <sys/socket.h> when the system
1484# doesn't have one that works with the given compiler.
f4c79b3c 1485sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
1486 $(AM_V_at)$(MKDIR_P) sys
1487 $(AM_V_GEN)rm -f $@-t $@ && \
1488 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1489 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1490 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1491 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1492 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1493 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1494 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1495 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1496 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1497 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1498 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1499 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1500 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1501 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1502 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1503 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1504 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1505 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1506 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1507 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1508 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1509 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1510 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1511 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1512 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
0f00f2c3 1513 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
8912421c
LC
1514 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1515 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
f4c79b3c 1516 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1517 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1518 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1519 < $(srcdir)/sys_socket.in.h; \
1520 } > $@-t && \
1521 mv -f $@-t $@
1522MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1523MOSTLYCLEANDIRS += sys
1524
1525EXTRA_DIST += sys_socket.in.h
1526
1527## end gnulib module sys_socket
1528
1529## begin gnulib module sys_stat
1530
1531BUILT_SOURCES += sys/stat.h
1532
1533# We need the following in order to create <sys/stat.h> when the system
1534# has one that is incomplete.
f4c79b3c 1535sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c
LC
1536 $(AM_V_at)$(MKDIR_P) sys
1537 $(AM_V_GEN)rm -f $@-t $@ && \
1538 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1539 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1540 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1541 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1542 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1543 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1544 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1545 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1546 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1547 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1548 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
f29ded4b 1549 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
8912421c 1550 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
f29ded4b 1551 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
8912421c
LC
1552 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1553 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1554 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1555 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1556 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1557 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1558 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1559 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1560 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 1561 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 1562 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 1563 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
1564 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1565 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1566 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1567 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1568 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1569 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1570 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
1571 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1572 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
1573 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1574 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
f4c79b3c 1575 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1576 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1577 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1578 < $(srcdir)/sys_stat.in.h; \
1579 } > $@-t && \
1580 mv $@-t $@
1581MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1582MOSTLYCLEANDIRS += sys
1583
1584EXTRA_DIST += sys_stat.in.h
1585
1586## end gnulib module sys_stat
1587
49114fd4
LC
1588## begin gnulib module sys_time
1589
1590BUILT_SOURCES += sys/time.h
1591
1592# We need the following in order to create <sys/time.h> when the system
1593# doesn't have one that works with the given compiler.
1594sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1595 $(AM_V_at)$(MKDIR_P) sys
1596 $(AM_V_GEN)rm -f $@-t $@ && \
1597 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1598 sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1599 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1600 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1601 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1602 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1603 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1604 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1605 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1606 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1607 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1608 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1609 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1610 < $(srcdir)/sys_time.in.h; \
1611 } > $@-t && \
1612 mv $@-t $@
1613MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1614
1615EXTRA_DIST += sys_time.in.h
1616
1617## end gnulib module sys_time
1618
e65fc94b
LC
1619## begin gnulib module time
1620
1621BUILT_SOURCES += time.h
1622
1623# We need the following in order to create <time.h> when the system
1624# doesn't have one that works with the given compiler.
f4c79b3c 1625time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1626 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1627 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1628 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1629 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1630 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f4c79b3c
LC
1631 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1632 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1633 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1634 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1635 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1636 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
49114fd4 1637 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
a927b6c1
LC
1638 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1639 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1640 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
f4c79b3c
LC
1641 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1642 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1643 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
f4c79b3c 1644 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
6f32e5c7 1645 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
f4c79b3c
LC
1646 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1647 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1648 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1649 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 1650 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
e65fc94b 1651 < $(srcdir)/time.in.h; \
8912421c 1652 } > $@-t && \
e65fc94b
LC
1653 mv $@-t $@
1654MOSTLYCLEANFILES += time.h time.h-t
1655
1656EXTRA_DIST += time.in.h
1657
1658## end gnulib module time
1659
1660## begin gnulib module time_r
1661
1662
1663EXTRA_DIST += time_r.c
1664
1665EXTRA_libgnu_la_SOURCES += time_r.c
1666
1667## end gnulib module time_r
1668
49114fd4
LC
1669## begin gnulib module trunc
1670
1671
1672EXTRA_DIST += trunc.c
1673
1674EXTRA_libgnu_la_SOURCES += trunc.c
1675
1676## end gnulib module trunc
1677
9b36a80c
LC
1678## begin gnulib module unistd
1679
1680BUILT_SOURCES += unistd.h
1681
1682# We need the following in order to create an empty placeholder for
1683# <unistd.h> when the system doesn't have one.
f4c79b3c 1684unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1685 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c
LC
1686 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1687 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1688 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1689 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1690 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
9b36a80c
LC
1691 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1692 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1693 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1694 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
8912421c 1695 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
9b36a80c
LC
1696 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1697 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
8912421c 1698 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
9b36a80c 1699 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
8912421c 1700 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
9b36a80c
LC
1701 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1702 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1703 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1704 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1705 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
f29ded4b 1706 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
9b36a80c 1707 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
61cd9dc9 1708 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
9b36a80c
LC
1709 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1710 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1711 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1712 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
f240aacb 1713 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
8912421c 1714 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
9b36a80c 1715 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
ab4d62ad 1716 -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
8912421c 1717 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1cd4fffc 1718 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
a927b6c1 1719 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
9b36a80c 1720 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
8912421c
LC
1721 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1722 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
9b36a80c 1723 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
8912421c
LC
1724 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1725 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
a927b6c1 1726 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
8912421c 1727 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
9b36a80c 1728 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
8912421c
LC
1729 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1730 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
414e4441 1731 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
9b36a80c 1732 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
61cd9dc9
LC
1733 < $(srcdir)/unistd.in.h | \
1734 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 1735 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 1736 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 1737 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c 1738 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
a927b6c1 1739 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
8912421c 1740 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
9b36a80c
LC
1741 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1742 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
9b36a80c 1743 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 1744 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c 1745 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
61cd9dc9 1746 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
9b36a80c 1747 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
f29ded4b 1748 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 1749 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c 1750 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
ab4d62ad 1751 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
8912421c 1752 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1cd4fffc 1753 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
a927b6c1 1754 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
9b36a80c 1755 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 1756 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
9b36a80c 1757 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
1758 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1759 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1760 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
414e4441 1761 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
9b36a80c 1762 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
ab4d62ad 1763 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
0f00f2c3 1764 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
9b36a80c 1765 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
a927b6c1
LC
1766 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1767 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
ab4d62ad 1768 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
9b36a80c
LC
1769 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1770 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
49114fd4
LC
1771 | \
1772 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
9b36a80c 1773 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 1774 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 1775 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
8912421c 1776 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
9b36a80c 1777 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
0f00f2c3 1778 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
49114fd4 1779 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
f29ded4b 1780 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c
LC
1781 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1782 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
1783 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1784 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 1785 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1cd4fffc 1786 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
a927b6c1 1787 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
8912421c
LC
1788 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1789 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
414e4441 1790 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
8912421c 1791 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
a927b6c1 1792 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
8912421c
LC
1793 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1794 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
414e4441 1795 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
9b36a80c
LC
1796 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1797 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 1798 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
f4c79b3c 1799 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1800 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1801 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1802 } > $@-t && \
9b36a80c
LC
1803 mv $@-t $@
1804MOSTLYCLEANFILES += unistd.h unistd.h-t
1805
1806EXTRA_DIST += unistd.in.h
1807
1808## end gnulib module unistd
1809
24d56127
LC
1810## begin gnulib module unistr/base
1811
a927b6c1 1812BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
24d56127 1813
a927b6c1
LC
1814unistr.h: unistr.in.h
1815 $(AM_V_GEN)rm -f $@-t $@ && \
1816 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1817 cat $(srcdir)/unistr.in.h; \
1818 } > $@-t && \
1819 mv -f $@-t $@
1820MOSTLYCLEANFILES += unistr.h unistr.h-t
1821
1822EXTRA_DIST += unistr.in.h
24d56127
LC
1823
1824## end gnulib module unistr/base
1825
1826## begin gnulib module unistr/u8-mbtouc
1827
6f32e5c7
LC
1828if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
1829libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
1830endif
24d56127
LC
1831
1832## end gnulib module unistr/u8-mbtouc
1833
1834## begin gnulib module unistr/u8-mbtouc-unsafe
1835
6f32e5c7
LC
1836if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
1837libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
1838endif
24d56127
LC
1839
1840## end gnulib module unistr/u8-mbtouc-unsafe
1841
1842## begin gnulib module unistr/u8-mbtoucr
1843
6f32e5c7
LC
1844if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
1845libgnu_la_SOURCES += unistr/u8-mbtoucr.c
1846endif
24d56127
LC
1847
1848## end gnulib module unistr/u8-mbtoucr
1849
1850## begin gnulib module unistr/u8-prev
1851
6f32e5c7
LC
1852if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
1853libgnu_la_SOURCES += unistr/u8-prev.c
1854endif
24d56127
LC
1855
1856## end gnulib module unistr/u8-prev
1857
1858## begin gnulib module unistr/u8-uctomb
1859
6f32e5c7
LC
1860if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
1861libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
1862endif
24d56127
LC
1863
1864## end gnulib module unistr/u8-uctomb
1865
1866## begin gnulib module unitypes
1867
a927b6c1
LC
1868BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
1869
1870unitypes.h: unitypes.in.h
1871 $(AM_V_GEN)rm -f $@-t $@ && \
1872 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1873 cat $(srcdir)/unitypes.in.h; \
1874 } > $@-t && \
1875 mv -f $@-t $@
1876MOSTLYCLEANFILES += unitypes.h unitypes.h-t
24d56127 1877
a927b6c1 1878EXTRA_DIST += unitypes.in.h
24d56127
LC
1879
1880## end gnulib module unitypes
1881
61cd9dc9
LC
1882## begin gnulib module unused-parameter
1883
1884# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1885# statements but through direct file reference. Therefore this snippet must be
1886# present in all Makefile.am that need it. This is ensured by the applicability
1887# 'all' defined above.
1888
1889BUILT_SOURCES += unused-parameter.h
1890# The unused-parameter.h that gets inserted into generated .h files is the same
1891# as build-aux/unused-parameter.h, except that it has the copyright header cut
1892# off.
1893unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
1894 $(AM_V_GEN)rm -f $@-t $@ && \
1895 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1896 < $(top_srcdir)/build-aux/unused-parameter.h \
1897 > $@-t && \
1898 mv $@-t $@
1899MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1900
1901UNUSED_PARAMETER_H=unused-parameter.h
1902
1903EXTRA_DIST += $(top_srcdir)/build-aux/unused-parameter.h
1904
1905## end gnulib module unused-parameter
1906
c84bdaf6
LC
1907## begin gnulib module useless-if-before-free
1908
1909
1910EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1911
1912## end gnulib module useless-if-before-free
1913
c4b681fd
LC
1914## begin gnulib module vasnprintf
1915
1916
1917EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1918
1919EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1920
1921## end gnulib module vasnprintf
1922
c84bdaf6
LC
1923## begin gnulib module vc-list-files
1924
1925
1926EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1927
1928## end gnulib module vc-list-files
1929
d7014610
LC
1930## begin gnulib module verify
1931
1932libgnu_la_SOURCES += verify.h
1933
1934## end gnulib module verify
1935
4f02b98d
LC
1936## begin gnulib module version-etc
1937
1938libgnu_la_SOURCES += version-etc.h version-etc.c
1939
1940## end gnulib module version-etc
1941
1942## begin gnulib module version-etc-fsf
1943
1944libgnu_la_SOURCES += version-etc-fsf.c
1945
1946## end gnulib module version-etc-fsf
1947
c4b681fd
LC
1948## begin gnulib module vsnprintf
1949
1950
1951EXTRA_DIST += vsnprintf.c
1952
1953EXTRA_libgnu_la_SOURCES += vsnprintf.c
1954
1955## end gnulib module vsnprintf
1956
61cd9dc9
LC
1957## begin gnulib module warn-on-use
1958
1959BUILT_SOURCES += warn-on-use.h
1960# The warn-on-use.h that gets inserted into generated .h files is the same as
1961# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1962warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1963 $(AM_V_GEN)rm -f $@-t $@ && \
1964 sed -n -e '/^.ifndef/,$$p' \
1965 < $(top_srcdir)/build-aux/warn-on-use.h \
1966 > $@-t && \
1967 mv $@-t $@
1968MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1969
1970WARN_ON_USE_H=warn-on-use.h
1971
1972EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1973
1974## end gnulib module warn-on-use
1975
e65fc94b
LC
1976## begin gnulib module wchar
1977
61cd9dc9 1978BUILT_SOURCES += wchar.h
e65fc94b
LC
1979
1980# We need the following in order to create <wchar.h> when the system
1981# version does not work standalone.
f4c79b3c 1982wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1983 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1984 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1985 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1986 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
1987 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1988 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
e65fc94b 1989 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35
NJ
1990 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1991 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1992 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1993 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1994 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1995 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1996 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1997 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1998 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1999 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
2000 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
e65fc94b 2001 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
49114fd4
LC
2002 -e 's|@''GNULIB_WMEMCHR''@|$(GNULIB_WMEMCHR)|g' \
2003 -e 's|@''GNULIB_WMEMCMP''@|$(GNULIB_WMEMCMP)|g' \
2004 -e 's|@''GNULIB_WMEMCPY''@|$(GNULIB_WMEMCPY)|g' \
2005 -e 's|@''GNULIB_WMEMMOVE''@|$(GNULIB_WMEMMOVE)|g' \
2006 -e 's|@''GNULIB_WMEMSET''@|$(GNULIB_WMEMSET)|g' \
2007 -e 's|@''GNULIB_WCSLEN''@|$(GNULIB_WCSLEN)|g' \
2008 -e 's|@''GNULIB_WCSNLEN''@|$(GNULIB_WCSNLEN)|g' \
2009 -e 's|@''GNULIB_WCSCPY''@|$(GNULIB_WCSCPY)|g' \
2010 -e 's|@''GNULIB_WCPCPY''@|$(GNULIB_WCPCPY)|g' \
2011 -e 's|@''GNULIB_WCSNCPY''@|$(GNULIB_WCSNCPY)|g' \
2012 -e 's|@''GNULIB_WCPNCPY''@|$(GNULIB_WCPNCPY)|g' \
2013 -e 's|@''GNULIB_WCSCAT''@|$(GNULIB_WCSCAT)|g' \
2014 -e 's|@''GNULIB_WCSNCAT''@|$(GNULIB_WCSNCAT)|g' \
2015 -e 's|@''GNULIB_WCSCMP''@|$(GNULIB_WCSCMP)|g' \
2016 -e 's|@''GNULIB_WCSNCMP''@|$(GNULIB_WCSNCMP)|g' \
2017 -e 's|@''GNULIB_WCSCASECMP''@|$(GNULIB_WCSCASECMP)|g' \
2018 -e 's|@''GNULIB_WCSNCASECMP''@|$(GNULIB_WCSNCASECMP)|g' \
2019 -e 's|@''GNULIB_WCSCOLL''@|$(GNULIB_WCSCOLL)|g' \
2020 -e 's|@''GNULIB_WCSXFRM''@|$(GNULIB_WCSXFRM)|g' \
2021 -e 's|@''GNULIB_WCSDUP''@|$(GNULIB_WCSDUP)|g' \
2022 -e 's|@''GNULIB_WCSCHR''@|$(GNULIB_WCSCHR)|g' \
2023 -e 's|@''GNULIB_WCSRCHR''@|$(GNULIB_WCSRCHR)|g' \
2024 -e 's|@''GNULIB_WCSCSPN''@|$(GNULIB_WCSCSPN)|g' \
2025 -e 's|@''GNULIB_WCSSPN''@|$(GNULIB_WCSSPN)|g' \
2026 -e 's|@''GNULIB_WCSPBRK''@|$(GNULIB_WCSPBRK)|g' \
2027 -e 's|@''GNULIB_WCSSTR''@|$(GNULIB_WCSSTR)|g' \
2028 -e 's|@''GNULIB_WCSTOK''@|$(GNULIB_WCSTOK)|g' \
2029 -e 's|@''GNULIB_WCSWIDTH''@|$(GNULIB_WCSWIDTH)|g' \
2030 < $(srcdir)/wchar.in.h | \
2031 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
4a462e35
NJ
2032 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2033 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2034 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2035 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2036 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2037 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2038 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2039 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2040 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
49114fd4
LC
2041 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2042 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2043 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2044 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2045 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2046 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2047 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2048 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2049 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2050 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2051 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2052 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2053 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2054 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2055 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2056 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2057 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2058 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2059 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2060 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2061 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2062 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2063 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2064 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2065 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2066 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2067 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2068 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
4a462e35 2069 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 2070 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
49114fd4
LC
2071 | \
2072 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
4a462e35
NJ
2073 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2074 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2075 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2076 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2077 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2078 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2079 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2080 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2081 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 2082 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b 2083 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
49114fd4 2084 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
f4c79b3c 2085 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2086 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 2087 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2088 } > $@-t && \
e65fc94b
LC
2089 mv $@-t $@
2090MOSTLYCLEANFILES += wchar.h wchar.h-t
2091
2092EXTRA_DIST += wchar.in.h
2093
2094## end gnulib module wchar
2095
9b36a80c
LC
2096## begin gnulib module write
2097
2098
2099EXTRA_DIST += write.c
103dc4d4 2100
9b36a80c 2101EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 2102
9b36a80c 2103## end gnulib module write
103dc4d4 2104
c4b681fd
LC
2105## begin gnulib module xsize
2106
2107libgnu_la_SOURCES += xsize.h
2108
2109## end gnulib module xsize
2110
103dc4d4
LC
2111
2112mostlyclean-local: mostlyclean-generic
2113 @for dir in '' $(MOSTLYCLEANDIRS); do \
2114 if test -n "$$dir" && test -d $$dir; then \
2115 echo "rmdir $$dir"; rmdir $$dir; \
2116 fi; \
2117 done; \
2118 :