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