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