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