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