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