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