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