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