Update Gnulib to v0.0-6703-g4e0358a.
[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' \
7f1ea859
LC
792 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
793 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
794 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
35428fb6
LC
795 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
796 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
3d458a81
AW
797 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
798 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
799 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
800 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
801 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
802 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
803 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
804 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
35428fb6 805 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
3d458a81
AW
806 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
807 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
35428fb6 808 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
3d458a81 809 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
35428fb6
LC
810 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
811 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
812 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
813 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
814 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
815 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
3d458a81
AW
816 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
817 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
818 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
819 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
35428fb6 820 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
3d458a81 821 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
35428fb6
LC
822 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
823 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
3d458a81 824 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
35428fb6 825 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
3d458a81 826 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
35428fb6 827 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
3d458a81
AW
828 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
829 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
830 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
49114fd4 831 < $(srcdir)/math.in.h | \
35428fb6
LC
832 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
833 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
834 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
2e65b52f 835 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
35428fb6 836 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
2e65b52f 837 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
35428fb6
LC
838 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
839 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
840 -e 's|@''HAVE_COPYSIGNF''@|$(HAVE_COPYSIGNF)|g' \
841 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
842 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
2e65b52f 843 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
35428fb6
LC
844 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
845 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
2e65b52f 846 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
35428fb6 847 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
7f1ea859
LC
848 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
849 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
850 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
35428fb6
LC
851 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
852 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
2e65b52f
LC
853 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
854 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
855 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
35428fb6
LC
856 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
857 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
2e65b52f 858 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
35428fb6
LC
859 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
860 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
861 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
862 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
863 -e 's|@''HAVE_RINTF''@|$(HAVE_RINTF)|g' \
864 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
865 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
2e65b52f 866 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
35428fb6
LC
867 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
868 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
2e65b52f 869 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
35428fb6 870 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
2e65b52f 871 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
35428fb6 872 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
2e65b52f
LC
873 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
874 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
875 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
876 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
877 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
878 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
879 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
880 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
881 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
882 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
883 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
884 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
885 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
886 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
887 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
888 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
889 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
890 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
891 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
892 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
893 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
894 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
49114fd4
LC
895 | \
896 sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
2e65b52f
LC
897 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
898 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
49114fd4 899 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
2e65b52f
LC
900 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
901 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
7f1ea859
LC
902 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
903 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
904 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
35428fb6 905 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
2e65b52f
LC
906 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
907 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
908 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
909 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
910 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
911 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
35428fb6 912 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
2e65b52f
LC
913 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
914 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
915 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
916 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
917 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
918 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
919 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
49114fd4
LC
920 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
921 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
2e65b52f
LC
922 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
923 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
924 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 925 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2e65b52f
LC
926 } > $@-t && \
927 mv $@-t $@
928MOSTLYCLEANFILES += math.h math.h-t
929
930EXTRA_DIST += math.in.h
931
932## end gnulib module math
933
c4b681fd
LC
934## begin gnulib module memchr
935
936
937EXTRA_DIST += memchr.c memchr.valgrind
938
939EXTRA_libgnu_la_SOURCES += memchr.c
940
941## end gnulib module memchr
942
35428fb6
LC
943## begin gnulib module msvc-inval
944
945
946EXTRA_DIST += msvc-inval.c msvc-inval.h
947
948EXTRA_libgnu_la_SOURCES += msvc-inval.c
949
950## end gnulib module msvc-inval
951
952## begin gnulib module msvc-nothrow
953
954
955EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
956
957EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
958
959## end gnulib module msvc-nothrow
960
61cd9dc9
LC
961## begin gnulib module netdb
962
a927b6c1 963BUILT_SOURCES += netdb.h
61cd9dc9
LC
964
965# We need the following in order to create <netdb.h> when the system
966# doesn't have one that works with the given compiler.
3d458a81 967netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
61cd9dc9
LC
968 $(AM_V_GEN)rm -f $@-t $@ && \
969 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
970 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
971 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
61cd9dc9 972 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 973 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61cd9dc9
LC
974 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
975 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
3d458a81 976 -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
61cd9dc9
LC
977 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
978 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
979 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
980 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
981 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
3d458a81
AW
982 -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
983 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
61cd9dc9 984 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
a927b6c1 985 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
61cd9dc9
LC
986 < $(srcdir)/netdb.in.h; \
987 } > $@-t && \
988 mv $@-t $@
989MOSTLYCLEANFILES += netdb.h netdb.h-t
990
991EXTRA_DIST += netdb.in.h
992
993## end gnulib module netdb
994
8912421c
LC
995## begin gnulib module netinet_in
996
997BUILT_SOURCES += $(NETINET_IN_H)
998
999# We need the following in order to create <netinet/in.h> when the system
1000# doesn't have one.
dd7d0148
LC
1001if GL_GENERATE_NETINET_IN_H
1002netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
8912421c
LC
1003 $(AM_V_at)$(MKDIR_P) netinet
1004 $(AM_V_GEN)rm -f $@-t $@ && \
1005 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1006 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1007 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1008 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1009 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1010 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1011 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1012 < $(srcdir)/netinet_in.in.h; \
1013 } > $@-t && \
1014 mv $@-t $@
dd7d0148
LC
1015else
1016netinet/in.h: $(top_builddir)/config.status
1017 rm -f $@
1018endif
8912421c
LC
1019MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1020MOSTLYCLEANDIRS += netinet
1021
1022EXTRA_DIST += netinet_in.in.h
1023
1024## end gnulib module netinet_in
1025
0f00f2c3
LC
1026## begin gnulib module nproc
1027
1028libgnu_la_SOURCES += nproc.c
1029
1030EXTRA_DIST += nproc.h
1031
1032## end gnulib module nproc
1033
3d458a81
AW
1034## begin gnulib module open
1035
1036
1037EXTRA_DIST += open.c
1038
1039EXTRA_libgnu_la_SOURCES += open.c
1040
1041## end gnulib module open
1042
ffca4c22
AW
1043## begin gnulib module pathmax
1044
1045
1046EXTRA_DIST += pathmax.h
1047
1048## end gnulib module pathmax
1049
3d458a81
AW
1050## begin gnulib module pipe2
1051
1052libgnu_la_SOURCES += pipe2.c
1053
1054## end gnulib module pipe2
1055
f240aacb
LC
1056## begin gnulib module putenv
1057
1058
1059EXTRA_DIST += putenv.c
1060
1061EXTRA_libgnu_la_SOURCES += putenv.c
1062
1063## end gnulib module putenv
1064
35428fb6
LC
1065## begin gnulib module raise
1066
1067
1068EXTRA_DIST += raise.c
1069
1070EXTRA_libgnu_la_SOURCES += raise.c
1071
1072## end gnulib module raise
1073
dd7d0148
LC
1074## begin gnulib module read
1075
1076
1077EXTRA_DIST += read.c
1078
1079EXTRA_libgnu_la_SOURCES += read.c
1080
1081## end gnulib module read
1082
ffca4c22
AW
1083## begin gnulib module readlink
1084
1085
1086EXTRA_DIST += readlink.c
1087
1088EXTRA_libgnu_la_SOURCES += readlink.c
1089
1090## end gnulib module readlink
1091
49114fd4
LC
1092## begin gnulib module recv
1093
1094
1095EXTRA_DIST += recv.c w32sock.h
1096
1097EXTRA_libgnu_la_SOURCES += recv.c
1098
1099## end gnulib module recv
1100
1101## begin gnulib module recvfrom
1102
1103
1104EXTRA_DIST += recvfrom.c w32sock.h
1105
1106EXTRA_libgnu_la_SOURCES += recvfrom.c
1107
1108## end gnulib module recvfrom
1109
a67f2fce
AW
1110## begin gnulib module rename
1111
1112
1113EXTRA_DIST += rename.c
1114
1115EXTRA_libgnu_la_SOURCES += rename.c
1116
1117## end gnulib module rename
1118
1119## begin gnulib module rmdir
1120
1121
1122EXTRA_DIST += rmdir.c
1123
1124EXTRA_libgnu_la_SOURCES += rmdir.c
1125
1126## end gnulib module rmdir
1127
9b36a80c
LC
1128## begin gnulib module safe-read
1129
3d458a81 1130libgnu_la_SOURCES += safe-read.c
9b36a80c 1131
3d458a81 1132EXTRA_DIST += safe-read.h
9b36a80c
LC
1133
1134## end gnulib module safe-read
1135
1136## begin gnulib module safe-write
1137
3d458a81 1138libgnu_la_SOURCES += safe-write.c
9b36a80c 1139
3d458a81 1140EXTRA_DIST += safe-read.c safe-write.h
9b36a80c 1141
3d458a81 1142EXTRA_libgnu_la_SOURCES += safe-read.c
9b36a80c
LC
1143
1144## end gnulib module safe-write
1145
a67f2fce
AW
1146## begin gnulib module same-inode
1147
1148
1149EXTRA_DIST += same-inode.h
1150
1151## end gnulib module same-inode
1152
49114fd4
LC
1153## begin gnulib module send
1154
1155
1156EXTRA_DIST += send.c w32sock.h
1157
1158EXTRA_libgnu_la_SOURCES += send.c
1159
1160## end gnulib module send
1161
1162## begin gnulib module sendto
1163
1164
1165EXTRA_DIST += sendto.c w32sock.h
1166
1167EXTRA_libgnu_la_SOURCES += sendto.c
1168
1169## end gnulib module sendto
1170
1171## begin gnulib module setsockopt
1172
1173
1174EXTRA_DIST += setsockopt.c w32sock.h
1175
1176EXTRA_libgnu_la_SOURCES += setsockopt.c
1177
1178## end gnulib module setsockopt
1179
1180## begin gnulib module shutdown
1181
1182
1183EXTRA_DIST += shutdown.c w32sock.h
1184
1185EXTRA_libgnu_la_SOURCES += shutdown.c
1186
1187## end gnulib module shutdown
1188
35428fb6
LC
1189## begin gnulib module signal-h
1190
1191BUILT_SOURCES += signal.h
1192
1193# We need the following in order to create <signal.h> when the system
1194# doesn't have a complete one.
1195signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1196 $(AM_V_GEN)rm -f $@-t $@ && \
1197 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1198 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1199 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1200 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1201 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1202 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1203 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1204 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
1205 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1206 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1207 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1208 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1209 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1210 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1211 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1212 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1213 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1214 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1215 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1216 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1217 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1218 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1219 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1220 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1221 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1222 < $(srcdir)/signal.in.h; \
1223 } > $@-t && \
1224 mv $@-t $@
1225MOSTLYCLEANFILES += signal.h signal.h-t
1226
1227EXTRA_DIST += signal.in.h
1228
1229## end gnulib module signal-h
1230
c4b681fd
LC
1231## begin gnulib module size_max
1232
1233libgnu_la_SOURCES += size_max.h
1234
1235## end gnulib module size_max
1236
35428fb6
LC
1237## begin gnulib module snippet/_Noreturn
1238
1239# Because this Makefile snippet defines a variable used by other
1240# gnulib Makefile snippets, it must be present in all Makefile.am that
1241# need it. This is ensured by the applicability 'all' defined above.
1242
1243_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1244
1245EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1246
1247## end gnulib module snippet/_Noreturn
1248
1249## begin gnulib module snippet/arg-nonnull
1250
1251# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1252# statements but through direct file reference. Therefore this snippet must be
1253# present in all Makefile.am that need it. This is ensured by the applicability
1254# 'all' defined above.
1255
1256BUILT_SOURCES += arg-nonnull.h
1257# The arg-nonnull.h that gets inserted into generated .h files is the same as
1258# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1259# off.
1260arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1261 $(AM_V_GEN)rm -f $@-t $@ && \
1262 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1263 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1264 > $@-t && \
1265 mv $@-t $@
1266MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1267
1268ARG_NONNULL_H=arg-nonnull.h
1269
1270EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1271
1272## end gnulib module snippet/arg-nonnull
1273
1274## begin gnulib module snippet/c++defs
1275
1276# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1277# statements but through direct file reference. Therefore this snippet must be
1278# present in all Makefile.am that need it. This is ensured by the applicability
1279# 'all' defined above.
1280
1281BUILT_SOURCES += c++defs.h
1282# The c++defs.h that gets inserted into generated .h files is the same as
1283# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1284c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1285 $(AM_V_GEN)rm -f $@-t $@ && \
1286 sed -n -e '/_GL_CXXDEFS/,$$p' \
1287 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1288 > $@-t && \
1289 mv $@-t $@
1290MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1291
1292CXXDEFS_H=c++defs.h
1293
1294EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1295
1296## end gnulib module snippet/c++defs
1297
1298## begin gnulib module snippet/unused-parameter
1299
1300# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1301# statements but through direct file reference. Therefore this snippet must be
1302# present in all Makefile.am that need it. This is ensured by the applicability
1303# 'all' defined above.
1304
1305BUILT_SOURCES += unused-parameter.h
1306# The unused-parameter.h that gets inserted into generated .h files is the same
1307# as build-aux/snippet/unused-parameter.h, except that it has the copyright
1308# header cut off.
1309unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1310 $(AM_V_GEN)rm -f $@-t $@ && \
1311 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1312 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1313 > $@-t && \
1314 mv $@-t $@
1315MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1316
1317UNUSED_PARAMETER_H=unused-parameter.h
1318
1319EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1320
1321## end gnulib module snippet/unused-parameter
1322
1323## begin gnulib module snippet/warn-on-use
1324
1325BUILT_SOURCES += warn-on-use.h
1326# The warn-on-use.h that gets inserted into generated .h files is the same as
1327# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1328# off.
1329warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1330 $(AM_V_GEN)rm -f $@-t $@ && \
1331 sed -n -e '/^.ifndef/,$$p' \
1332 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1333 > $@-t && \
1334 mv $@-t $@
1335MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1336
1337WARN_ON_USE_H=warn-on-use.h
1338
1339EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1340
1341## end gnulib module snippet/warn-on-use
1342
61cd9dc9
LC
1343## begin gnulib module snprintf
1344
1345
1346EXTRA_DIST += snprintf.c
1347
1348EXTRA_libgnu_la_SOURCES += snprintf.c
1349
1350## end gnulib module snprintf
1351
49114fd4
LC
1352## begin gnulib module socket
1353
1354
1355EXTRA_DIST += socket.c w32sock.h
1356
1357EXTRA_libgnu_la_SOURCES += socket.c
1358
1359## end gnulib module socket
1360
0f00f2c3
LC
1361## begin gnulib module sockets
1362
1363libgnu_la_SOURCES += sockets.h sockets.c
1364
1365EXTRA_DIST += w32sock.h
1366
1367## end gnulib module sockets
1368
8912421c
LC
1369## begin gnulib module stat
1370
1371
1372EXTRA_DIST += stat.c
1373
1374EXTRA_libgnu_la_SOURCES += stat.c
1375
1376## end gnulib module stat
1377
9157d901
LC
1378## begin gnulib module stat-time
1379
1380
1381EXTRA_DIST += stat-time.h
1382
1383## end gnulib module stat-time
1384
7f1ea859
LC
1385## begin gnulib module stdalign
1386
1387BUILT_SOURCES += $(STDALIGN_H)
1388
1389# We need the following in order to create <stdalign.h> when the system
1390# doesn't have one that works.
1391if GL_GENERATE_STDALIGN_H
1392stdalign.h: stdalign.in.h $(top_builddir)/config.status
1393 $(AM_V_GEN)rm -f $@-t $@ && \
1394 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1395 cat $(srcdir)/stdalign.in.h; \
1396 } > $@-t && \
1397 mv $@-t $@
1398else
1399stdalign.h: $(top_builddir)/config.status
1400 rm -f $@
1401endif
1402MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1403
1404EXTRA_DIST += stdalign.in.h
1405
1406## end gnulib module stdalign
1407
e65fc94b
LC
1408## begin gnulib module stdbool
1409
1410BUILT_SOURCES += $(STDBOOL_H)
1411
1412# We need the following in order to create <stdbool.h> when the system
1413# doesn't have one that works.
dd7d0148
LC
1414if GL_GENERATE_STDBOOL_H
1415stdbool.h: stdbool.in.h $(top_builddir)/config.status
8912421c 1416 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1417 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1418 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 1419 } > $@-t && \
e65fc94b 1420 mv $@-t $@
dd7d0148
LC
1421else
1422stdbool.h: $(top_builddir)/config.status
1423 rm -f $@
1424endif
e65fc94b
LC
1425MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1426
1427EXTRA_DIST += stdbool.in.h
1428
1429## end gnulib module stdbool
1430
8912421c
LC
1431## begin gnulib module stddef
1432
1433BUILT_SOURCES += $(STDDEF_H)
1434
1435# We need the following in order to create <stddef.h> when the system
1436# doesn't have one that works with the given compiler.
dd7d0148
LC
1437if GL_GENERATE_STDDEF_H
1438stddef.h: stddef.in.h $(top_builddir)/config.status
8912421c
LC
1439 $(AM_V_GEN)rm -f $@-t $@ && \
1440 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1441 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1442 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1443 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1444 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1445 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1446 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1447 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1448 < $(srcdir)/stddef.in.h; \
1449 } > $@-t && \
1450 mv $@-t $@
dd7d0148
LC
1451else
1452stddef.h: $(top_builddir)/config.status
1453 rm -f $@
1454endif
8912421c
LC
1455MOSTLYCLEANFILES += stddef.h stddef.h-t
1456
1457EXTRA_DIST += stddef.in.h
1458
1459## end gnulib module stddef
1460
f240aacb
LC
1461## begin gnulib module stdint
1462
1463BUILT_SOURCES += $(STDINT_H)
1464
1465# We need the following in order to create <stdint.h> when the system
1466# doesn't have one that works with the given compiler.
dd7d0148
LC
1467if GL_GENERATE_STDINT_H
1468stdint.h: stdint.in.h $(top_builddir)/config.status
8912421c 1469 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1470 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1471 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1472 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f240aacb
LC
1473 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1474 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1475 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1476 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1477 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1478 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1479 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1480 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
dd36ce77 1481 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f240aacb
LC
1482 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1483 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1484 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1485 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1486 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1487 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1488 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1489 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1490 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1491 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1492 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1493 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1494 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1495 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1496 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1497 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1498 < $(srcdir)/stdint.in.h; \
8912421c 1499 } > $@-t && \
f240aacb 1500 mv $@-t $@
dd7d0148
LC
1501else
1502stdint.h: $(top_builddir)/config.status
1503 rm -f $@
1504endif
f240aacb
LC
1505MOSTLYCLEANFILES += stdint.h stdint.h-t
1506
1507EXTRA_DIST += stdint.in.h
1508
1509## end gnulib module stdint
1510
c4b681fd
LC
1511## begin gnulib module stdio
1512
1513BUILT_SOURCES += stdio.h
1514
1515# We need the following in order to create <stdio.h> when the system
1516# doesn't have one that works with the given compiler.
dd7d0148 1517stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1518 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 1519 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1520 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1521 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 1522 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1523 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 1524 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
3d458a81
AW
1525 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1526 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
35428fb6 1527 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
3d458a81
AW
1528 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1529 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1530 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1531 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1532 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1533 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1534 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1535 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1536 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1537 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1538 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1539 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1540 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1541 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1542 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1543 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1544 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1545 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1546 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1547 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1548 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1549 -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
1550 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1551 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
35428fb6 1552 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
3d458a81
AW
1553 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1554 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1555 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1556 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1557 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1558 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1559 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1560 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1561 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1562 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1563 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1564 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1565 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1566 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1567 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1568 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1569 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1570 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1571 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1572 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1573 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1574 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1575 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1576 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1577 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1578 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
61cd9dc9
LC
1579 < $(srcdir)/stdio.in.h | \
1580 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
ab4d62ad
LC
1581 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1582 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
8912421c
LC
1583 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1584 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1585 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 1586 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 1587 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 1588 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
a927b6c1
LC
1589 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1590 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
35428fb6
LC
1591 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1592 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
8912421c 1593 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 1594 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
1595 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1596 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1597 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
35428fb6 1598 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
8912421c 1599 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 1600 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
1601 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1602 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 1603 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 1604 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 1605 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 1606 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 1607 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
61cd9dc9 1608 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
c4b681fd 1609 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 1610 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 1611 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
1612 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1613 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1614 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1615 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1616 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1617 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1618 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
dd7d0148 1619 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
8912421c 1620 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
a927b6c1 1621 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
8912421c
LC
1622 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1623 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1624 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1625 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1626 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1627 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
a927b6c1 1628 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
f4c79b3c 1629 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1630 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1631 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1632 } > $@-t && \
c4b681fd
LC
1633 mv $@-t $@
1634MOSTLYCLEANFILES += stdio.h stdio.h-t
1635
dd36ce77 1636EXTRA_DIST += stdio.in.h
c4b681fd
LC
1637
1638## end gnulib module stdio
1639
f240aacb
LC
1640## begin gnulib module stdlib
1641
1642BUILT_SOURCES += stdlib.h
1643
1644# We need the following in order to create <stdlib.h> when the system
1645# doesn't have one that works with the given compiler.
35428fb6
LC
1646stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1647 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1648 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1649 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1650 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1651 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f240aacb 1652 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1653 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb 1654 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
3d458a81
AW
1655 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1656 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1657 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1658 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1659 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1660 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1661 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1662 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1663 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1664 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1665 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1666 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1667 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1668 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
35428fb6 1669 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
3d458a81 1670 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
7f1ea859 1671 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
3d458a81
AW
1672 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1673 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1674 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1675 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1676 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1677 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1678 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1679 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1680 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1681 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1682 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1683 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1684 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
49114fd4
LC
1685 < $(srcdir)/stdlib.in.h | \
1686 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
f240aacb 1687 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
8912421c
LC
1688 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1689 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb 1690 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
a927b6c1 1691 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
f240aacb 1692 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 1693 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b 1694 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
a927b6c1 1695 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
f29ded4b 1696 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
35428fb6 1697 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
a927b6c1 1698 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
7f1ea859 1699 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
8912421c 1700 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 1701 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c 1702 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb 1703 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
ab4d62ad 1704 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
f240aacb
LC
1705 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1706 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1707 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1708 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1709 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
a927b6c1 1710 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
ab4d62ad 1711 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
9157d901 1712 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
8912421c 1713 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
9157d901 1714 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
dd36ce77 1715 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
f240aacb 1716 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
7f1ea859 1717 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
f240aacb 1718 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
9157d901 1719 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
8912421c 1720 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 1721 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 1722 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 1723 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
dd36ce77 1724 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
f4c79b3c 1725 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
35428fb6 1726 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1cd4fffc 1727 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 1728 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 1729 } > $@-t && \
f240aacb
LC
1730 mv $@-t $@
1731MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1732
1733EXTRA_DIST += stdlib.in.h
1734
1735## end gnulib module stdlib
1736
e65fc94b
LC
1737## begin gnulib module strftime
1738
3d458a81 1739libgnu_la_SOURCES += strftime.c
e65fc94b 1740
3d458a81 1741EXTRA_DIST += strftime.h
e65fc94b
LC
1742
1743## end gnulib module strftime
1744
24d56127
LC
1745## begin gnulib module striconveh
1746
1747libgnu_la_SOURCES += striconveh.h striconveh.c
1748if GL_COND_LIBTOOL
1749libgnu_la_LDFLAGS += $(LTLIBICONV)
1750endif
1751
1752EXTRA_DIST += iconveh.h
1753
1754## end gnulib module striconveh
1755
1756## begin gnulib module string
1757
1758BUILT_SOURCES += string.h
1759
1760# We need the following in order to create <string.h> when the system
1761# doesn't have one that works with the given compiler.
dd7d0148 1762string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 1763 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127 1764 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1765 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1766 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24d56127 1767 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1768 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 1769 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
35428fb6
LC
1770 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1771 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
3d458a81
AW
1772 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1773 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1774 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1775 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1776 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1777 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1778 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1779 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1780 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1781 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1782 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1783 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1784 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1785 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1786 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1787 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1788 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1789 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1790 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1791 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1792 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1793 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1794 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1795 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1796 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1797 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1798 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1799 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1800 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1801 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1802 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1803 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1804 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1805 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1806 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
61cd9dc9 1807 < $(srcdir)/string.in.h | \
35428fb6
LC
1808 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1809 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1810 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
a927b6c1 1811 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
24d56127
LC
1812 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1813 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1814 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1815 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1816 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1817 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1818 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1819 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
1820 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1821 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1822 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1823 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1824 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1825 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
0f00f2c3 1826 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
24d56127
LC
1827 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1828 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
a927b6c1 1829 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
ffca4c22 1830 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
1831 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1832 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
dd7d0148 1833 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
24d56127
LC
1834 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1835 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1836 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
0f00f2c3 1837 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
a927b6c1 1838 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
8912421c 1839 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
a927b6c1 1840 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
24d56127 1841 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
1842 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1843 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
f4c79b3c 1844 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1845 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1846 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
24d56127 1847 < $(srcdir)/string.in.h; \
8912421c 1848 } > $@-t && \
24d56127
LC
1849 mv $@-t $@
1850MOSTLYCLEANFILES += string.h string.h-t
1851
1852EXTRA_DIST += string.in.h
1853
1854## end gnulib module string
1855
f240aacb
LC
1856## begin gnulib module sys_file
1857
61cd9dc9 1858BUILT_SOURCES += sys/file.h
f240aacb
LC
1859
1860# We need the following in order to create <sys/file.h> when the system
1861# has one that is incomplete.
dd7d0148 1862sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
8912421c
LC
1863 $(AM_V_at)$(MKDIR_P) sys
1864 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 1865 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1866 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1867 -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
f240aacb
LC
1868 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1869 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1870 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
1871 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
1872 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
1873 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
61cd9dc9 1874 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
f240aacb 1875 < $(srcdir)/sys_file.in.h; \
8912421c 1876 } > $@-t && \
f240aacb
LC
1877 mv $@-t $@
1878MOSTLYCLEANFILES += sys/file.h sys/file.h-t
1879MOSTLYCLEANDIRS += sys
1880
1881EXTRA_DIST += sys_file.in.h
1882
1883## end gnulib module sys_file
1884
8912421c
LC
1885## begin gnulib module sys_socket
1886
61cd9dc9 1887BUILT_SOURCES += sys/socket.h
8912421c
LC
1888
1889# We need the following in order to create <sys/socket.h> when the system
1890# doesn't have one that works with the given compiler.
dd7d0148 1891sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
1892 $(AM_V_at)$(MKDIR_P) sys
1893 $(AM_V_GEN)rm -f $@-t $@ && \
1894 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1895 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1896 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1897 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1898 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1899 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1900 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
3d458a81
AW
1901 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1902 -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
1903 -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
1904 -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
1905 -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
1906 -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
1907 -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
1908 -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
1909 -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
1910 -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
1911 -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
1912 -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
1913 -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
1914 -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
1915 -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
1916 -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
8912421c
LC
1917 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1918 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1919 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
0f00f2c3 1920 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
8912421c
LC
1921 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1922 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
f4c79b3c 1923 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1924 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1925 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1926 < $(srcdir)/sys_socket.in.h; \
1927 } > $@-t && \
1928 mv -f $@-t $@
1929MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1930MOSTLYCLEANDIRS += sys
1931
1932EXTRA_DIST += sys_socket.in.h
1933
1934## end gnulib module sys_socket
1935
1936## begin gnulib module sys_stat
1937
1938BUILT_SOURCES += sys/stat.h
1939
1940# We need the following in order to create <sys/stat.h> when the system
1941# has one that is incomplete.
dd7d0148 1942sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c
LC
1943 $(AM_V_at)$(MKDIR_P) sys
1944 $(AM_V_GEN)rm -f $@-t $@ && \
1945 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1946 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1947 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1948 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1949 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c 1950 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
3d458a81 1951 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
35428fb6 1952 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
3d458a81
AW
1953 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1954 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1955 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1956 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1957 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1958 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1959 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1960 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1961 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1962 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1963 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
8912421c
LC
1964 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1965 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1966 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1967 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1968 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1969 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 1970 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 1971 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 1972 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
1973 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1974 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1975 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1976 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1977 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1978 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1979 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
1980 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1981 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
1982 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1983 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
f4c79b3c 1984 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 1985 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 1986 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
1987 < $(srcdir)/sys_stat.in.h; \
1988 } > $@-t && \
1989 mv $@-t $@
1990MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1991MOSTLYCLEANDIRS += sys
1992
1993EXTRA_DIST += sys_stat.in.h
1994
1995## end gnulib module sys_stat
1996
49114fd4
LC
1997## begin gnulib module sys_time
1998
1999BUILT_SOURCES += sys/time.h
2000
2001# We need the following in order to create <sys/time.h> when the system
2002# doesn't have one that works with the given compiler.
dd7d0148 2003sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
49114fd4
LC
2004 $(AM_V_at)$(MKDIR_P) sys
2005 $(AM_V_GEN)rm -f $@-t $@ && \
2006 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2007 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2008 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
49114fd4
LC
2009 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2010 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2011 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2012 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2013 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
35428fb6 2014 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
49114fd4
LC
2015 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2016 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2017 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
2018 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2019 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2020 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2021 < $(srcdir)/sys_time.in.h; \
2022 } > $@-t && \
2023 mv $@-t $@
2024MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2025
2026EXTRA_DIST += sys_time.in.h
2027
2028## end gnulib module sys_time
2029
35428fb6
LC
2030## begin gnulib module sys_types
2031
2032BUILT_SOURCES += sys/types.h
2033
2034# We need the following in order to create <sys/types.h> when the system
2035# doesn't have one that works with the given compiler.
2036sys/types.h: sys_types.in.h $(top_builddir)/config.status
2037 $(AM_V_at)$(MKDIR_P) sys
2038 $(AM_V_GEN)rm -f $@-t $@ && \
2039 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2040 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2041 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2042 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2043 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2044 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2045 < $(srcdir)/sys_types.in.h; \
2046 } > $@-t && \
2047 mv $@-t $@
2048MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2049
2050EXTRA_DIST += sys_types.in.h
2051
2052## end gnulib module sys_types
2053
dd7d0148
LC
2054## begin gnulib module sys_uio
2055
2056BUILT_SOURCES += sys/uio.h
2057
2058# We need the following in order to create <sys/uio.h> when the system
2059# doesn't have one that works with the given compiler.
2060sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2061 $(AM_V_at)$(MKDIR_P) sys
2062 $(AM_V_GEN)rm -f $@-t $@ && \
2063 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2064 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2065 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
dd7d0148
LC
2066 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2067 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2068 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2069 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2070 < $(srcdir)/sys_uio.in.h; \
2071 } > $@-t && \
2072 mv -f $@-t $@
2073MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2074MOSTLYCLEANDIRS += sys
2075
2076EXTRA_DIST += sys_uio.in.h
2077
2078## end gnulib module sys_uio
2079
e65fc94b
LC
2080## begin gnulib module time
2081
2082BUILT_SOURCES += time.h
2083
2084# We need the following in order to create <time.h> when the system
2085# doesn't have one that works with the given compiler.
dd7d0148 2086time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2087 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 2088 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
2089 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2090 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 2091 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2092 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f4c79b3c 2093 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
3d458a81
AW
2094 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2095 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2096 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2097 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2098 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
49114fd4 2099 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
a927b6c1
LC
2100 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2101 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2102 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
f4c79b3c
LC
2103 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2104 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2105 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
f4c79b3c 2106 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
6f32e5c7 2107 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
f4c79b3c
LC
2108 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2109 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2110 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2111 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 2112 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
e65fc94b 2113 < $(srcdir)/time.in.h; \
8912421c 2114 } > $@-t && \
e65fc94b
LC
2115 mv $@-t $@
2116MOSTLYCLEANFILES += time.h time.h-t
2117
2118EXTRA_DIST += time.in.h
2119
2120## end gnulib module time
2121
2122## begin gnulib module time_r
2123
2124
2125EXTRA_DIST += time_r.c
2126
2127EXTRA_libgnu_la_SOURCES += time_r.c
2128
2129## end gnulib module time_r
2130
49114fd4
LC
2131## begin gnulib module trunc
2132
2133
2134EXTRA_DIST += trunc.c
2135
2136EXTRA_libgnu_la_SOURCES += trunc.c
2137
2138## end gnulib module trunc
2139
9b36a80c
LC
2140## begin gnulib module unistd
2141
2142BUILT_SOURCES += unistd.h
2143
2144# We need the following in order to create an empty placeholder for
2145# <unistd.h> when the system doesn't have one.
dd7d0148 2146unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2147 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c 2148 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2149 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2150 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
9b36a80c
LC
2151 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2152 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2153 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
9b36a80c 2154 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
35428fb6 2155 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
3d458a81
AW
2156 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2157 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
35428fb6 2158 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
3d458a81
AW
2159 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2160 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2161 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2162 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2163 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2164 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2165 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
35428fb6 2166 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
3d458a81
AW
2167 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2168 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2169 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2170 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2171 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2172 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2173 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2174 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2175 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2176 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2177 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2178 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
2179 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2180 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2181 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2182 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2183 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2184 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2185 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2186 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2187 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2188 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2189 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2190 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
7f1ea859 2191 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
3d458a81
AW
2192 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2193 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2194 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2195 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
7f1ea859 2196 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
3d458a81
AW
2197 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2198 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2199 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2200 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2201 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2202 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
61cd9dc9
LC
2203 < $(srcdir)/unistd.in.h | \
2204 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 2205 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 2206 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 2207 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c 2208 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
a927b6c1 2209 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
8912421c 2210 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
35428fb6 2211 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
9b36a80c
LC
2212 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2213 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
9b36a80c 2214 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 2215 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c 2216 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
61cd9dc9 2217 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
9b36a80c 2218 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
3d458a81 2219 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
f29ded4b 2220 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 2221 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c 2222 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
ab4d62ad 2223 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
8912421c 2224 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1cd4fffc 2225 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
a927b6c1 2226 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
9b36a80c 2227 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 2228 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
7f1ea859 2229 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
9b36a80c 2230 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
2231 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2232 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2233 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
414e4441 2234 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
9b36a80c 2235 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
ab4d62ad 2236 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
35428fb6 2237 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
0f00f2c3 2238 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
9b36a80c 2239 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
a927b6c1
LC
2240 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2241 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
7f1ea859 2242 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
ab4d62ad 2243 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
9b36a80c
LC
2244 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2245 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
49114fd4
LC
2246 | \
2247 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
9b36a80c 2248 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 2249 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 2250 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
8912421c 2251 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
9b36a80c 2252 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
0f00f2c3 2253 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
49114fd4 2254 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
f29ded4b 2255 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c
LC
2256 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2257 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
2258 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2259 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 2260 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1cd4fffc 2261 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
a927b6c1 2262 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
dd7d0148 2263 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
8912421c
LC
2264 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2265 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
414e4441 2266 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
8912421c 2267 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
a927b6c1 2268 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
8912421c
LC
2269 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2270 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
414e4441 2271 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
9b36a80c
LC
2272 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2273 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 2274 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
f4c79b3c 2275 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2276 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2277 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2278 } > $@-t && \
9b36a80c
LC
2279 mv $@-t $@
2280MOSTLYCLEANFILES += unistd.h unistd.h-t
2281
2282EXTRA_DIST += unistd.in.h
2283
2284## end gnulib module unistd
2285
24d56127
LC
2286## begin gnulib module unistr/base
2287
a927b6c1 2288BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
24d56127 2289
a927b6c1
LC
2290unistr.h: unistr.in.h
2291 $(AM_V_GEN)rm -f $@-t $@ && \
2292 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2293 cat $(srcdir)/unistr.in.h; \
2294 } > $@-t && \
2295 mv -f $@-t $@
2296MOSTLYCLEANFILES += unistr.h unistr.h-t
2297
2298EXTRA_DIST += unistr.in.h
24d56127
LC
2299
2300## end gnulib module unistr/base
2301
2302## begin gnulib module unistr/u8-mbtouc
2303
6f32e5c7
LC
2304if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
2305libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
2306endif
24d56127
LC
2307
2308## end gnulib module unistr/u8-mbtouc
2309
2310## begin gnulib module unistr/u8-mbtouc-unsafe
2311
6f32e5c7
LC
2312if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
2313libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
2314endif
24d56127
LC
2315
2316## end gnulib module unistr/u8-mbtouc-unsafe
2317
2318## begin gnulib module unistr/u8-mbtoucr
2319
6f32e5c7
LC
2320if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2321libgnu_la_SOURCES += unistr/u8-mbtoucr.c
2322endif
24d56127
LC
2323
2324## end gnulib module unistr/u8-mbtoucr
2325
2326## begin gnulib module unistr/u8-prev
2327
6f32e5c7
LC
2328if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
2329libgnu_la_SOURCES += unistr/u8-prev.c
2330endif
24d56127
LC
2331
2332## end gnulib module unistr/u8-prev
2333
2334## begin gnulib module unistr/u8-uctomb
2335
6f32e5c7
LC
2336if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2337libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2338endif
24d56127
LC
2339
2340## end gnulib module unistr/u8-uctomb
2341
2342## begin gnulib module unitypes
2343
a927b6c1
LC
2344BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2345
2346unitypes.h: unitypes.in.h
2347 $(AM_V_GEN)rm -f $@-t $@ && \
2348 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2349 cat $(srcdir)/unitypes.in.h; \
2350 } > $@-t && \
2351 mv -f $@-t $@
2352MOSTLYCLEANFILES += unitypes.h unitypes.h-t
24d56127 2353
a927b6c1 2354EXTRA_DIST += unitypes.in.h
24d56127
LC
2355
2356## end gnulib module unitypes
2357
c84bdaf6
LC
2358## begin gnulib module useless-if-before-free
2359
2360
2361EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2362
2363## end gnulib module useless-if-before-free
2364
c4b681fd
LC
2365## begin gnulib module vasnprintf
2366
2367
2368EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2369
2370EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2371
2372## end gnulib module vasnprintf
2373
c84bdaf6
LC
2374## begin gnulib module vc-list-files
2375
2376
2377EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2378
2379## end gnulib module vc-list-files
2380
d7014610
LC
2381## begin gnulib module verify
2382
3d458a81
AW
2383
2384EXTRA_DIST += verify.h
d7014610
LC
2385
2386## end gnulib module verify
2387
c4b681fd
LC
2388## begin gnulib module vsnprintf
2389
2390
2391EXTRA_DIST += vsnprintf.c
2392
2393EXTRA_libgnu_la_SOURCES += vsnprintf.c
2394
2395## end gnulib module vsnprintf
2396
e65fc94b
LC
2397## begin gnulib module wchar
2398
61cd9dc9 2399BUILT_SOURCES += wchar.h
e65fc94b
LC
2400
2401# We need the following in order to create <wchar.h> when the system
2402# version does not work standalone.
dd7d0148 2403wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2404 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 2405 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2406 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2407 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 2408 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
2409 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2410 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
e65fc94b 2411 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35 2412 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
3d458a81
AW
2413 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2414 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2415 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2416 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2417 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2418 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2419 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2420 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2421 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2422 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2423 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2424 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2425 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2426 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2427 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2428 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2429 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2430 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2431 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2432 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2433 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2434 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2435 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2436 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2437 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2438 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2439 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2440 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2441 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2442 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2443 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2444 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2445 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2446 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2447 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2448 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2449 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2450 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2451 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
49114fd4
LC
2452 < $(srcdir)/wchar.in.h | \
2453 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
4a462e35
NJ
2454 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2455 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2456 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2457 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2458 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2459 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2460 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2461 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2462 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
49114fd4
LC
2463 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2464 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2465 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2466 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2467 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2468 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2469 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2470 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2471 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2472 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2473 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2474 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2475 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2476 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2477 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2478 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2479 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2480 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2481 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2482 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2483 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2484 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2485 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2486 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2487 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2488 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2489 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2490 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
4a462e35 2491 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 2492 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
49114fd4
LC
2493 | \
2494 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
4a462e35
NJ
2495 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2496 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2497 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2498 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2499 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2500 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2501 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2502 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2503 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 2504 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b 2505 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
49114fd4 2506 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
f4c79b3c 2507 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2508 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 2509 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2510 } > $@-t && \
e65fc94b
LC
2511 mv $@-t $@
2512MOSTLYCLEANFILES += wchar.h wchar.h-t
2513
2514EXTRA_DIST += wchar.in.h
2515
2516## end gnulib module wchar
2517
9b36a80c
LC
2518## begin gnulib module write
2519
2520
2521EXTRA_DIST += write.c
103dc4d4 2522
9b36a80c 2523EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 2524
9b36a80c 2525## end gnulib module write
103dc4d4 2526
c4b681fd
LC
2527## begin gnulib module xsize
2528
2529libgnu_la_SOURCES += xsize.h
2530
2531## end gnulib module xsize
2532
103dc4d4
LC
2533
2534mostlyclean-local: mostlyclean-generic
2535 @for dir in '' $(MOSTLYCLEANDIRS); do \
2536 if test -n "$$dir" && test -d $$dir; then \
2537 echo "rmdir $$dir"; rmdir $$dir; \
2538 fi; \
2539 done; \
2540 :