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