Reorder arrays.test
[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.
af07e104 3# Copyright (C) 2002-2013 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.
8ba56748 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 c-strcase canonicalize-lgpl ceil clock-time close connect copysign dirfd duplocale environ extensions flock floor fpieee frexp fstat full-read full-write func gendocs getaddrinfo getlogin getpeername getsockname getsockopt git-version-gen gitlog-to-changelog gnu-web-doc-update gnupload havelib iconv_open-utf inet_ntop inet_pton isfinite isinf isnan ldexp lib-symbol-versions lib-symbol-visibility libunistring listen localcharset locale log1p maintainer-makefile malloc-gnu malloca nl_langinfo nproc open pipe-posix pipe2 poll putenv recv recvfrom regex rename select send sendto setenv setsockopt shutdown socket stat-time stdlib strftime striconveh string sys_stat time times 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)
8ba56748 53libgnu_la_LDFLAGS += $(COPYSIGN_LIBM)
b81eb646 54libgnu_la_LDFLAGS += $(FLOOR_LIBM)
dd36ce77 55libgnu_la_LDFLAGS += $(FREXP_LIBM)
0f00f2c3
LC
56libgnu_la_LDFLAGS += $(GETADDRINFO_LIB)
57libgnu_la_LDFLAGS += $(HOSTENT_LIB)
58libgnu_la_LDFLAGS += $(INET_NTOP_LIB)
59libgnu_la_LDFLAGS += $(INET_PTON_LIB)
60libgnu_la_LDFLAGS += $(ISNAND_LIBM)
61libgnu_la_LDFLAGS += $(ISNANF_LIBM)
62libgnu_la_LDFLAGS += $(ISNANL_LIBM)
dd36ce77 63libgnu_la_LDFLAGS += $(LDEXP_LIBM)
0f00f2c3 64libgnu_la_LDFLAGS += $(LIBSOCKET)
235c2804 65libgnu_la_LDFLAGS += $(LIB_CLOCK_GETTIME)
428f9e95 66libgnu_la_LDFLAGS += $(LIB_POLL)
3dac6181 67libgnu_la_LDFLAGS += $(LIB_SELECT)
b81eb646 68libgnu_la_LDFLAGS += $(LOG1P_LIBM)
005de2e8 69libgnu_la_LDFLAGS += $(LOG_LIBM)
0f00f2c3
LC
70libgnu_la_LDFLAGS += $(LTLIBICONV)
71libgnu_la_LDFLAGS += $(LTLIBINTL)
72libgnu_la_LDFLAGS += $(LTLIBUNISTRING)
005de2e8 73libgnu_la_LDFLAGS += $(ROUND_LIBM)
0f00f2c3 74libgnu_la_LDFLAGS += $(SERVENT_LIB)
49114fd4
LC
75libgnu_la_LDFLAGS += $(TRUNC_LIBM)
76
77## begin gnulib module accept
78
79
80EXTRA_DIST += accept.c w32sock.h
81
82EXTRA_libgnu_la_SOURCES += accept.c
83
84## end gnulib module accept
103dc4d4 85
8912421c
LC
86## begin gnulib module alignof
87
88
89EXTRA_DIST += alignof.h
90
91## end gnulib module alignof
92
3dac6181
AW
93## begin gnulib module alloca
94
95
96libgnu_la_LIBADD += @LTALLOCA@
97libgnu_la_DEPENDENCIES += @LTALLOCA@
98EXTRA_DIST += alloca.c
99
100EXTRA_libgnu_la_SOURCES += alloca.c
101
102## end gnulib module alloca
103
103dc4d4
LC
104## begin gnulib module alloca-opt
105
106BUILT_SOURCES += $(ALLOCA_H)
107
108# We need the following in order to create <alloca.h> when the system
109# doesn't have one that works with the given compiler.
dd7d0148
LC
110if GL_GENERATE_ALLOCA_H
111alloca.h: alloca.in.h $(top_builddir)/config.status
8912421c 112 $(AM_V_GEN)rm -f $@-t $@ && \
103dc4d4
LC
113 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
114 cat $(srcdir)/alloca.in.h; \
8912421c 115 } > $@-t && \
103dc4d4 116 mv -f $@-t $@
dd7d0148
LC
117else
118alloca.h: $(top_builddir)/config.status
119 rm -f $@
120endif
103dc4d4
LC
121MOSTLYCLEANFILES += alloca.h alloca.h-t
122
123EXTRA_DIST += alloca.in.h
124
125## end gnulib module alloca-opt
126
c84bdaf6
LC
127## begin gnulib module announce-gen
128
129
130EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
131
132## end gnulib module announce-gen
133
8912421c
LC
134## begin gnulib module arpa_inet
135
61cd9dc9 136BUILT_SOURCES += arpa/inet.h
8912421c
LC
137
138# We need the following in order to create <arpa/inet.h> when the system
139# doesn't have one.
dd7d0148 140arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
141 $(AM_V_at)$(MKDIR_P) arpa
142 $(AM_V_GEN)rm -f $@-t $@ && \
143 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
144 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
145 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 146 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
147 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
148 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
8912421c
LC
149 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
150 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
3d458a81
AW
151 -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \
152 -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \
8912421c
LC
153 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
154 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
35428fb6
LC
155 -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
156 -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
49114fd4 157 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 158 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 159 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
160 < $(srcdir)/arpa_inet.in.h; \
161 } > $@-t && \
162 mv $@-t $@
163MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
164MOSTLYCLEANDIRS += arpa
165
166EXTRA_DIST += arpa_inet.in.h
167
168## end gnulib module arpa_inet
169
3d458a81
AW
170## begin gnulib module binary-io
171
7ae4e75a 172libgnu_la_SOURCES += binary-io.h binary-io.c
3d458a81
AW
173
174## end gnulib module binary-io
175
49114fd4
LC
176## begin gnulib module bind
177
178
179EXTRA_DIST += bind.c w32sock.h
180
181EXTRA_libgnu_la_SOURCES += bind.c
182
183## end gnulib module bind
184
eb4a14ed
LC
185## begin gnulib module btowc
186
187
188EXTRA_DIST += btowc.c
189
190EXTRA_libgnu_la_SOURCES += btowc.c
191
192## end gnulib module btowc
193
24d56127
LC
194## begin gnulib module byteswap
195
196BUILT_SOURCES += $(BYTESWAP_H)
197
198# We need the following in order to create <byteswap.h> when the system
199# doesn't have one.
dd7d0148
LC
200if GL_GENERATE_BYTESWAP_H
201byteswap.h: byteswap.in.h $(top_builddir)/config.status
8912421c 202 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127
LC
203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
204 cat $(srcdir)/byteswap.in.h; \
8912421c 205 } > $@-t && \
24d56127 206 mv -f $@-t $@
dd7d0148
LC
207else
208byteswap.h: $(top_builddir)/config.status
209 rm -f $@
210endif
24d56127
LC
211MOSTLYCLEANFILES += byteswap.h byteswap.h-t
212
213EXTRA_DIST += byteswap.in.h
214
215## end gnulib module byteswap
216
217## begin gnulib module c-ctype
218
219libgnu_la_SOURCES += c-ctype.h c-ctype.c
220
221## end gnulib module c-ctype
222
223## begin gnulib module c-strcase
224
225libgnu_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
226
227## end gnulib module c-strcase
228
229## begin gnulib module c-strcaseeq
230
231
232EXTRA_DIST += c-strcaseeq.h
233
234## end gnulib module c-strcaseeq
235
ffca4c22
AW
236## begin gnulib module canonicalize-lgpl
237
238
8912421c 239EXTRA_DIST += canonicalize-lgpl.c
ffca4c22
AW
240
241EXTRA_libgnu_la_SOURCES += canonicalize-lgpl.c
242
243## end gnulib module canonicalize-lgpl
244
dd36ce77
MW
245## begin gnulib module ceil
246
247
248EXTRA_DIST += ceil.c
249
250EXTRA_libgnu_la_SOURCES += ceil.c
251
252## end gnulib module ceil
253
49114fd4
LC
254## begin gnulib module close
255
256
257EXTRA_DIST += close.c
258
259EXTRA_libgnu_la_SOURCES += close.c
260
261## end gnulib module close
262
c2c2b5a4
LC
263## begin gnulib module configmake
264
265# Listed in the same order as the GNU makefile conventions, and
266# provided by autoconf 2.59c+.
267# The Automake-defined pkg* macros are appended, in the order
268# listed in the Automake 1.10a+ documentation.
269configmake.h: Makefile
270 $(AM_V_GEN)rm -f $@-t && \
271 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
272 echo '#define PREFIX "$(prefix)"'; \
273 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
274 echo '#define BINDIR "$(bindir)"'; \
275 echo '#define SBINDIR "$(sbindir)"'; \
276 echo '#define LIBEXECDIR "$(libexecdir)"'; \
277 echo '#define DATAROOTDIR "$(datarootdir)"'; \
278 echo '#define DATADIR "$(datadir)"'; \
279 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
280 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
281 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
282 echo '#define INCLUDEDIR "$(includedir)"'; \
283 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
284 echo '#define DOCDIR "$(docdir)"'; \
285 echo '#define INFODIR "$(infodir)"'; \
286 echo '#define HTMLDIR "$(htmldir)"'; \
287 echo '#define DVIDIR "$(dvidir)"'; \
288 echo '#define PDFDIR "$(pdfdir)"'; \
289 echo '#define PSDIR "$(psdir)"'; \
290 echo '#define LIBDIR "$(libdir)"'; \
291 echo '#define LISPDIR "$(lispdir)"'; \
292 echo '#define LOCALEDIR "$(localedir)"'; \
293 echo '#define MANDIR "$(mandir)"'; \
294 echo '#define MANEXT "$(manext)"'; \
295 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
296 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
297 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
298 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
005de2e8 299 } | sed '/""/d' > $@-t && \
c2c2b5a4
LC
300 mv -f $@-t $@
301
302BUILT_SOURCES += configmake.h
303CLEANFILES += configmake.h configmake.h-t
304
305## end gnulib module configmake
306
49114fd4 307## begin gnulib module connect
4a462e35 308
49114fd4
LC
309
310EXTRA_DIST += connect.c w32sock.h
311
312EXTRA_libgnu_la_SOURCES += connect.c
313
314## end gnulib module connect
4a462e35 315
8ba56748
MW
316## begin gnulib module copysign
317
318
319EXTRA_DIST += copysign.c
320
321EXTRA_libgnu_la_SOURCES += copysign.c
322
323## end gnulib module copysign
324
f0007cad
LC
325## begin gnulib module dirent
326
327BUILT_SOURCES += dirent.h
328
329# We need the following in order to create <dirent.h> when the system
330# doesn't have one that works with the given compiler.
331dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
332 $(AM_V_GEN)rm -f $@-t $@ && \
333 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
334 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
335 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
336 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
337 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
338 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
339 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
340 -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \
341 -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \
342 -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \
343 -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \
344 -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \
345 -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \
346 -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \
347 -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \
348 -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \
349 -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \
350 -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \
351 -e 's/@''HAVE_CLOSEDIR''@/$(HAVE_CLOSEDIR)/g' \
352 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
353 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
354 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
355 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
356 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
357 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
358 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
359 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
360 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
361 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
362 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
363 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
364 < $(srcdir)/dirent.in.h; \
365 } > $@-t && \
366 mv $@-t $@
367MOSTLYCLEANFILES += dirent.h dirent.h-t
368
369EXTRA_DIST += dirent.in.h
370
371## end gnulib module dirent
372
373## begin gnulib module dirfd
374
375
376EXTRA_DIST += dirfd.c
377
378EXTRA_libgnu_la_SOURCES += dirfd.c
379
380## end gnulib module dirfd
381
a67f2fce
AW
382## begin gnulib module dirname-lgpl
383
384libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
385
386EXTRA_DIST += dirname.h
387
388## end gnulib module dirname-lgpl
389
dd36ce77
MW
390## begin gnulib module dosname
391
392
393EXTRA_DIST += dosname.h
394
395## end gnulib module dosname
396
3dac6181
AW
397## begin gnulib module dup2
398
399
400EXTRA_DIST += dup2.c
401
402EXTRA_libgnu_la_SOURCES += dup2.c
403
404## end gnulib module dup2
405
c3b16a5d
LC
406## begin gnulib module duplocale
407
408
409EXTRA_DIST += duplocale.c
410
411EXTRA_libgnu_la_SOURCES += duplocale.c
412
413## end gnulib module duplocale
414
c4b681fd
LC
415## begin gnulib module errno
416
417BUILT_SOURCES += $(ERRNO_H)
418
419# We need the following in order to create <errno.h> when the system
420# doesn't have one that is POSIX compliant.
dd7d0148
LC
421if GL_GENERATE_ERRNO_H
422errno.h: errno.in.h $(top_builddir)/config.status
8912421c 423 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 424 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
425 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
426 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 427 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 428 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd
LC
429 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
430 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
431 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
432 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
433 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
434 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
435 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
436 < $(srcdir)/errno.in.h; \
8912421c 437 } > $@-t && \
c4b681fd 438 mv $@-t $@
dd7d0148
LC
439else
440errno.h: $(top_builddir)/config.status
441 rm -f $@
442endif
c4b681fd
LC
443MOSTLYCLEANFILES += errno.h errno.h-t
444
445EXTRA_DIST += errno.in.h
446
447## end gnulib module errno
448
3d458a81
AW
449## begin gnulib module fcntl-h
450
451BUILT_SOURCES += fcntl.h
452
453# We need the following in order to create <fcntl.h> when the system
454# doesn't have one that works with the given compiler.
455fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
456 $(AM_V_GEN)rm -f $@-t $@ && \
457 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
458 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
459 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
460 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
461 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
462 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
463 -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
464 -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
465 -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
466 -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
467 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
468 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
469 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
470 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
471 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
472 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
473 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
474 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
475 < $(srcdir)/fcntl.in.h; \
476 } > $@-t && \
477 mv $@-t $@
478MOSTLYCLEANFILES += fcntl.h fcntl.h-t
479
480EXTRA_DIST += fcntl.in.h
481
482## end gnulib module fcntl-h
483
dd7d0148
LC
484## begin gnulib module fd-hook
485
486libgnu_la_SOURCES += fd-hook.c
487
488EXTRA_DIST += fd-hook.h
489
490## end gnulib module fd-hook
491
c4b681fd
LC
492## begin gnulib module float
493
494BUILT_SOURCES += $(FLOAT_H)
495
496# We need the following in order to create <float.h> when the system
497# doesn't have one that works with the given compiler.
dd7d0148
LC
498if GL_GENERATE_FLOAT_H
499float.h: float.in.h $(top_builddir)/config.status
8912421c 500 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 501 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
502 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
503 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
c4b681fd 504 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 505 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 506 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
35428fb6 507 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
c4b681fd 508 < $(srcdir)/float.in.h; \
8912421c 509 } > $@-t && \
c4b681fd 510 mv $@-t $@
dd7d0148
LC
511else
512float.h: $(top_builddir)/config.status
513 rm -f $@
514endif
c4b681fd
LC
515MOSTLYCLEANFILES += float.h float.h-t
516
35428fb6 517EXTRA_DIST += float.c float.in.h itold.c
231c0e0e 518
35428fb6 519EXTRA_libgnu_la_SOURCES += float.c itold.c
c4b681fd
LC
520
521## end gnulib module float
522
f240aacb
LC
523## begin gnulib module flock
524
525
526EXTRA_DIST += flock.c
527
528EXTRA_libgnu_la_SOURCES += flock.c
529
530## end gnulib module flock
531
b81eb646
LC
532## begin gnulib module floor
533
534
535EXTRA_DIST += floor.c
536
537EXTRA_libgnu_la_SOURCES += floor.c
538
539## end gnulib module floor
540
dd36ce77
MW
541## begin gnulib module frexp
542
543
544EXTRA_DIST += frexp.c
545
546EXTRA_libgnu_la_SOURCES += frexp.c
547
548## end gnulib module frexp
549
35428fb6 550## begin gnulib module fstat
3d458a81
AW
551
552
35428fb6 553EXTRA_DIST += fstat.c
3d458a81 554
35428fb6 555EXTRA_libgnu_la_SOURCES += fstat.c
3d458a81 556
35428fb6 557## end gnulib module fstat
3d458a81 558
9b36a80c
LC
559## begin gnulib module full-read
560
561libgnu_la_SOURCES += full-read.h full-read.c
562
dd7d0148
LC
563EXTRA_DIST += full-write.c
564
565EXTRA_libgnu_la_SOURCES += full-write.c
566
9b36a80c
LC
567## end gnulib module full-read
568
569## begin gnulib module full-write
570
571libgnu_la_SOURCES += full-write.h full-write.c
572
573## end gnulib module full-write
574
c84bdaf6
LC
575## begin gnulib module gendocs
576
577
578EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
579
580## end gnulib module gendocs
581
61cd9dc9
LC
582## begin gnulib module getaddrinfo
583
584
585EXTRA_DIST += gai_strerror.c getaddrinfo.c
586
587EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
588
589## end gnulib module getaddrinfo
590
b7548cd2
AW
591## begin gnulib module getlogin
592
593
594EXTRA_DIST += getlogin.c
595
596EXTRA_libgnu_la_SOURCES += getlogin.c
597
598## end gnulib module getlogin
599
49114fd4
LC
600## begin gnulib module getpeername
601
602
603EXTRA_DIST += getpeername.c w32sock.h
604
605EXTRA_libgnu_la_SOURCES += getpeername.c
606
607## end gnulib module getpeername
608
609## begin gnulib module getsockname
610
611
612EXTRA_DIST += getsockname.c w32sock.h
613
614EXTRA_libgnu_la_SOURCES += getsockname.c
615
616## end gnulib module getsockname
617
618## begin gnulib module getsockopt
619
620
621EXTRA_DIST += getsockopt.c w32sock.h
622
623EXTRA_libgnu_la_SOURCES += getsockopt.c
624
625## end gnulib module getsockopt
626
4f02b98d
LC
627## begin gnulib module gettext-h
628
629libgnu_la_SOURCES += gettext.h
630
631## end gnulib module gettext-h
632
5ad8e59f
LC
633## begin gnulib module git-version-gen
634
635
636EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
637
638## end gnulib module git-version-gen
639
c84bdaf6
LC
640## begin gnulib module gitlog-to-changelog
641
642
643EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
644
645## end gnulib module gitlog-to-changelog
646
647## begin gnulib module gnu-web-doc-update
648
649
650EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
651
652## end gnulib module gnu-web-doc-update
653
654## begin gnulib module gnumakefile
655
656distclean-local: clean-GNUmakefile
657clean-GNUmakefile:
7ae4e75a 658 test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
c84bdaf6
LC
659
660EXTRA_DIST += $(top_srcdir)/GNUmakefile
661
662## end gnulib module gnumakefile
663
664## begin gnulib module gnupload
665
666
667EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
668
669## end gnulib module gnupload
670
24d56127
LC
671## begin gnulib module gperf
672
673GPERF = gperf
674
675## end gnulib module gperf
676
677## begin gnulib module havelib
678
679
680EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
681
682## end gnulib module havelib
683
f4c79b3c 684## begin gnulib module iconv-h
24d56127
LC
685
686BUILT_SOURCES += $(ICONV_H)
687
688# We need the following in order to create <iconv.h> when the system
689# doesn't have one that works with the given compiler.
dd7d0148
LC
690if GL_GENERATE_ICONV_H
691iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 692 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127 693 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
694 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
695 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24d56127 696 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 697 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 698 -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \
3d458a81 699 -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \
24d56127
LC
700 -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \
701 -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \
702 -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \
703 -e 's|@''REPLACE_ICONV_UTF''@|$(REPLACE_ICONV_UTF)|g' \
f4c79b3c 704 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 705 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 706 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
24d56127 707 < $(srcdir)/iconv.in.h; \
8912421c 708 } > $@-t && \
24d56127 709 mv $@-t $@
dd7d0148
LC
710else
711iconv.h: $(top_builddir)/config.status
712 rm -f $@
713endif
24d56127
LC
714MOSTLYCLEANFILES += iconv.h iconv.h-t
715
f4c79b3c
LC
716EXTRA_DIST += iconv.in.h
717
718## end gnulib module iconv-h
719
720## begin gnulib module iconv_open
721
24d56127
LC
722iconv_open-aix.h: iconv_open-aix.gperf
723 $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $(srcdir)/iconv_open-aix.h-t
724 mv $(srcdir)/iconv_open-aix.h-t $(srcdir)/iconv_open-aix.h
725iconv_open-hpux.h: iconv_open-hpux.gperf
726 $(GPERF) -m 10 $(srcdir)/iconv_open-hpux.gperf > $(srcdir)/iconv_open-hpux.h-t
727 mv $(srcdir)/iconv_open-hpux.h-t $(srcdir)/iconv_open-hpux.h
728iconv_open-irix.h: iconv_open-irix.gperf
729 $(GPERF) -m 10 $(srcdir)/iconv_open-irix.gperf > $(srcdir)/iconv_open-irix.h-t
730 mv $(srcdir)/iconv_open-irix.h-t $(srcdir)/iconv_open-irix.h
731iconv_open-osf.h: iconv_open-osf.gperf
732 $(GPERF) -m 10 $(srcdir)/iconv_open-osf.gperf > $(srcdir)/iconv_open-osf.h-t
733 mv $(srcdir)/iconv_open-osf.h-t $(srcdir)/iconv_open-osf.h
8912421c
LC
734iconv_open-solaris.h: iconv_open-solaris.gperf
735 $(GPERF) -m 10 $(srcdir)/iconv_open-solaris.gperf > $(srcdir)/iconv_open-solaris.h-t
736 mv $(srcdir)/iconv_open-solaris.h-t $(srcdir)/iconv_open-solaris.h
737BUILT_SOURCES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
738MOSTLYCLEANFILES += 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
739MAINTAINERCLEANFILES += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
740EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h iconv_open-osf.h iconv_open-solaris.h
24d56127 741
3d458a81 742EXTRA_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 743
3d458a81 744EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c
24d56127
LC
745
746## end gnulib module iconv_open
747
8912421c
LC
748## begin gnulib module inet_ntop
749
750
751EXTRA_DIST += inet_ntop.c
752
753EXTRA_libgnu_la_SOURCES += inet_ntop.c
754
755## end gnulib module inet_ntop
756
757## begin gnulib module inet_pton
758
759
760EXTRA_DIST += inet_pton.c
761
762EXTRA_libgnu_la_SOURCES += inet_pton.c
763
764## end gnulib module inet_pton
765
8ba56748
MW
766## begin gnulib module isfinite
767
768
769EXTRA_DIST += isfinite.c
770
771EXTRA_libgnu_la_SOURCES += isfinite.c
772
773## end gnulib module isfinite
774
2e65b52f
LC
775## begin gnulib module isinf
776
777
778EXTRA_DIST += isinf.c
779
780EXTRA_libgnu_la_SOURCES += isinf.c
781
782## end gnulib module isinf
783
784## begin gnulib module isnand
785
786
787EXTRA_DIST += float+.h isnan.c isnand.c
788
789EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
790
791## end gnulib module isnand
792
dd36ce77
MW
793## begin gnulib module isnand-nolibm
794
795
796EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
797
798EXTRA_libgnu_la_SOURCES += isnan.c isnand.c
799
800## end gnulib module isnand-nolibm
801
2e65b52f
LC
802## begin gnulib module isnanf
803
804
805EXTRA_DIST += float+.h isnan.c isnanf.c
806
807EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
808
809## end gnulib module isnanf
810
8ba56748
MW
811## begin gnulib module isnanf-nolibm
812
813
814EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
815
816EXTRA_libgnu_la_SOURCES += isnan.c isnanf.c
817
818## end gnulib module isnanf-nolibm
819
2e65b52f
LC
820## begin gnulib module isnanl
821
822
823EXTRA_DIST += float+.h isnan.c isnanl.c
824
825EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
826
827## end gnulib module isnanl
828
8ba56748
MW
829## begin gnulib module isnanl-nolibm
830
831
832EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
833
834EXTRA_libgnu_la_SOURCES += isnan.c isnanl.c
835
836## end gnulib module isnanl-nolibm
837
eb4a14ed
LC
838## begin gnulib module langinfo
839
840BUILT_SOURCES += langinfo.h
841
842# We need the following in order to create an empty placeholder for
843# <langinfo.h> when the system doesn't have one.
844langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
845 $(AM_V_GEN)rm -f $@-t $@ && \
846 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
847 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
848 -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
849 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
850 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
851 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
852 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
853 -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
854 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
855 -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
856 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
857 -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
858 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
859 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
860 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
861 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
862 < $(srcdir)/langinfo.in.h; \
863 } > $@-t && \
864 mv $@-t $@
865MOSTLYCLEANFILES += langinfo.h langinfo.h-t
866
867EXTRA_DIST += langinfo.in.h
868
869## end gnulib module langinfo
870
d9a9e182
AW
871## begin gnulib module lib-symbol-visibility
872
873# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
874# compilation of all sources that make up the library. This line here does it
875# only for the gnulib part of it. The developer is responsible for adding
876# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
877AM_CFLAGS += $(CFLAG_VISIBILITY)
878
879## end gnulib module lib-symbol-visibility
880
a927b6c1
LC
881## begin gnulib module libunistring
882
883
884EXTRA_DIST += libunistring.valgrind
885
886## end gnulib module libunistring
887
49114fd4 888## begin gnulib module listen
4a462e35 889
4a462e35 890
49114fd4 891EXTRA_DIST += listen.c w32sock.h
4a462e35 892
49114fd4 893EXTRA_libgnu_la_SOURCES += listen.c
4a462e35 894
49114fd4 895## end gnulib module listen
4a462e35 896
c2c2b5a4
LC
897## begin gnulib module localcharset
898
899libgnu_la_SOURCES += localcharset.h localcharset.c
900
901# We need the following in order to install a simple file in $(libdir)
902# which is shared with other installed packages. We use a list of referencing
903# packages so that "make uninstall" will remove the file if and only if it
904# is not used by another installed package.
905# On systems with glibc-2.1 or newer, the file is redundant, therefore we
906# avoid installing it.
907
908all-local: charset.alias ref-add.sed ref-del.sed
909
910charset_alias = $(DESTDIR)$(libdir)/charset.alias
911charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
912install-exec-local: install-exec-localcharset
913install-exec-localcharset: all-local
914 if test $(GLIBC21) = no; then \
915 case '$(host_os)' in \
916 darwin[56]*) \
917 need_charset_alias=true ;; \
918 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
919 need_charset_alias=false ;; \
920 *) \
921 need_charset_alias=true ;; \
922 esac ; \
923 else \
924 need_charset_alias=false ; \
925 fi ; \
926 if $$need_charset_alias; then \
927 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
928 fi ; \
929 if test -f $(charset_alias); then \
930 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
931 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
932 rm -f $(charset_tmp) ; \
933 else \
934 if $$need_charset_alias; then \
935 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
936 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
937 rm -f $(charset_tmp) ; \
938 fi ; \
939 fi
940
941uninstall-local: uninstall-localcharset
942uninstall-localcharset: all-local
943 if test -f $(charset_alias); then \
944 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
945 if grep '^# Packages using this file: $$' $(charset_tmp) \
946 > /dev/null; then \
947 rm -f $(charset_alias); \
948 else \
949 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
950 fi; \
951 rm -f $(charset_tmp); \
952 fi
953
954charset.alias: config.charset
955 $(AM_V_GEN)rm -f t-$@ $@ && \
956 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
957 mv t-$@ $@
958
959SUFFIXES += .sed .sin
960.sin.sed:
961 $(AM_V_GEN)rm -f t-$@ $@ && \
962 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
963 mv t-$@ $@
964
965CLEANFILES += charset.alias ref-add.sed ref-del.sed
966
967EXTRA_DIST += config.charset ref-add.sin ref-del.sin
968
969## end gnulib module localcharset
970
414e4441
LC
971## begin gnulib module locale
972
61cd9dc9 973BUILT_SOURCES += locale.h
414e4441
LC
974
975# We need the following in order to create <locale.h> when the system
976# doesn't have one that provides all definitions.
dd7d0148 977locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
414e4441
LC
978 $(AM_V_GEN)rm -f $@-t $@ && \
979 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
980 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
981 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
414e4441 982 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 983 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
414e4441 984 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
005de2e8 985 -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
3d458a81
AW
986 -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
987 -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
f4c79b3c 988 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
414e4441 989 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
005de2e8 990 -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
49114fd4 991 -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
414e4441 992 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
005de2e8 993 -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
f4c79b3c 994 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 995 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 996 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
414e4441
LC
997 < $(srcdir)/locale.in.h; \
998 } > $@-t && \
999 mv $@-t $@
1000MOSTLYCLEANFILES += locale.h locale.h-t
1001
1002EXTRA_DIST += locale.in.h
1003
1004## end gnulib module locale
1005
005de2e8
LC
1006## begin gnulib module localeconv
1007
1008
1009EXTRA_DIST += localeconv.c
1010
1011EXTRA_libgnu_la_SOURCES += localeconv.c
1012
1013## end gnulib module localeconv
1014
1015## begin gnulib module log
1016
1017
1018EXTRA_DIST += log.c
1019
1020EXTRA_libgnu_la_SOURCES += log.c
1021
1022## end gnulib module log
1023
1024## begin gnulib module log1p
1025
1026
1027EXTRA_DIST += log1p.c
1028
1029EXTRA_libgnu_la_SOURCES += log1p.c
1030
1031## end gnulib module log1p
1032
8912421c
LC
1033## begin gnulib module lstat
1034
1035
1036EXTRA_DIST += lstat.c
1037
1038EXTRA_libgnu_la_SOURCES += lstat.c
1039
1040## end gnulib module lstat
1041
c84bdaf6
LC
1042## begin gnulib module maintainer-makefile
1043
1044EXTRA_DIST += $(top_srcdir)/maint.mk
1045
1046## end gnulib module maintainer-makefile
1047
49114fd4
LC
1048## begin gnulib module malloc-gnu
1049
1050
1051EXTRA_DIST += malloc.c
1052
1053EXTRA_libgnu_la_SOURCES += malloc.c
1054
1055## end gnulib module malloc-gnu
1056
f240aacb
LC
1057## begin gnulib module malloc-posix
1058
1059
1060EXTRA_DIST += malloc.c
1061
1062EXTRA_libgnu_la_SOURCES += malloc.c
1063
1064## end gnulib module malloc-posix
1065
ffca4c22
AW
1066## begin gnulib module malloca
1067
1068libgnu_la_SOURCES += malloca.c
1069
1070EXTRA_DIST += malloca.h malloca.valgrind
1071
1072## end gnulib module malloca
1073
2e65b52f
LC
1074## begin gnulib module math
1075
1076BUILT_SOURCES += math.h
af07e104 1077libgnu_la_SOURCES += math.c
2e65b52f
LC
1078
1079# We need the following in order to create <math.h> when the system
1080# doesn't have one that works with the given compiler.
dd7d0148 1081math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2e65b52f
LC
1082 $(AM_V_GEN)rm -f $@-t $@ && \
1083 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1084 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1085 -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
2e65b52f 1086 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1087 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2e65b52f 1088 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
35428fb6 1089 -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \
3d458a81 1090 -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \
35428fb6 1091 -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \
3d458a81 1092 -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \
35428fb6 1093 -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \
3d458a81 1094 -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \
35428fb6 1095 -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \
005de2e8
LC
1096 -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \
1097 -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \
1098 -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \
3d458a81
AW
1099 -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \
1100 -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \
1101 -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \
35428fb6
LC
1102 -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \
1103 -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \
1104 -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \
1105 -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \
3d458a81 1106 -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \
35428fb6
LC
1107 -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \
1108 -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \
3d458a81 1109 -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \
005de2e8
LC
1110 -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \
1111 -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \
1112 -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \
1113 -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \
1114 -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \
1115 -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \
35428fb6 1116 -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \
005de2e8 1117 -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \
3d458a81
AW
1118 -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \
1119 -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \
1120 -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \
7f1ea859
LC
1121 -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \
1122 -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \
1123 -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \
005de2e8 1124 -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \
35428fb6 1125 -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \
005de2e8 1126 -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \
35428fb6 1127 -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \
3d458a81
AW
1128 -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \
1129 -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \
005de2e8
LC
1130 -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \
1131 -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \
1132 -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \
1133 < $(srcdir)/math.in.h | \
1134 sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \
1135 -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \
1136 -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \
3d458a81
AW
1137 -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \
1138 -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \
1139 -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \
1140 -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \
1141 -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \
1142 -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \
35428fb6 1143 -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \
3d458a81 1144 -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \
005de2e8 1145 -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \
35428fb6 1146 -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \
3d458a81 1147 -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \
005de2e8 1148 -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \
35428fb6 1149 -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \
005de2e8
LC
1150 -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \
1151 -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \
1152 -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \
1153 -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \
1154 -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \
1155 -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \
1156 -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \
1157 -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \
1158 -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \
1159 -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \
1160 -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \
35428fb6 1161 -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \
005de2e8 1162 -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \
35428fb6 1163 -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \
005de2e8
LC
1164 -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \
1165 -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \
1166 -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \
35428fb6
LC
1167 -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \
1168 -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \
1169 -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \
3d458a81
AW
1170 -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \
1171 -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \
1172 -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \
1173 -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \
35428fb6 1174 -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \
3d458a81 1175 -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \
35428fb6
LC
1176 -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \
1177 -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \
3d458a81 1178 -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \
35428fb6 1179 -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \
3d458a81 1180 -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \
35428fb6 1181 -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \
3d458a81
AW
1182 -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \
1183 -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \
1184 -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \
005de2e8 1185 | \
35428fb6
LC
1186 sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
1187 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
1188 -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
2e65b52f 1189 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
35428fb6 1190 -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
2e65b52f 1191 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
35428fb6 1192 -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
005de2e8
LC
1193 -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
1194 -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
1195 -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
35428fb6 1196 -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
35428fb6
LC
1197 -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
1198 -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
2e65b52f 1199 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
35428fb6
LC
1200 -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
1201 -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
2e65b52f 1202 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
005de2e8
LC
1203 -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
1204 -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
35428fb6 1205 -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
005de2e8 1206 -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
7f1ea859
LC
1207 -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
1208 -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
1209 -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
35428fb6 1210 -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
005de2e8 1211 -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
35428fb6 1212 -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
005de2e8
LC
1213 -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
1214 -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
1215 -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
1216 -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
1217 -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
2e65b52f
LC
1218 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1219 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1220 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
35428fb6
LC
1221 -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
1222 -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
2e65b52f 1223 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
35428fb6 1224 -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
005de2e8
LC
1225 -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
1226 -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
1227 -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
1228 -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
1229 -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
1230 -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
35428fb6 1231 -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
005de2e8 1232 -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
35428fb6 1233 -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
005de2e8
LC
1234 -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
1235 -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
35428fb6 1236 -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
35428fb6
LC
1237 -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
1238 -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
2e65b52f 1239 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
35428fb6
LC
1240 -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
1241 -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
2e65b52f 1242 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
35428fb6 1243 -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
2e65b52f 1244 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
35428fb6 1245 -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
2e65b52f
LC
1246 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1247 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1248 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
005de2e8
LC
1249 -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1250 -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
2e65b52f
LC
1251 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1252 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
005de2e8 1253 -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
2e65b52f
LC
1254 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1255 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
005de2e8
LC
1256 -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1257 -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1258 -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1259 -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
2e65b52f
LC
1260 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1261 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1262 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1263 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
2e65b52f 1264 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
005de2e8
LC
1265 -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1266 -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1267 -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1268 -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1269 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1270 -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1271 -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1272 -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
2e65b52f
LC
1273 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1274 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1275 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1276 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1277 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1278 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1279 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1280 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1281 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
49114fd4 1282 | \
005de2e8
LC
1283 sed -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
1284 -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1285 -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
2e65b52f
LC
1286 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1287 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
005de2e8
LC
1288 -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1289 -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1290 -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1291 -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1292 -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
49114fd4 1293 -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
2e65b52f
LC
1294 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1295 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
7f1ea859
LC
1296 -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1297 -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1298 -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
005de2e8
LC
1299 -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1300 -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1301 -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
35428fb6 1302 -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
2e65b52f
LC
1303 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1304 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1305 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
005de2e8
LC
1306 -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1307 -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1308 -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1309 -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1310 -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
2e65b52f
LC
1311 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1312 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1313 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
35428fb6 1314 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
2e65b52f 1315 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
005de2e8
LC
1316 -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1317 -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1318 -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1319 -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1320 -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1321 -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1322 -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1323 -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1324 -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1325 -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1326 -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1327 -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1328 -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1329 -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1330 -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1331 -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1332 -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1333 -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
2e65b52f 1334 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
005de2e8
LC
1335 -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1336 -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1337 -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
2e65b52f
LC
1338 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1339 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1340 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1341 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1342 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
005de2e8 1343 -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
49114fd4
LC
1344 -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1345 -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
2e65b52f
LC
1346 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1347 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1348 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 1349 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2e65b52f
LC
1350 } > $@-t && \
1351 mv $@-t $@
1352MOSTLYCLEANFILES += math.h math.h-t
1353
1354EXTRA_DIST += math.in.h
1355
1356## end gnulib module math
1357
eb4a14ed
LC
1358## begin gnulib module mbrtowc
1359
1360
1361EXTRA_DIST += mbrtowc.c
1362
1363EXTRA_libgnu_la_SOURCES += mbrtowc.c
1364
1365## end gnulib module mbrtowc
1366
1367## begin gnulib module mbsinit
1368
1369
1370EXTRA_DIST += mbsinit.c
1371
1372EXTRA_libgnu_la_SOURCES += mbsinit.c
1373
1374## end gnulib module mbsinit
1375
1376## begin gnulib module mbtowc
1377
1378
1379EXTRA_DIST += mbtowc-impl.h mbtowc.c
1380
1381EXTRA_libgnu_la_SOURCES += mbtowc.c
1382
1383## end gnulib module mbtowc
1384
c4b681fd
LC
1385## begin gnulib module memchr
1386
1387
1388EXTRA_DIST += memchr.c memchr.valgrind
1389
1390EXTRA_libgnu_la_SOURCES += memchr.c
1391
1392## end gnulib module memchr
1393
35428fb6
LC
1394## begin gnulib module msvc-inval
1395
1396
1397EXTRA_DIST += msvc-inval.c msvc-inval.h
1398
1399EXTRA_libgnu_la_SOURCES += msvc-inval.c
1400
1401## end gnulib module msvc-inval
1402
1403## begin gnulib module msvc-nothrow
1404
1405
1406EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
1407
1408EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
1409
1410## end gnulib module msvc-nothrow
1411
61cd9dc9
LC
1412## begin gnulib module netdb
1413
a927b6c1 1414BUILT_SOURCES += netdb.h
61cd9dc9
LC
1415
1416# We need the following in order to create <netdb.h> when the system
1417# doesn't have one that works with the given compiler.
3d458a81 1418netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
61cd9dc9
LC
1419 $(AM_V_GEN)rm -f $@-t $@ && \
1420 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1421 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1422 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
61cd9dc9 1423 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1424 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
61cd9dc9
LC
1425 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
1426 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
3d458a81 1427 -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \
61cd9dc9
LC
1428 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
1429 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
1430 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
1431 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
1432 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
3d458a81
AW
1433 -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
1434 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
61cd9dc9 1435 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
a927b6c1 1436 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
61cd9dc9
LC
1437 < $(srcdir)/netdb.in.h; \
1438 } > $@-t && \
1439 mv $@-t $@
1440MOSTLYCLEANFILES += netdb.h netdb.h-t
1441
1442EXTRA_DIST += netdb.in.h
1443
1444## end gnulib module netdb
1445
8912421c
LC
1446## begin gnulib module netinet_in
1447
1448BUILT_SOURCES += $(NETINET_IN_H)
1449
1450# We need the following in order to create <netinet/in.h> when the system
1451# doesn't have one.
dd7d0148
LC
1452if GL_GENERATE_NETINET_IN_H
1453netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
8912421c
LC
1454 $(AM_V_at)$(MKDIR_P) netinet
1455 $(AM_V_GEN)rm -f $@-t $@ && \
1456 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
1457 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1458 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1459 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1460 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1461 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1462 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1463 < $(srcdir)/netinet_in.in.h; \
1464 } > $@-t && \
1465 mv $@-t $@
dd7d0148
LC
1466else
1467netinet/in.h: $(top_builddir)/config.status
1468 rm -f $@
1469endif
8912421c
LC
1470MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1471MOSTLYCLEANDIRS += netinet
1472
1473EXTRA_DIST += netinet_in.in.h
1474
1475## end gnulib module netinet_in
1476
eb4a14ed
LC
1477## begin gnulib module nl_langinfo
1478
1479
1480EXTRA_DIST += nl_langinfo.c
1481
1482EXTRA_libgnu_la_SOURCES += nl_langinfo.c
1483
1484## end gnulib module nl_langinfo
1485
0f00f2c3
LC
1486## begin gnulib module nproc
1487
1488libgnu_la_SOURCES += nproc.c
1489
1490EXTRA_DIST += nproc.h
1491
1492## end gnulib module nproc
1493
3d458a81
AW
1494## begin gnulib module open
1495
1496
1497EXTRA_DIST += open.c
1498
1499EXTRA_libgnu_la_SOURCES += open.c
1500
1501## end gnulib module open
1502
ffca4c22
AW
1503## begin gnulib module pathmax
1504
1505
1506EXTRA_DIST += pathmax.h
1507
1508## end gnulib module pathmax
1509
1adba49a
AW
1510## begin gnulib module pipe-posix
1511
1512
1513EXTRA_DIST += pipe.c
1514
1515EXTRA_libgnu_la_SOURCES += pipe.c
1516
1517## end gnulib module pipe-posix
1518
3d458a81
AW
1519## begin gnulib module pipe2
1520
1521libgnu_la_SOURCES += pipe2.c
1522
1523## end gnulib module pipe2
1524
428f9e95
JE
1525## begin gnulib module poll
1526
1527
1528EXTRA_DIST += poll.c
1529
1530EXTRA_libgnu_la_SOURCES += poll.c
1531
1532## end gnulib module poll
1533
1534## begin gnulib module poll-h
1535
1536BUILT_SOURCES += poll.h
1537
1538# We need the following in order to create <poll.h> when the system
1539# doesn't have one.
1540poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1541 $(AM_V_GEN)rm -f $@-t $@ && \
1542 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1543 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1544 -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
1545 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1546 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1547 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1548 -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \
1549 -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \
1550 -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \
1551 -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \
1552 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1553 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1554 < $(srcdir)/poll.in.h; \
1555 } > $@-t && \
1556 mv -f $@-t $@
1557MOSTLYCLEANFILES += poll.h poll.h-t
1558
1559EXTRA_DIST += poll.in.h
1560
1561## end gnulib module poll-h
1562
f240aacb
LC
1563## begin gnulib module putenv
1564
1565
1566EXTRA_DIST += putenv.c
1567
1568EXTRA_libgnu_la_SOURCES += putenv.c
1569
1570## end gnulib module putenv
1571
35428fb6
LC
1572## begin gnulib module raise
1573
1574
1575EXTRA_DIST += raise.c
1576
1577EXTRA_libgnu_la_SOURCES += raise.c
1578
1579## end gnulib module raise
1580
dd7d0148
LC
1581## begin gnulib module read
1582
1583
1584EXTRA_DIST += read.c
1585
1586EXTRA_libgnu_la_SOURCES += read.c
1587
1588## end gnulib module read
1589
ffca4c22
AW
1590## begin gnulib module readlink
1591
1592
1593EXTRA_DIST += readlink.c
1594
1595EXTRA_libgnu_la_SOURCES += readlink.c
1596
1597## end gnulib module readlink
1598
49114fd4
LC
1599## begin gnulib module recv
1600
1601
1602EXTRA_DIST += recv.c w32sock.h
1603
1604EXTRA_libgnu_la_SOURCES += recv.c
1605
1606## end gnulib module recv
1607
1608## begin gnulib module recvfrom
1609
1610
1611EXTRA_DIST += recvfrom.c w32sock.h
1612
1613EXTRA_libgnu_la_SOURCES += recvfrom.c
1614
1615## end gnulib module recvfrom
1616
eb4a14ed
LC
1617## begin gnulib module regex
1618
1619
1620EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1621
1622EXTRA_libgnu_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1623
1624## end gnulib module regex
1625
a67f2fce
AW
1626## begin gnulib module rename
1627
1628
1629EXTRA_DIST += rename.c
1630
1631EXTRA_libgnu_la_SOURCES += rename.c
1632
1633## end gnulib module rename
1634
1635## begin gnulib module rmdir
1636
1637
1638EXTRA_DIST += rmdir.c
1639
1640EXTRA_libgnu_la_SOURCES += rmdir.c
1641
1642## end gnulib module rmdir
1643
005de2e8
LC
1644## begin gnulib module round
1645
1646
1647EXTRA_DIST += round.c
1648
1649EXTRA_libgnu_la_SOURCES += round.c
1650
1651## end gnulib module round
1652
9b36a80c
LC
1653## begin gnulib module safe-read
1654
3d458a81 1655libgnu_la_SOURCES += safe-read.c
9b36a80c 1656
3d458a81 1657EXTRA_DIST += safe-read.h
9b36a80c
LC
1658
1659## end gnulib module safe-read
1660
1661## begin gnulib module safe-write
1662
3d458a81 1663libgnu_la_SOURCES += safe-write.c
9b36a80c 1664
3d458a81 1665EXTRA_DIST += safe-read.c safe-write.h
9b36a80c 1666
3d458a81 1667EXTRA_libgnu_la_SOURCES += safe-read.c
9b36a80c
LC
1668
1669## end gnulib module safe-write
1670
a67f2fce
AW
1671## begin gnulib module same-inode
1672
1673
1674EXTRA_DIST += same-inode.h
1675
1676## end gnulib module same-inode
1677
3dac6181
AW
1678## begin gnulib module select
1679
1680
1681EXTRA_DIST += select.c
1682
1683EXTRA_libgnu_la_SOURCES += select.c
1684
1685## end gnulib module select
1686
49114fd4
LC
1687## begin gnulib module send
1688
1689
1690EXTRA_DIST += send.c w32sock.h
1691
1692EXTRA_libgnu_la_SOURCES += send.c
1693
1694## end gnulib module send
1695
1696## begin gnulib module sendto
1697
1698
1699EXTRA_DIST += sendto.c w32sock.h
1700
1701EXTRA_libgnu_la_SOURCES += sendto.c
1702
1703## end gnulib module sendto
1704
40fb4e31
LC
1705## begin gnulib module setenv
1706
1707
1708EXTRA_DIST += setenv.c
1709
1710EXTRA_libgnu_la_SOURCES += setenv.c
1711
1712## end gnulib module setenv
1713
49114fd4
LC
1714## begin gnulib module setsockopt
1715
1716
1717EXTRA_DIST += setsockopt.c w32sock.h
1718
1719EXTRA_libgnu_la_SOURCES += setsockopt.c
1720
1721## end gnulib module setsockopt
1722
1723## begin gnulib module shutdown
1724
1725
1726EXTRA_DIST += shutdown.c w32sock.h
1727
1728EXTRA_libgnu_la_SOURCES += shutdown.c
1729
1730## end gnulib module shutdown
1731
35428fb6
LC
1732## begin gnulib module signal-h
1733
1734BUILT_SOURCES += signal.h
1735
1736# We need the following in order to create <signal.h> when the system
1737# doesn't have a complete one.
1738signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1739 $(AM_V_GEN)rm -f $@-t $@ && \
1740 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1741 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1742 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1743 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1744 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1745 -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1746 -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
1747 -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
1748 -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
1749 -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
1750 -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
1751 -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1752 -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
1753 -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
1754 -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1755 -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1756 -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1757 -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1758 -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1759 -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
1760 -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
1761 -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
1762 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1763 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1764 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1765 < $(srcdir)/signal.in.h; \
1766 } > $@-t && \
1767 mv $@-t $@
1768MOSTLYCLEANFILES += signal.h signal.h-t
1769
1770EXTRA_DIST += signal.in.h
1771
1772## end gnulib module signal-h
1773
8ba56748
MW
1774## begin gnulib module signbit
1775
1776
1777EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
1778
1779EXTRA_libgnu_la_SOURCES += signbitd.c signbitf.c signbitl.c
1780
1781## end gnulib module signbit
1782
c4b681fd
LC
1783## begin gnulib module size_max
1784
1785libgnu_la_SOURCES += size_max.h
1786
1787## end gnulib module size_max
1788
35428fb6
LC
1789## begin gnulib module snippet/_Noreturn
1790
1791# Because this Makefile snippet defines a variable used by other
1792# gnulib Makefile snippets, it must be present in all Makefile.am that
1793# need it. This is ensured by the applicability 'all' defined above.
1794
1795_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
1796
1797EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
1798
1799## end gnulib module snippet/_Noreturn
1800
1801## begin gnulib module snippet/arg-nonnull
1802
1803# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1804# statements but through direct file reference. Therefore this snippet must be
1805# present in all Makefile.am that need it. This is ensured by the applicability
1806# 'all' defined above.
1807
1808BUILT_SOURCES += arg-nonnull.h
1809# The arg-nonnull.h that gets inserted into generated .h files is the same as
1810# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
1811# off.
1812arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1813 $(AM_V_GEN)rm -f $@-t $@ && \
1814 sed -n -e '/GL_ARG_NONNULL/,$$p' \
1815 < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
1816 > $@-t && \
1817 mv $@-t $@
1818MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
1819
1820ARG_NONNULL_H=arg-nonnull.h
1821
1822EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
1823
1824## end gnulib module snippet/arg-nonnull
1825
1826## begin gnulib module snippet/c++defs
1827
1828# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1829# statements but through direct file reference. Therefore this snippet must be
1830# present in all Makefile.am that need it. This is ensured by the applicability
1831# 'all' defined above.
1832
1833BUILT_SOURCES += c++defs.h
1834# The c++defs.h that gets inserted into generated .h files is the same as
1835# build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
1836c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
1837 $(AM_V_GEN)rm -f $@-t $@ && \
1838 sed -n -e '/_GL_CXXDEFS/,$$p' \
1839 < $(top_srcdir)/build-aux/snippet/c++defs.h \
1840 > $@-t && \
1841 mv $@-t $@
1842MOSTLYCLEANFILES += c++defs.h c++defs.h-t
1843
1844CXXDEFS_H=c++defs.h
1845
1846EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
1847
1848## end gnulib module snippet/c++defs
1849
1850## begin gnulib module snippet/unused-parameter
1851
1852# The BUILT_SOURCES created by this Makefile snippet are not used via #include
1853# statements but through direct file reference. Therefore this snippet must be
1854# present in all Makefile.am that need it. This is ensured by the applicability
1855# 'all' defined above.
1856
1857BUILT_SOURCES += unused-parameter.h
1858# The unused-parameter.h that gets inserted into generated .h files is the same
1859# as build-aux/snippet/unused-parameter.h, except that it has the copyright
1860# header cut off.
1861unused-parameter.h: $(top_srcdir)/build-aux/snippet/unused-parameter.h
1862 $(AM_V_GEN)rm -f $@-t $@ && \
1863 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
1864 < $(top_srcdir)/build-aux/snippet/unused-parameter.h \
1865 > $@-t && \
1866 mv $@-t $@
1867MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
1868
1869UNUSED_PARAMETER_H=unused-parameter.h
1870
1871EXTRA_DIST += $(top_srcdir)/build-aux/snippet/unused-parameter.h
1872
1873## end gnulib module snippet/unused-parameter
1874
1875## begin gnulib module snippet/warn-on-use
1876
1877BUILT_SOURCES += warn-on-use.h
1878# The warn-on-use.h that gets inserted into generated .h files is the same as
1879# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
1880# off.
1881warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
1882 $(AM_V_GEN)rm -f $@-t $@ && \
1883 sed -n -e '/^.ifndef/,$$p' \
1884 < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
1885 > $@-t && \
1886 mv $@-t $@
1887MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1888
1889WARN_ON_USE_H=warn-on-use.h
1890
1891EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
1892
1893## end gnulib module snippet/warn-on-use
1894
61cd9dc9
LC
1895## begin gnulib module snprintf
1896
1897
1898EXTRA_DIST += snprintf.c
1899
1900EXTRA_libgnu_la_SOURCES += snprintf.c
1901
1902## end gnulib module snprintf
1903
49114fd4
LC
1904## begin gnulib module socket
1905
1906
1907EXTRA_DIST += socket.c w32sock.h
1908
1909EXTRA_libgnu_la_SOURCES += socket.c
1910
1911## end gnulib module socket
1912
0f00f2c3
LC
1913## begin gnulib module sockets
1914
1915libgnu_la_SOURCES += sockets.h sockets.c
1916
1917EXTRA_DIST += w32sock.h
1918
1919## end gnulib module sockets
1920
8912421c
LC
1921## begin gnulib module stat
1922
1923
1924EXTRA_DIST += stat.c
1925
1926EXTRA_libgnu_la_SOURCES += stat.c
1927
1928## end gnulib module stat
1929
9157d901
LC
1930## begin gnulib module stat-time
1931
7ae4e75a 1932libgnu_la_SOURCES += stat-time.c
9157d901
LC
1933
1934EXTRA_DIST += stat-time.h
1935
1936## end gnulib module stat-time
1937
7f1ea859
LC
1938## begin gnulib module stdalign
1939
1940BUILT_SOURCES += $(STDALIGN_H)
1941
1942# We need the following in order to create <stdalign.h> when the system
1943# doesn't have one that works.
1944if GL_GENERATE_STDALIGN_H
1945stdalign.h: stdalign.in.h $(top_builddir)/config.status
1946 $(AM_V_GEN)rm -f $@-t $@ && \
1947 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1948 cat $(srcdir)/stdalign.in.h; \
1949 } > $@-t && \
1950 mv $@-t $@
1951else
1952stdalign.h: $(top_builddir)/config.status
1953 rm -f $@
1954endif
1955MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1956
1957EXTRA_DIST += stdalign.in.h
1958
1959## end gnulib module stdalign
1960
e65fc94b
LC
1961## begin gnulib module stdbool
1962
1963BUILT_SOURCES += $(STDBOOL_H)
1964
1965# We need the following in order to create <stdbool.h> when the system
1966# doesn't have one that works.
dd7d0148
LC
1967if GL_GENERATE_STDBOOL_H
1968stdbool.h: stdbool.in.h $(top_builddir)/config.status
8912421c 1969 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b
LC
1970 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1971 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
8912421c 1972 } > $@-t && \
e65fc94b 1973 mv $@-t $@
dd7d0148
LC
1974else
1975stdbool.h: $(top_builddir)/config.status
1976 rm -f $@
1977endif
e65fc94b
LC
1978MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1979
1980EXTRA_DIST += stdbool.in.h
1981
1982## end gnulib module stdbool
1983
8912421c
LC
1984## begin gnulib module stddef
1985
1986BUILT_SOURCES += $(STDDEF_H)
1987
1988# We need the following in order to create <stddef.h> when the system
1989# doesn't have one that works with the given compiler.
dd7d0148
LC
1990if GL_GENERATE_STDDEF_H
1991stddef.h: stddef.in.h $(top_builddir)/config.status
8912421c
LC
1992 $(AM_V_GEN)rm -f $@-t $@ && \
1993 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
1994 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1995 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 1996 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 1997 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
1998 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1999 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
2000 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
2001 < $(srcdir)/stddef.in.h; \
2002 } > $@-t && \
2003 mv $@-t $@
dd7d0148
LC
2004else
2005stddef.h: $(top_builddir)/config.status
2006 rm -f $@
2007endif
8912421c
LC
2008MOSTLYCLEANFILES += stddef.h stddef.h-t
2009
2010EXTRA_DIST += stddef.in.h
2011
2012## end gnulib module stddef
2013
f240aacb
LC
2014## begin gnulib module stdint
2015
2016BUILT_SOURCES += $(STDINT_H)
2017
2018# We need the following in order to create <stdint.h> when the system
2019# doesn't have one that works with the given compiler.
dd7d0148
LC
2020if GL_GENERATE_STDINT_H
2021stdint.h: stdint.in.h $(top_builddir)/config.status
8912421c 2022 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 2023 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2024 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2025 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
f240aacb
LC
2026 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2027 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2028 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
2029 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
2030 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
2031 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
2032 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
2033 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
dd36ce77 2034 -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
f240aacb
LC
2035 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
2036 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
2037 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
2038 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
2039 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
2040 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
2041 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
2042 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
2043 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
2044 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
2045 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
2046 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
2047 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
2048 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
2049 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
2050 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
2051 < $(srcdir)/stdint.in.h; \
8912421c 2052 } > $@-t && \
f240aacb 2053 mv $@-t $@
dd7d0148
LC
2054else
2055stdint.h: $(top_builddir)/config.status
2056 rm -f $@
2057endif
f240aacb
LC
2058MOSTLYCLEANFILES += stdint.h stdint.h-t
2059
2060EXTRA_DIST += stdint.in.h
2061
2062## end gnulib module stdint
2063
c4b681fd
LC
2064## begin gnulib module stdio
2065
2066BUILT_SOURCES += stdio.h
2067
2068# We need the following in order to create <stdio.h> when the system
2069# doesn't have one that works with the given compiler.
dd7d0148 2070stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2071 $(AM_V_GEN)rm -f $@-t $@ && \
c4b681fd 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' \
c4b681fd 2075 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2076 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
c4b681fd 2077 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
3d458a81
AW
2078 -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
2079 -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
35428fb6 2080 -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
3d458a81
AW
2081 -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
2082 -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
2083 -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
2084 -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
2085 -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
2086 -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
2087 -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
2088 -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
2089 -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
2090 -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
2091 -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
2092 -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
2093 -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
2094 -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
2095 -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
2096 -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
2097 -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
2098 -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
2099 -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
2100 -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
2101 -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
3d458a81
AW
2102 -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
2103 -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
35428fb6 2104 -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
3d458a81
AW
2105 -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
2106 -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
2107 -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
2108 -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
2109 -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
2110 -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
2111 -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
2112 -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
2113 -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
2114 -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
2115 -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
2116 -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
2117 -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
2118 -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
2119 -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
2120 -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
2121 -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
2122 -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
2123 -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
2124 -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
2125 -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
2126 -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
2127 -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
2128 -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
2129 -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
2130 -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
61cd9dc9
LC
2131 < $(srcdir)/stdio.in.h | \
2132 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
ab4d62ad
LC
2133 -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
2134 -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
8912421c
LC
2135 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
2136 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
2137 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
c4b681fd 2138 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
c4b681fd 2139 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
c4b681fd 2140 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
a927b6c1
LC
2141 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
2142 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
35428fb6
LC
2143 -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
2144 -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
8912421c 2145 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
c4b681fd 2146 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
8912421c
LC
2147 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
2148 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
2149 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
35428fb6 2150 -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
8912421c 2151 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
c4b681fd 2152 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
8912421c
LC
2153 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
2154 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
c4b681fd 2155 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
c4b681fd 2156 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
8912421c 2157 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
c4b681fd 2158 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
8912421c 2159 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
61cd9dc9 2160 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
c4b681fd 2161 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
8912421c 2162 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
c4b681fd 2163 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
8912421c
LC
2164 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
2165 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
2166 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
2167 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
2168 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
2169 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
2170 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
dd7d0148 2171 -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
8912421c 2172 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
a927b6c1 2173 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
8912421c
LC
2174 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
2175 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
2176 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
2177 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
2178 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
2179 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
a927b6c1 2180 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
f4c79b3c 2181 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2182 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2183 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2184 } > $@-t && \
c4b681fd
LC
2185 mv $@-t $@
2186MOSTLYCLEANFILES += stdio.h stdio.h-t
2187
dd36ce77 2188EXTRA_DIST += stdio.in.h
c4b681fd
LC
2189
2190## end gnulib module stdio
2191
f240aacb
LC
2192## begin gnulib module stdlib
2193
2194BUILT_SOURCES += stdlib.h
2195
2196# We need the following in order to create <stdlib.h> when the system
2197# doesn't have one that works with the given compiler.
35428fb6
LC
2198stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
2199 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2200 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 2201 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
2202 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2203 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
f240aacb 2204 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2205 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb 2206 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
3d458a81
AW
2207 -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
2208 -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
2209 -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
2210 -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
2211 -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
2212 -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
2213 -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
2214 -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
2215 -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
2216 -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
2217 -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
2218 -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
2219 -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
2220 -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
35428fb6 2221 -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
3d458a81 2222 -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
7f1ea859 2223 -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
3d458a81 2224 -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
f0007cad 2225 -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
3d458a81
AW
2226 -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
2227 -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
2228 -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
2229 -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
af07e104 2230 -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
3d458a81
AW
2231 -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
2232 -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
2233 -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
2234 -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
2235 -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
2236 -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
2237 -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
2238 -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
49114fd4
LC
2239 < $(srcdir)/stdlib.in.h | \
2240 sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
f240aacb 2241 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
8912421c
LC
2242 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
2243 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
f240aacb 2244 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
a927b6c1 2245 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
f240aacb 2246 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
8912421c 2247 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
f29ded4b 2248 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
a927b6c1 2249 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
f29ded4b 2250 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
35428fb6 2251 -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
a927b6c1 2252 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
7f1ea859 2253 -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
f0007cad 2254 -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
8912421c 2255 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
f240aacb 2256 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
8912421c 2257 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
f240aacb 2258 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
af07e104 2259 -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
ab4d62ad 2260 -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
f240aacb
LC
2261 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
2262 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
2263 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
2264 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
2265 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
a927b6c1 2266 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
ab4d62ad 2267 -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
9157d901 2268 -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
8912421c 2269 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
9157d901 2270 -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
dd36ce77 2271 -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
f240aacb 2272 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
7ae4e75a 2273 -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
7f1ea859 2274 -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
f240aacb 2275 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
f0007cad 2276 -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
9157d901 2277 -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
8912421c 2278 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
4f02b98d 2279 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
f240aacb 2280 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
4f02b98d 2281 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
dd36ce77 2282 -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
f4c79b3c 2283 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
35428fb6 2284 -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1cd4fffc 2285 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 2286 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2287 } > $@-t && \
f240aacb
LC
2288 mv $@-t $@
2289MOSTLYCLEANFILES += stdlib.h stdlib.h-t
2290
2291EXTRA_DIST += stdlib.in.h
2292
2293## end gnulib module stdlib
2294
eb4a14ed
LC
2295## begin gnulib module streq
2296
2297
2298EXTRA_DIST += streq.h
2299
2300## end gnulib module streq
2301
e65fc94b
LC
2302## begin gnulib module strftime
2303
3d458a81 2304libgnu_la_SOURCES += strftime.c
e65fc94b 2305
3d458a81 2306EXTRA_DIST += strftime.h
e65fc94b
LC
2307
2308## end gnulib module strftime
2309
24d56127
LC
2310## begin gnulib module striconveh
2311
2312libgnu_la_SOURCES += striconveh.h striconveh.c
2313if GL_COND_LIBTOOL
2314libgnu_la_LDFLAGS += $(LTLIBICONV)
2315endif
2316
2317EXTRA_DIST += iconveh.h
2318
2319## end gnulib module striconveh
2320
2321## begin gnulib module string
2322
2323BUILT_SOURCES += string.h
2324
2325# We need the following in order to create <string.h> when the system
2326# doesn't have one that works with the given compiler.
dd7d0148 2327string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2328 $(AM_V_GEN)rm -f $@-t $@ && \
24d56127 2329 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
2330 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2331 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24d56127 2332 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2333 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
24d56127 2334 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
35428fb6
LC
2335 -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
2336 -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
3d458a81
AW
2337 -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
2338 -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
2339 -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
2340 -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
2341 -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
2342 -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
2343 -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
2344 -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
2345 -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
2346 -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
2347 -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
2348 -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
2349 -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
2350 -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
2351 -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
2352 -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
2353 -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
2354 -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
2355 -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
2356 -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
2357 -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
2358 -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
2359 -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
2360 -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
2361 -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
2362 -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
2363 -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
2364 -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
2365 -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
2366 -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
2367 -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
2368 -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
2369 -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
2370 -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
2371 -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
61cd9dc9 2372 < $(srcdir)/string.in.h | \
35428fb6
LC
2373 sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
2374 -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2375 -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
a927b6c1 2376 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
24d56127
LC
2377 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2378 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2379 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
2380 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
2381 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2382 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2383 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2384 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
24d56127
LC
2385 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2386 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2387 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2388 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2389 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2390 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
0f00f2c3 2391 -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
24d56127
LC
2392 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
2393 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
a927b6c1 2394 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
ffca4c22 2395 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
24d56127
LC
2396 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
2397 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
dd7d0148 2398 -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
24d56127
LC
2399 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
2400 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
2401 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
0f00f2c3 2402 -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
a927b6c1 2403 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
8912421c 2404 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
a927b6c1 2405 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
24d56127 2406 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
8912421c
LC
2407 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
2408 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
f4c79b3c 2409 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2410 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2411 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
24d56127 2412 < $(srcdir)/string.in.h; \
8912421c 2413 } > $@-t && \
24d56127
LC
2414 mv $@-t $@
2415MOSTLYCLEANFILES += string.h string.h-t
2416
2417EXTRA_DIST += string.in.h
2418
2419## end gnulib module string
2420
f240aacb
LC
2421## begin gnulib module sys_file
2422
61cd9dc9 2423BUILT_SOURCES += sys/file.h
f240aacb
LC
2424
2425# We need the following in order to create <sys/file.h> when the system
2426# has one that is incomplete.
dd7d0148 2427sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
8912421c
LC
2428 $(AM_V_at)$(MKDIR_P) sys
2429 $(AM_V_GEN)rm -f $@-t $@ && \
f240aacb 2430 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2431 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2432 -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
f240aacb
LC
2433 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2434 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2435 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f240aacb
LC
2436 -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
2437 -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
2438 -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
61cd9dc9 2439 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
f240aacb 2440 < $(srcdir)/sys_file.in.h; \
8912421c 2441 } > $@-t && \
f240aacb
LC
2442 mv $@-t $@
2443MOSTLYCLEANFILES += sys/file.h sys/file.h-t
2444MOSTLYCLEANDIRS += sys
2445
2446EXTRA_DIST += sys_file.in.h
2447
2448## end gnulib module sys_file
2449
3dac6181
AW
2450## begin gnulib module sys_select
2451
2452BUILT_SOURCES += sys/select.h
2453
2454# We need the following in order to create <sys/select.h> when the system
2455# doesn't have one that works with the given compiler.
2456sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2457 $(AM_V_at)$(MKDIR_P) sys
2458 $(AM_V_GEN)rm -f $@-t $@ && \
2459 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2460 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2461 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2462 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2463 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2464 -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
2465 -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
2466 -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
2467 -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
2468 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2469 -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
2470 -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
2471 -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
2472 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2473 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2474 < $(srcdir)/sys_select.in.h; \
2475 } > $@-t && \
2476 mv $@-t $@
2477MOSTLYCLEANFILES += sys/select.h sys/select.h-t
2478MOSTLYCLEANDIRS += sys
2479
2480EXTRA_DIST += sys_select.in.h
2481
2482## end gnulib module sys_select
2483
8912421c
LC
2484## begin gnulib module sys_socket
2485
61cd9dc9 2486BUILT_SOURCES += sys/socket.h
af07e104 2487libgnu_la_SOURCES += sys_socket.c
8912421c
LC
2488
2489# We need the following in order to create <sys/socket.h> when the system
2490# doesn't have one that works with the given compiler.
dd7d0148 2491sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
8912421c
LC
2492 $(AM_V_at)$(MKDIR_P) sys
2493 $(AM_V_GEN)rm -f $@-t $@ && \
2494 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2495 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2496 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 2497 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2498 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c
LC
2499 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
2500 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
3d458a81
AW
2501 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
2502 -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \
2503 -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \
2504 -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \
2505 -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \
2506 -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \
2507 -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \
2508 -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \
2509 -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \
2510 -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \
2511 -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \
2512 -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \
2513 -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \
2514 -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \
2515 -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \
2516 -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \
8912421c
LC
2517 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2518 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
2519 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
0f00f2c3 2520 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
8912421c
LC
2521 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
2522 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
f4c79b3c 2523 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2524 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2525 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
2526 < $(srcdir)/sys_socket.in.h; \
2527 } > $@-t && \
2528 mv -f $@-t $@
2529MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
2530MOSTLYCLEANDIRS += sys
2531
2532EXTRA_DIST += sys_socket.in.h
2533
2534## end gnulib module sys_socket
2535
2536## begin gnulib module sys_stat
2537
2538BUILT_SOURCES += sys/stat.h
2539
2540# We need the following in order to create <sys/stat.h> when the system
2541# has one that is incomplete.
dd7d0148 2542sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c
LC
2543 $(AM_V_at)$(MKDIR_P) sys
2544 $(AM_V_GEN)rm -f $@-t $@ && \
2545 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2546 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2547 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
8912421c 2548 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2549 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
8912421c 2550 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
005de2e8 2551 -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
3d458a81 2552 -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
35428fb6 2553 -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
3d458a81
AW
2554 -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
2555 -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
2556 -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
2557 -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
2558 -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
2559 -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
2560 -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
2561 -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
2562 -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
2563 -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
2564 -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
8912421c
LC
2565 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2566 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2567 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2568 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2569 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2570 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
f29ded4b 2571 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
8912421c 2572 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
f29ded4b 2573 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
8912421c
LC
2574 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2575 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2576 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2577 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2578 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2579 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2580 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
f29ded4b
LC
2581 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2582 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
8912421c
LC
2583 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2584 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
f4c79b3c 2585 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2586 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2587 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
8912421c
LC
2588 < $(srcdir)/sys_stat.in.h; \
2589 } > $@-t && \
2590 mv $@-t $@
2591MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2592MOSTLYCLEANDIRS += sys
2593
2594EXTRA_DIST += sys_stat.in.h
2595
2596## end gnulib module sys_stat
2597
49114fd4
LC
2598## begin gnulib module sys_time
2599
2600BUILT_SOURCES += sys/time.h
2601
2602# We need the following in order to create <sys/time.h> when the system
2603# doesn't have one that works with the given compiler.
dd7d0148 2604sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
49114fd4
LC
2605 $(AM_V_at)$(MKDIR_P) sys
2606 $(AM_V_GEN)rm -f $@-t $@ && \
2607 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2608 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2609 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
49114fd4
LC
2610 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2611 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2612 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2613 -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
2614 -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
35428fb6 2615 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
49114fd4
LC
2616 -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
2617 -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
2618 -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
005de2e8 2619 -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
49114fd4
LC
2620 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2621 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2622 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2623 < $(srcdir)/sys_time.in.h; \
2624 } > $@-t && \
2625 mv $@-t $@
2626MOSTLYCLEANFILES += sys/time.h sys/time.h-t
2627
2628EXTRA_DIST += sys_time.in.h
2629
2630## end gnulib module sys_time
2631
84ebfef4
AW
2632## begin gnulib module sys_times
2633
2634BUILT_SOURCES += sys/times.h
2635
2636# We need the following in order to create <sys/times.h> when the system
2637# doesn't have one that works with the given compiler.
2638sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2639 $(AM_V_at)$(MKDIR_P) sys
2640 $(AM_V_GEN)rm -f $@-t $@ && \
2641 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2642 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2643 -e 's/@''HAVE_SYS_TIMES_H''@/$(HAVE_SYS_TIMES_H)/g' \
2644 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2645 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2646 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2647 -e 's|@''NEXT_SYS_TIMES_H''@|$(NEXT_SYS_TIMES_H)|g' \
2648 -e 's/@''GNULIB_TIMES''@/$(GNULIB_TIMES)/g' \
2649 -e 's|@''HAVE_STRUCT_TMS''@|$(HAVE_STRUCT_TMS)|g' \
2650 -e 's|@''HAVE_TIMES''@|$(HAVE_TIMES)|g' \
2651 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2652 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2653 < $(srcdir)/sys_times.in.h; \
2654 } > $@-t && \
2655 mv $@-t $@
2656MOSTLYCLEANFILES += sys/times.h sys/times.h-t
2657MOSTLYCLEANDIRS += sys
2658
2659EXTRA_DIST += sys_times.in.h
2660
2661## end gnulib module sys_times
2662
35428fb6
LC
2663## begin gnulib module sys_types
2664
2665BUILT_SOURCES += sys/types.h
2666
2667# We need the following in order to create <sys/types.h> when the system
2668# doesn't have one that works with the given compiler.
2669sys/types.h: sys_types.in.h $(top_builddir)/config.status
2670 $(AM_V_at)$(MKDIR_P) sys
2671 $(AM_V_GEN)rm -f $@-t $@ && \
2672 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2673 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2674 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2675 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2676 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2677 -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
005de2e8 2678 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
35428fb6
LC
2679 < $(srcdir)/sys_types.in.h; \
2680 } > $@-t && \
2681 mv $@-t $@
2682MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2683
2684EXTRA_DIST += sys_types.in.h
2685
2686## end gnulib module sys_types
2687
dd7d0148
LC
2688## begin gnulib module sys_uio
2689
2690BUILT_SOURCES += sys/uio.h
2691
2692# We need the following in order to create <sys/uio.h> when the system
2693# doesn't have one that works with the given compiler.
2694sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2695 $(AM_V_at)$(MKDIR_P) sys
2696 $(AM_V_GEN)rm -f $@-t $@ && \
2697 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2698 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2699 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
dd7d0148
LC
2700 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2701 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2702 -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2703 -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2704 < $(srcdir)/sys_uio.in.h; \
2705 } > $@-t && \
2706 mv -f $@-t $@
2707MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2708MOSTLYCLEANDIRS += sys
2709
2710EXTRA_DIST += sys_uio.in.h
2711
2712## end gnulib module sys_uio
2713
e65fc94b
LC
2714## begin gnulib module time
2715
2716BUILT_SOURCES += time.h
2717
2718# We need the following in order to create <time.h> when the system
2719# doesn't have one that works with the given compiler.
dd7d0148 2720time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2721 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 2722 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3d458a81
AW
2723 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2724 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 2725 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2726 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
f4c79b3c 2727 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
3d458a81
AW
2728 -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
2729 -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
2730 -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
2731 -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
2732 -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
49114fd4 2733 -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
a927b6c1
LC
2734 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2735 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2736 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
f4c79b3c
LC
2737 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2738 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2739 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
f4c79b3c 2740 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
6f32e5c7 2741 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
f4c79b3c
LC
2742 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2743 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2744 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2745 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
f4c79b3c 2746 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
e65fc94b 2747 < $(srcdir)/time.in.h; \
8912421c 2748 } > $@-t && \
e65fc94b
LC
2749 mv $@-t $@
2750MOSTLYCLEANFILES += time.h time.h-t
2751
2752EXTRA_DIST += time.in.h
2753
2754## end gnulib module time
2755
2756## begin gnulib module time_r
2757
2758
2759EXTRA_DIST += time_r.c
2760
2761EXTRA_libgnu_la_SOURCES += time_r.c
2762
2763## end gnulib module time_r
2764
84ebfef4
AW
2765## begin gnulib module times
2766
2767
2768EXTRA_DIST += times.c
2769
2770EXTRA_libgnu_la_SOURCES += times.c
2771
2772## end gnulib module times
2773
49114fd4
LC
2774## begin gnulib module trunc
2775
2776
2777EXTRA_DIST += trunc.c
2778
2779EXTRA_libgnu_la_SOURCES += trunc.c
2780
2781## end gnulib module trunc
2782
9b36a80c
LC
2783## begin gnulib module unistd
2784
2785BUILT_SOURCES += unistd.h
af07e104 2786libgnu_la_SOURCES += unistd.c
9b36a80c
LC
2787
2788# We need the following in order to create an empty placeholder for
2789# <unistd.h> when the system doesn't have one.
dd7d0148 2790unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 2791 $(AM_V_GEN)rm -f $@-t $@ && \
9b36a80c 2792 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
2793 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2794 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
9b36a80c
LC
2795 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2796 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3 2797 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
9b36a80c 2798 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
005de2e8 2799 -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
35428fb6 2800 -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
3d458a81
AW
2801 -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
2802 -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
35428fb6 2803 -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
3d458a81
AW
2804 -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
2805 -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
2806 -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
2807 -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
2808 -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
2809 -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
2810 -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
35428fb6 2811 -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
3d458a81
AW
2812 -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
2813 -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
2814 -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
2815 -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
2816 -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
2817 -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
2818 -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
2819 -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
2820 -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
2821 -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
2822 -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
2823 -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
f0007cad 2824 -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
3d458a81
AW
2825 -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
2826 -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
2827 -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
2828 -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
2829 -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
2830 -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
2831 -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
2832 -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
2833 -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
2834 -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
2835 -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
2836 -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
7f1ea859 2837 -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
3d458a81
AW
2838 -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
2839 -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
2840 -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
2841 -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
7f1ea859 2842 -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
3d458a81
AW
2843 -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
2844 -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
2845 -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
2846 -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
2847 -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
2848 -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
61cd9dc9
LC
2849 < $(srcdir)/unistd.in.h | \
2850 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
9b36a80c 2851 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
8912421c 2852 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
9b36a80c 2853 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
8912421c 2854 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
a927b6c1 2855 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
8912421c 2856 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
35428fb6 2857 -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
9b36a80c
LC
2858 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2859 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
9b36a80c 2860 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
f29ded4b 2861 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
9b36a80c 2862 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
61cd9dc9 2863 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
9b36a80c 2864 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
3d458a81 2865 -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
f29ded4b 2866 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
f240aacb 2867 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
8912421c 2868 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
ab4d62ad 2869 -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
8912421c 2870 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1cd4fffc 2871 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
a927b6c1 2872 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
9b36a80c 2873 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8912421c 2874 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
7f1ea859 2875 -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
9b36a80c 2876 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8912421c
LC
2877 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2878 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2879 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
414e4441 2880 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
9b36a80c 2881 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
ab4d62ad 2882 -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
35428fb6 2883 -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
0f00f2c3 2884 -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
9b36a80c 2885 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
a927b6c1
LC
2886 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2887 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
7f1ea859 2888 -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
ab4d62ad 2889 -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
9b36a80c
LC
2890 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2891 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
49114fd4
LC
2892 | \
2893 sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
9b36a80c 2894 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
8912421c 2895 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
25361e4b 2896 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
8912421c 2897 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
005de2e8 2898 -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
9b36a80c 2899 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
0f00f2c3 2900 -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
49114fd4 2901 -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
f29ded4b 2902 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
9b36a80c 2903 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
f0007cad 2904 -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
9b36a80c 2905 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
8912421c
LC
2906 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2907 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
9b36a80c 2908 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1cd4fffc 2909 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
a927b6c1 2910 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
dd7d0148 2911 -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
8912421c
LC
2912 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2913 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
414e4441 2914 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
8912421c 2915 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
a927b6c1 2916 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
8912421c
LC
2917 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2918 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
414e4441 2919 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
9b36a80c
LC
2920 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2921 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
8912421c 2922 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
f4c79b3c 2923 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 2924 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
61cd9dc9 2925 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 2926 } > $@-t && \
9b36a80c
LC
2927 mv $@-t $@
2928MOSTLYCLEANFILES += unistd.h unistd.h-t
2929
2930EXTRA_DIST += unistd.in.h
2931
2932## end gnulib module unistd
2933
24d56127
LC
2934## begin gnulib module unistr/base
2935
a927b6c1 2936BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
24d56127 2937
a927b6c1
LC
2938unistr.h: unistr.in.h
2939 $(AM_V_GEN)rm -f $@-t $@ && \
2940 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2941 cat $(srcdir)/unistr.in.h; \
2942 } > $@-t && \
2943 mv -f $@-t $@
2944MOSTLYCLEANFILES += unistr.h unistr.h-t
2945
2946EXTRA_DIST += unistr.in.h
24d56127
LC
2947
2948## end gnulib module unistr/base
2949
2950## begin gnulib module unistr/u8-mbtouc
2951
6f32e5c7
LC
2952if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC
2953libgnu_la_SOURCES += unistr/u8-mbtouc.c unistr/u8-mbtouc-aux.c
2954endif
24d56127
LC
2955
2956## end gnulib module unistr/u8-mbtouc
2957
2958## begin gnulib module unistr/u8-mbtouc-unsafe
2959
6f32e5c7
LC
2960if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUC_UNSAFE
2961libgnu_la_SOURCES += unistr/u8-mbtouc-unsafe.c unistr/u8-mbtouc-unsafe-aux.c
2962endif
24d56127
LC
2963
2964## end gnulib module unistr/u8-mbtouc-unsafe
2965
2966## begin gnulib module unistr/u8-mbtoucr
2967
6f32e5c7
LC
2968if LIBUNISTRING_COMPILE_UNISTR_U8_MBTOUCR
2969libgnu_la_SOURCES += unistr/u8-mbtoucr.c
2970endif
24d56127
LC
2971
2972## end gnulib module unistr/u8-mbtoucr
2973
2974## begin gnulib module unistr/u8-prev
2975
6f32e5c7
LC
2976if LIBUNISTRING_COMPILE_UNISTR_U8_PREV
2977libgnu_la_SOURCES += unistr/u8-prev.c
2978endif
24d56127
LC
2979
2980## end gnulib module unistr/u8-prev
2981
2982## begin gnulib module unistr/u8-uctomb
2983
6f32e5c7
LC
2984if LIBUNISTRING_COMPILE_UNISTR_U8_UCTOMB
2985libgnu_la_SOURCES += unistr/u8-uctomb.c unistr/u8-uctomb-aux.c
2986endif
24d56127
LC
2987
2988## end gnulib module unistr/u8-uctomb
2989
2990## begin gnulib module unitypes
2991
a927b6c1
LC
2992BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
2993
2994unitypes.h: unitypes.in.h
2995 $(AM_V_GEN)rm -f $@-t $@ && \
2996 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2997 cat $(srcdir)/unitypes.in.h; \
2998 } > $@-t && \
2999 mv -f $@-t $@
3000MOSTLYCLEANFILES += unitypes.h unitypes.h-t
24d56127 3001
a927b6c1 3002EXTRA_DIST += unitypes.in.h
24d56127
LC
3003
3004## end gnulib module unitypes
3005
c84bdaf6
LC
3006## begin gnulib module useless-if-before-free
3007
3008
3009EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
3010
3011## end gnulib module useless-if-before-free
3012
c4b681fd
LC
3013## begin gnulib module vasnprintf
3014
3015
3016EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
3017
3018EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
3019
3020## end gnulib module vasnprintf
3021
c84bdaf6
LC
3022## begin gnulib module vc-list-files
3023
3024
3025EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
3026
3027## end gnulib module vc-list-files
3028
d7014610
LC
3029## begin gnulib module verify
3030
3d458a81
AW
3031
3032EXTRA_DIST += verify.h
d7014610
LC
3033
3034## end gnulib module verify
3035
c4b681fd
LC
3036## begin gnulib module vsnprintf
3037
3038
3039EXTRA_DIST += vsnprintf.c
3040
3041EXTRA_libgnu_la_SOURCES += vsnprintf.c
3042
3043## end gnulib module vsnprintf
3044
e65fc94b
LC
3045## begin gnulib module wchar
3046
61cd9dc9 3047BUILT_SOURCES += wchar.h
e65fc94b
LC
3048
3049# We need the following in order to create <wchar.h> when the system
3050# version does not work standalone.
dd7d0148 3051wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
8912421c 3052 $(AM_V_GEN)rm -f $@-t $@ && \
e65fc94b 3053 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3d458a81
AW
3054 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3055 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
e65fc94b 3056 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
0f00f2c3
LC
3057 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3058 -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
e65fc94b 3059 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
4a462e35 3060 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
3d458a81
AW
3061 -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
3062 -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
3063 -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
3064 -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
3065 -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
3066 -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
3067 -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
3068 -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
3069 -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
3070 -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
3071 -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
3072 -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
3073 -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
3074 -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
3075 -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
3076 -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
3077 -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
3078 -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
3079 -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
3080 -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
3081 -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
3082 -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
3083 -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
3084 -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
3085 -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
3086 -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
3087 -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
3088 -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
3089 -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
3090 -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
3091 -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
3092 -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
3093 -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
3094 -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
3095 -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
3096 -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
3097 -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
3098 -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
3099 -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
49114fd4
LC
3100 < $(srcdir)/wchar.in.h | \
3101 sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
4a462e35
NJ
3102 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
3103 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
3104 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
3105 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
3106 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
3107 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
3108 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
3109 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
3110 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
49114fd4
LC
3111 -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
3112 -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
3113 -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
3114 -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
3115 -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
3116 -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
3117 -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
3118 -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
3119 -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
3120 -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
3121 -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
3122 -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
3123 -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
3124 -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
3125 -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
3126 -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
3127 -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
3128 -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
3129 -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
3130 -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
3131 -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
3132 -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
3133 -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
3134 -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
3135 -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
3136 -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
3137 -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
3138 -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
4a462e35 3139 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
e65fc94b 3140 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
49114fd4
LC
3141 | \
3142 sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
4a462e35
NJ
3143 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
3144 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
3145 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
3146 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
3147 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
3148 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
3149 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
3150 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
3151 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
f240aacb 3152 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
e65fc94b 3153 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
49114fd4 3154 -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
f4c79b3c 3155 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1cd4fffc 3156 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
49114fd4 3157 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
8912421c 3158 } > $@-t && \
e65fc94b
LC
3159 mv $@-t $@
3160MOSTLYCLEANFILES += wchar.h wchar.h-t
3161
3162EXTRA_DIST += wchar.in.h
3163
3164## end gnulib module wchar
3165
eb4a14ed
LC
3166## begin gnulib module wcrtomb
3167
3168
3169EXTRA_DIST += wcrtomb.c
3170
3171EXTRA_libgnu_la_SOURCES += wcrtomb.c
3172
3173## end gnulib module wcrtomb
3174
3175## begin gnulib module wctype-h
3176
3177BUILT_SOURCES += wctype.h
af07e104 3178libgnu_la_SOURCES += wctype-h.c
eb4a14ed
LC
3179
3180# We need the following in order to create <wctype.h> when the system
3181# doesn't have one that works with the given compiler.
3182wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
3183 $(AM_V_GEN)rm -f $@-t $@ && \
3184 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3185 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3186 -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
3187 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
3188 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
3189 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
3190 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
3191 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
3192 -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
3193 -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
3194 -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
3195 -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
3196 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
3197 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
3198 -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
3199 -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
3200 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
3201 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
3202 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
3203 -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
3204 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
3205 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
3206 < $(srcdir)/wctype.in.h; \
3207 } > $@-t && \
3208 mv $@-t $@
3209MOSTLYCLEANFILES += wctype.h wctype.h-t
3210
3211EXTRA_DIST += wctype.in.h
3212
3213## end gnulib module wctype-h
3214
9b36a80c
LC
3215## begin gnulib module write
3216
3217
3218EXTRA_DIST += write.c
103dc4d4 3219
9b36a80c 3220EXTRA_libgnu_la_SOURCES += write.c
103dc4d4 3221
9b36a80c 3222## end gnulib module write
103dc4d4 3223
c4b681fd
LC
3224## begin gnulib module xsize
3225
7ae4e75a 3226libgnu_la_SOURCES += xsize.h xsize.c
c4b681fd
LC
3227
3228## end gnulib module xsize
3229
103dc4d4
LC
3230
3231mostlyclean-local: mostlyclean-generic
3232 @for dir in '' $(MOSTLYCLEANDIRS); do \
3233 if test -n "$$dir" && test -d $$dir; then \
3234 echo "rmdir $$dir"; rmdir $$dir; \
3235 fi; \
3236 done; \
3237 :