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