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