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