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